[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.33, Tue Jul 23 12:59:57 2002 UTC revision 1.33.2.7, Sun Oct 6 07:05:50 2002 UTC
# Line 50  Line 50 
50  #include "image/colorspace.h"  #include "image/colorspace.h"
51  #include "image/interpolate8x8.h"  #include "image/interpolate8x8.h"
52  #include "utils/mem_transfer.h"  #include "utils/mem_transfer.h"
53    #include "utils/mbfunctions.h"
54  #include "quant/quant_h263.h"  #include "quant/quant_h263.h"
55  #include "quant/quant_mpeg4.h"  #include "quant/quant_mpeg4.h"
56  #include "motion/motion.h"  #include "motion/motion.h"
# Line 216  Line 217 
217          transfer_16to8add  = transfer_16to8add_c;          transfer_16to8add  = transfer_16to8add_c;
218          transfer8x8_copy   = transfer8x8_copy_c;          transfer8x8_copy   = transfer8x8_copy_c;
219    
220            /* Interlacing functions */
221            MBFieldTest = MBFieldTest_c;
222    
223          /* Image interpolation related functions */          /* Image interpolation related functions */
224          interpolate8x8_halfpel_h  = interpolate8x8_halfpel_h_c;          interpolate8x8_halfpel_h  = interpolate8x8_halfpel_h_c;
225          interpolate8x8_halfpel_v  = interpolate8x8_halfpel_v_c;          interpolate8x8_halfpel_v  = interpolate8x8_halfpel_v_c;
226          interpolate8x8_halfpel_hv = interpolate8x8_halfpel_hv_c;          interpolate8x8_halfpel_hv = interpolate8x8_halfpel_hv_c;
227    
228            interpolate8x8_lowpass_h = interpolate8x8_lowpass_h_c;
229            interpolate8x8_lowpass_v = interpolate8x8_lowpass_v_c;
230            interpolate8x8_lowpass_hv = interpolate8x8_lowpass_hv_c;
231    
232            interpolate8x8_6tap_lowpass_h = interpolate8x8_6tap_lowpass_h_c;
233            interpolate8x8_6tap_lowpass_v = interpolate8x8_6tap_lowpass_v_c;
234    
235            interpolate8x8_avg2 = interpolate8x8_avg2_c;
236            interpolate8x8_avg4 = interpolate8x8_avg4_c;
237    
238          /* Initialize internal colorspace transformation tables */          /* Initialize internal colorspace transformation tables */
239          colorspace_init();          colorspace_init();
240    
# Line 238  Line 252 
252          yv12_to_rgb565 = yv12_to_rgb565_c;          yv12_to_rgb565 = yv12_to_rgb565_c;
253          yv12_to_rgb24  = yv12_to_rgb24_c;          yv12_to_rgb24  = yv12_to_rgb24_c;
254          yv12_to_rgb32  = yv12_to_rgb32_c;          yv12_to_rgb32  = yv12_to_rgb32_c;
255            yv12_to_abgr  = yv12_to_abgr_c;
256            yv12_to_rgba  = yv12_to_rgba_c;
257          yv12_to_yuv    = yv12_to_yuv_c;          yv12_to_yuv    = yv12_to_yuv_c;
258          yv12_to_yuyv   = yv12_to_yuyv_c;          yv12_to_yuyv   = yv12_to_yuyv_c;
259          yv12_to_uyvy   = yv12_to_uyvy_c;          yv12_to_uyvy   = yv12_to_uyvy_c;
# Line 249  Line 265 
265          sad16bi  = sad16bi_c;          sad16bi  = sad16bi_c;
266          sad8bi   = sad8bi_c;          sad8bi   = sad8bi_c;
267          dev16    = dev16_c;          dev16    = dev16_c;
268            sad16v   = sad16v_c;
269    
270          Halfpel8_Refine = Halfpel8_Refine_c;  //      Halfpel8_Refine = Halfpel8_Refine_c;
271    
272  #ifdef ARCH_X86  #ifdef ARCH_X86
273          if ((cpu_flags & XVID_CPU_MMX) > 0) {          if ((cpu_flags & XVID_CPU_MMX) > 0) {
# Line 281  Line 298 
298                  transfer_16to8add  = transfer_16to8add_mmx;                  transfer_16to8add  = transfer_16to8add_mmx;
299                  transfer8x8_copy   = transfer8x8_copy_mmx;                  transfer8x8_copy   = transfer8x8_copy_mmx;
300    
301                    /* Interlacing Functions */
302                    MBFieldTest = MBFieldTest_mmx;
303    
304                  /* Image Interpolation related functions */                  /* Image Interpolation related functions */
305                  interpolate8x8_halfpel_h  = interpolate8x8_halfpel_h_mmx;                  interpolate8x8_halfpel_h  = interpolate8x8_halfpel_h_mmx;
306                  interpolate8x8_halfpel_v  = interpolate8x8_halfpel_v_mmx;                  interpolate8x8_halfpel_v  = interpolate8x8_halfpel_v_mmx;
307                  interpolate8x8_halfpel_hv = interpolate8x8_halfpel_hv_mmx;                  interpolate8x8_halfpel_hv = interpolate8x8_halfpel_hv_mmx;
308    
309                    interpolate8x8_6tap_lowpass_h = interpolate8x8_6tap_lowpass_h_mmx;
310                    interpolate8x8_6tap_lowpass_v = interpolate8x8_6tap_lowpass_v_mmx;
311    
312                    interpolate8x8_avg2 = interpolate8x8_avg2_mmx;
313                    interpolate8x8_avg4 = interpolate8x8_avg4_mmx;
314    
315                  /* Image RGB->YV12 related functions */                  /* Image RGB->YV12 related functions */
316                  rgb24_to_yv12 = rgb24_to_yv12_mmx;                  rgb24_to_yv12 = rgb24_to_yv12_mmx;
317                  rgb32_to_yv12 = rgb32_to_yv12_mmx;                  rgb32_to_yv12 = rgb32_to_yv12_mmx;
# Line 307  Line 332 
332                  sad16bi = sad16bi_mmx;                  sad16bi = sad16bi_mmx;
333                  sad8bi  = sad8bi_mmx;                  sad8bi  = sad8bi_mmx;
334                  dev16    = dev16_mmx;                  dev16    = dev16_mmx;
335                    sad16v   = sad16v_mmx;
336    
337          }          }
338    
# Line 345  Line 371 
371                  sad16bi = sad16bi_xmm;                  sad16bi = sad16bi_xmm;
372                  sad8bi  = sad8bi_xmm;                  sad8bi  = sad8bi_xmm;
373                  dev16 = dev16_xmm;                  dev16 = dev16_xmm;
374                    sad16v   = sad16v_xmm;
375                    fprintf(stderr,"sad16v=XMM\n");
376    
377          }          }
378    
# Line 391  Line 419 
419            sad16bi = sad16bi_ia64;            sad16bi = sad16bi_ia64;
420            sad8 = sad8_ia64;            sad8 = sad8_ia64;
421            dev16 = dev16_ia64;            dev16 = dev16_ia64;
422            Halfpel8_Refine = Halfpel8_Refine_ia64;  //        Halfpel8_Refine = Halfpel8_Refine_ia64;
423            quant_intra = quant_intra_ia64;            quant_intra = quant_intra_ia64;
424            dequant_intra = dequant_intra_ia64;            dequant_intra = dequant_intra_ia64;
425            quant_inter = quant_inter_ia64;            quant_inter = quant_inter_ia64;

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.33.2.7

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