[cvs] / xvidcore / src / xvid.c Repository:
ViewVC logotype

Diff of /xvidcore/src/xvid.c

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

revision 1.45.2.24, Sat Dec 13 00:04:09 2003 UTC revision 1.49, Thu Apr 1 11:11:28 2004 UTC
# Line 3  Line 3 
3   *  XVID MPEG-4 VIDEO CODEC   *  XVID MPEG-4 VIDEO CODEC
4   *  - Native API implementation  -   *  - Native API implementation  -
5   *   *
6   *  Copyright(C) 2001-2003 Peter Ross <pross@xvid.org>   *  Copyright(C) 2001-2004 Peter Ross <pross@xvid.org>
7   *   *
8   *  This program is free software ; you can redistribute it and/or modify   *  This program is free software ; you can redistribute it and/or modify
9   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 171  Line 171 
171          /* Initialize the function pointers */          /* Initialize the function pointers */
172          idct_int32_init();          idct_int32_init();
173          init_vlc_tables();          init_vlc_tables();
         init_postproc();  
174    
175          /* Fixed Point Forward/Inverse DCT transformations */          /* Fixed Point Forward/Inverse DCT transformations */
176          fdct = fdct_int32;          fdct = fdct_int32;
# Line 230  Line 229 
229          interpolate8x8_avg2 = interpolate8x8_avg2_c;          interpolate8x8_avg2 = interpolate8x8_avg2_c;
230          interpolate8x8_avg4 = interpolate8x8_avg4_c;          interpolate8x8_avg4 = interpolate8x8_avg4_c;
231    
232            /* postprocessing */
233            image_brightness = image_brightness_c;
234    
235          /* reduced resolution */          /* reduced resolution */
236          copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_C;          copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_C;
237          add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_C;          add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_C;
# Line 249  Line 251 
251          bgra_to_yv12    = bgra_to_yv12_c;          bgra_to_yv12    = bgra_to_yv12_c;
252          abgr_to_yv12    = abgr_to_yv12_c;          abgr_to_yv12    = abgr_to_yv12_c;
253          rgba_to_yv12    = rgba_to_yv12_c;          rgba_to_yv12    = rgba_to_yv12_c;
254            argb_to_yv12    = argb_to_yv12_c;
255          yuyv_to_yv12    = yuyv_to_yv12_c;          yuyv_to_yv12    = yuyv_to_yv12_c;
256          uyvy_to_yv12    = uyvy_to_yv12_c;          uyvy_to_yv12    = uyvy_to_yv12_c;
257    
# Line 258  Line 261 
261          bgrai_to_yv12   = bgrai_to_yv12_c;          bgrai_to_yv12   = bgrai_to_yv12_c;
262          abgri_to_yv12   = abgri_to_yv12_c;          abgri_to_yv12   = abgri_to_yv12_c;
263          rgbai_to_yv12   = rgbai_to_yv12_c;          rgbai_to_yv12   = rgbai_to_yv12_c;
264            argbi_to_yv12   = argbi_to_yv12_c;
265          yuyvi_to_yv12   = yuyvi_to_yv12_c;          yuyvi_to_yv12   = yuyvi_to_yv12_c;
266          uyvyi_to_yv12   = uyvyi_to_yv12_c;          uyvyi_to_yv12   = uyvyi_to_yv12_c;
267    
   
268          /* All colorspace transformation functions YV12->User format */          /* All colorspace transformation functions YV12->User format */
269          yv12_to_rgb555  = yv12_to_rgb555_c;          yv12_to_rgb555  = yv12_to_rgb555_c;
270          yv12_to_rgb565  = yv12_to_rgb565_c;          yv12_to_rgb565  = yv12_to_rgb565_c;
# Line 269  Line 272 
272          yv12_to_bgra    = yv12_to_bgra_c;          yv12_to_bgra    = yv12_to_bgra_c;
273          yv12_to_abgr    = yv12_to_abgr_c;          yv12_to_abgr    = yv12_to_abgr_c;
274          yv12_to_rgba    = yv12_to_rgba_c;          yv12_to_rgba    = yv12_to_rgba_c;
275            yv12_to_argb    = yv12_to_argb_c;
276          yv12_to_yuyv    = yv12_to_yuyv_c;          yv12_to_yuyv    = yv12_to_yuyv_c;
277          yv12_to_uyvy    = yv12_to_uyvy_c;          yv12_to_uyvy    = yv12_to_uyvy_c;
278    
# Line 278  Line 282 
282          yv12_to_bgrai   = yv12_to_bgrai_c;          yv12_to_bgrai   = yv12_to_bgrai_c;
283          yv12_to_abgri   = yv12_to_abgri_c;          yv12_to_abgri   = yv12_to_abgri_c;
284          yv12_to_rgbai   = yv12_to_rgbai_c;          yv12_to_rgbai   = yv12_to_rgbai_c;
285            yv12_to_argbi   = yv12_to_argbi_c;
286          yv12_to_yuyvi   = yv12_to_yuyvi_c;          yv12_to_yuyvi   = yv12_to_yuyvi_c;
287          yv12_to_uyvyi   = yv12_to_uyvyi_c;          yv12_to_uyvyi   = yv12_to_uyvyi_c;
288    
# Line 350  Line 355 
355                  interpolate8x8_avg2 = interpolate8x8_avg2_mmx;                  interpolate8x8_avg2 = interpolate8x8_avg2_mmx;
356                  interpolate8x8_avg4 = interpolate8x8_avg4_mmx;                  interpolate8x8_avg4 = interpolate8x8_avg4_mmx;
357    
358                    /* postprocessing */
359                    image_brightness = image_brightness_mmx;
360    
361                  /* reduced resolution */                  /* reduced resolution */
362                  copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_mmx;                  copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_mmx;
363                  add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_mmx;                  add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_mmx;

Legend:
Removed from v.1.45.2.24  
changed lines
  Added in v.1.49

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