[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.25, Wed Dec 17 17:07:38 2003 UTC revision 1.48.2.3, Wed Apr 14 19:51:06 2004 UTC
# Line 248  Line 248 
248          bgra_to_yv12    = bgra_to_yv12_c;          bgra_to_yv12    = bgra_to_yv12_c;
249          abgr_to_yv12    = abgr_to_yv12_c;          abgr_to_yv12    = abgr_to_yv12_c;
250          rgba_to_yv12    = rgba_to_yv12_c;          rgba_to_yv12    = rgba_to_yv12_c;
251            argb_to_yv12    = argb_to_yv12_c;
252          yuyv_to_yv12    = yuyv_to_yv12_c;          yuyv_to_yv12    = yuyv_to_yv12_c;
253          uyvy_to_yv12    = uyvy_to_yv12_c;          uyvy_to_yv12    = uyvy_to_yv12_c;
254    
# Line 257  Line 258 
258          bgrai_to_yv12   = bgrai_to_yv12_c;          bgrai_to_yv12   = bgrai_to_yv12_c;
259          abgri_to_yv12   = abgri_to_yv12_c;          abgri_to_yv12   = abgri_to_yv12_c;
260          rgbai_to_yv12   = rgbai_to_yv12_c;          rgbai_to_yv12   = rgbai_to_yv12_c;
261            argbi_to_yv12   = argbi_to_yv12_c;
262          yuyvi_to_yv12   = yuyvi_to_yv12_c;          yuyvi_to_yv12   = yuyvi_to_yv12_c;
263          uyvyi_to_yv12   = uyvyi_to_yv12_c;          uyvyi_to_yv12   = uyvyi_to_yv12_c;
264    
   
265          /* All colorspace transformation functions YV12->User format */          /* All colorspace transformation functions YV12->User format */
266          yv12_to_rgb555  = yv12_to_rgb555_c;          yv12_to_rgb555  = yv12_to_rgb555_c;
267          yv12_to_rgb565  = yv12_to_rgb565_c;          yv12_to_rgb565  = yv12_to_rgb565_c;
# Line 268  Line 269 
269          yv12_to_bgra    = yv12_to_bgra_c;          yv12_to_bgra    = yv12_to_bgra_c;
270          yv12_to_abgr    = yv12_to_abgr_c;          yv12_to_abgr    = yv12_to_abgr_c;
271          yv12_to_rgba    = yv12_to_rgba_c;          yv12_to_rgba    = yv12_to_rgba_c;
272            yv12_to_argb    = yv12_to_argb_c;
273          yv12_to_yuyv    = yv12_to_yuyv_c;          yv12_to_yuyv    = yv12_to_yuyv_c;
274          yv12_to_uyvy    = yv12_to_uyvy_c;          yv12_to_uyvy    = yv12_to_uyvy_c;
275    
# Line 277  Line 279 
279          yv12_to_bgrai   = yv12_to_bgrai_c;          yv12_to_bgrai   = yv12_to_bgrai_c;
280          yv12_to_abgri   = yv12_to_abgri_c;          yv12_to_abgri   = yv12_to_abgri_c;
281          yv12_to_rgbai   = yv12_to_rgbai_c;          yv12_to_rgbai   = yv12_to_rgbai_c;
282            yv12_to_argbi   = yv12_to_argbi_c;
283          yv12_to_yuyvi   = yv12_to_yuyvi_c;          yv12_to_yuyvi   = yv12_to_yuyvi_c;
284          yv12_to_uyvyi   = yv12_to_uyvyi_c;          yv12_to_uyvyi   = yv12_to_uyvyi_c;
285    
# Line 446  Line 449 
449    
450          if ((cpu_flags & XVID_CPU_3DNOWEXT)) {          if ((cpu_flags & XVID_CPU_3DNOWEXT)) {
451    
                 /* Inverse DCT */  
                 idct =  idct_3dne;  
   
452                  /* Buffer transfer */                  /* Buffer transfer */
453                  transfer_8to16copy =  transfer_8to16copy_3dne;                  transfer_8to16copy =  transfer_8to16copy_3dne;
454                  transfer_16to8copy = transfer_16to8copy_3dne;                  transfer_16to8copy = transfer_16to8copy_3dne;
455                  transfer_8to16sub =  transfer_8to16sub_3dne;                  transfer_8to16sub =  transfer_8to16sub_3dne;
456                  transfer_8to16subro =  transfer_8to16subro_3dne;                  transfer_8to16subro =  transfer_8to16subro_3dne;
                 transfer_8to16sub2 =  transfer_8to16sub2_3dne;  
457                  transfer_16to8add = transfer_16to8add_3dne;                  transfer_16to8add = transfer_16to8add_3dne;
458                  transfer8x8_copy = transfer8x8_copy_3dne;                  transfer8x8_copy = transfer8x8_copy_3dne;
459    
460                    if ((cpu_flags & XVID_CPU_MMXEXT)) {
461                            /* Inverse DCT */
462                            idct =  idct_3dne;
463    
464                            /* Buffer transfer */
465                            transfer_8to16sub2 =  transfer_8to16sub2_3dne;
466    
467                            /* Interpolation */
468                            interpolate8x8_halfpel_h = interpolate8x8_halfpel_h_3dne;
469                            interpolate8x8_halfpel_v = interpolate8x8_halfpel_v_3dne;
470                            interpolate8x8_halfpel_hv = interpolate8x8_halfpel_hv_3dne;
471    
472                  /* Quantization */                  /* Quantization */
473                  quant_h263_intra = quant_h263_intra_3dne;                          quant_h263_intra = quant_h263_intra_3dne;               /* cmov only */
474                  quant_h263_inter = quant_h263_inter_3dne;                  quant_h263_inter = quant_h263_inter_3dne;
475                  dequant_mpeg_intra = dequant_mpeg_intra_3dne;                          dequant_mpeg_intra = dequant_mpeg_intra_3dne;   /* cmov only */
476                  dequant_mpeg_inter = dequant_mpeg_inter_3dne;                  dequant_mpeg_inter = dequant_mpeg_inter_3dne;
477                  dequant_h263_intra = dequant_h263_intra_3dne;                  dequant_h263_intra = dequant_h263_intra_3dne;
478                  dequant_h263_inter = dequant_h263_inter_3dne;                  dequant_h263_inter = dequant_h263_inter_3dne;
479    
480                  /* ME functions */                  /* ME functions */
481                  calc_cbp = calc_cbp_3dne;                  calc_cbp = calc_cbp_3dne;
482    
483                  sad16 = sad16_3dne;                  sad16 = sad16_3dne;
484                  sad8 = sad8_3dne;                  sad8 = sad8_3dne;
485                  sad16bi = sad16bi_3dne;                  sad16bi = sad16bi_3dne;
486                  sad8bi = sad8bi_3dne;                  sad8bi = sad8bi_3dne;
487                  dev16 = dev16_3dne;                  dev16 = dev16_3dne;
488                    }
                 /* Interpolation */  
                 interpolate8x8_halfpel_h = interpolate8x8_halfpel_h_3dne;  
                 interpolate8x8_halfpel_v = interpolate8x8_halfpel_v_3dne;  
                 interpolate8x8_halfpel_hv = interpolate8x8_halfpel_hv_3dne;  
489          }          }
490    
491          if ((cpu_flags & XVID_CPU_SSE2)) {          if ((cpu_flags & XVID_CPU_SSE2)) {

Legend:
Removed from v.1.45.2.25  
changed lines
  Added in v.1.48.2.3

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