[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 664, Wed Nov 20 19:53:18 2002 UTC revision 695, Sun Dec 8 05:38:56 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.14 2002-11-20 19:52:32 Isibaar Exp $   *  $Id: xvid.c,v 1.33.2.15 2002-12-08 05:38:56 suxen_drol Exp $
41   *   *
42   ****************************************************************************/   ****************************************************************************/
43    
# Line 49  Line 49 
49  #include "dct/fdct.h"  #include "dct/fdct.h"
50  #include "image/colorspace.h"  #include "image/colorspace.h"
51  #include "image/interpolate8x8.h"  #include "image/interpolate8x8.h"
52    #include "image/reduced.h"
53  #include "utils/mem_transfer.h"  #include "utils/mem_transfer.h"
54  #include "utils/mbfunctions.h"  #include "utils/mbfunctions.h"
55  #include "quant/quant_h263.h"  #include "quant/quant_h263.h"
# Line 234  Line 235 
235          interpolate8x8_avg2 = interpolate8x8_avg2_c;          interpolate8x8_avg2 = interpolate8x8_avg2_c;
236          interpolate8x8_avg4 = interpolate8x8_avg4_c;          interpolate8x8_avg4 = interpolate8x8_avg4_c;
237    
238            /* reduced resoltuion */
239    
240    #ifdef ARCH_X86
241            vfilter_31 = xvid_VFilter_31_x86;
242            hfilter_31 = xvid_HFilter_31_x86;
243    #else
244            copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_C;
245            add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_C;
246            vfilter_31 = xvid_VFilter_31_C;
247            hfilter_31 = xvid_HFilter_31_C;
248    #endif
249    
250          /* Initialize internal colorspace transformation tables */          /* Initialize internal colorspace transformation tables */
251          colorspace_init();          colorspace_init();
252    
# Line 337  Line 350 
350                  interpolate8x8_avg2 = interpolate8x8_avg2_mmx;                  interpolate8x8_avg2 = interpolate8x8_avg2_mmx;
351                  interpolate8x8_avg4 = interpolate8x8_avg4_mmx;                  interpolate8x8_avg4 = interpolate8x8_avg4_mmx;
352    
353                    /* reduced resolution */
354                    copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_mmx;
355                    add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_mmx;
356                    hfilter_31 = xvid_HFilter_31_mmx;
357    
358                  /* image input xxx_to_yv12 related functions */                  /* image input xxx_to_yv12 related functions */
359                  yv12_to_yv12  = yv12_to_yv12_mmx;                  yv12_to_yv12  = yv12_to_yv12_mmx;
360                  bgr_to_yv12   = bgr_to_yv12_mmx;                  bgr_to_yv12   = bgr_to_yv12_mmx;
# Line 386  Line 404 
404                  interpolate8x8_halfpel_v  = interpolate8x8_halfpel_v_xmm;                  interpolate8x8_halfpel_v  = interpolate8x8_halfpel_v_xmm;
405                  interpolate8x8_halfpel_hv = interpolate8x8_halfpel_hv_xmm;                  interpolate8x8_halfpel_hv = interpolate8x8_halfpel_hv_xmm;
406    
407                    /* reduced resolution */
408                    copy_upsampled_8x8_16to8 = xvid_Copy_Upsampled_8x8_16To8_xmm;
409                    add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_xmm;
410    
411                  /* Quantization */                  /* Quantization */
412                  dequant_intra = dequant_intra_xmm;                  dequant_intra = dequant_intra_xmm;
413                  dequant_inter = dequant_inter_xmm;                  dequant_inter = dequant_inter_xmm;

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

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