[svn] / branches / dev-api-3 / xvidcore / src / xvid.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/src/xvid.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 695, Sun Dec 8 05:38:56 2002 UTC revision 701, Mon Dec 9 10:47:05 2002 UTC
# Line 37  Line 37 
37   *  - 22.12.2001  API change: added xvid_init() - Isibaar   *  - 22.12.2001  API change: added xvid_init() - Isibaar
38   *  - 16.12.2001        inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>   *  - 16.12.2001        inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>
39   *   *
40   *  $Id: xvid.c,v 1.33.2.15 2002-12-08 05:38:56 suxen_drol Exp $   *  $Id: xvid.c,v 1.33.2.17 2002-12-09 10:47:05 suxen_drol Exp $
41   *   *
42   ****************************************************************************/   ****************************************************************************/
43    
# Line 237  Line 237 
237    
238          /* reduced resoltuion */          /* reduced resoltuion */
239    
240            copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_C;
241            add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_C;
242  #ifdef ARCH_X86  #ifdef ARCH_X86
243          vfilter_31 = xvid_VFilter_31_x86;          vfilter_31 = xvid_VFilter_31_x86;
244          hfilter_31 = xvid_HFilter_31_x86;          hfilter_31 = xvid_HFilter_31_x86;
245  #else  #else
         copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_C;  
         add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_C;  
246          vfilter_31 = xvid_VFilter_31_C;          vfilter_31 = xvid_VFilter_31_C;
247          hfilter_31 = xvid_HFilter_31_C;          hfilter_31 = xvid_HFilter_31_C;
248  #endif  #endif
249            filter_18x18_to_8x8 = xvid_Filter_18x18_To_8x8_C;
250            filter_diff_18x18_to_8x8 = xvid_Filter_Diff_18x18_To_8x8_C;
251    
252          /* Initialize internal colorspace transformation tables */          /* Initialize internal colorspace transformation tables */
253          colorspace_init();          colorspace_init();
# Line 354  Line 356 
356                  copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_mmx;                  copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_mmx;
357                  add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_mmx;                  add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_mmx;
358                  hfilter_31 = xvid_HFilter_31_mmx;                  hfilter_31 = xvid_HFilter_31_mmx;
359                    filter_18x18_to_8x8 = xvid_Filter_18x18_To_8x8_mmx;
360                    filter_diff_18x18_to_8x8 = xvid_Filter_Diff_18x18_To_8x8_mmx;
361    
362                  /* image input xxx_to_yv12 related functions */                  /* image input xxx_to_yv12 related functions */
363                  yv12_to_yv12  = yv12_to_yv12_mmx;                  yv12_to_yv12  = yv12_to_yv12_mmx;
# Line 509  Line 513 
513  static int  static int
514  xvid_init_convert(XVID_INIT_CONVERTINFO* convert)  xvid_init_convert(XVID_INIT_CONVERTINFO* convert)
515  {  {
516          const int flip1 = (convert->input.colorspace & XVID_CSP_VFLIP) ^ (convert->output.colorspace & XVID_CSP_VFLIP);          // const int flip1 = (convert->input.colorspace & XVID_CSP_VFLIP) ^ (convert->output.colorspace & XVID_CSP_VFLIP);
517          const int width = convert->width;          const int width = convert->width;
518          const int height = convert->height;          const int height = convert->height;
519          const int width2 = convert->width/2;          const int width2 = convert->width/2;

Legend:
Removed from v.695  
changed lines
  Added in v.701

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4