[FFmpeg-cvslog] r11628 - trunk/libavcodec/armv4l/dsputil_arm.c

gpoirier subversion
Sun Jan 27 09:36:50 CET 2008


Author: gpoirier
Date: Sun Jan 27 09:36:50 2008
New Revision: 11628

Log:
fix lowres decoding support on ARM CPUs


Modified:
   trunk/libavcodec/armv4l/dsputil_arm.c

Modified: trunk/libavcodec/armv4l/dsputil_arm.c
==============================================================================
--- trunk/libavcodec/armv4l/dsputil_arm.c	(original)
+++ trunk/libavcodec/armv4l/dsputil_arm.c	Sun Jan 27 09:36:50 2008
@@ -209,6 +209,7 @@ void dsputil_init_armv4l(DSPContext* c, 
     ff_put_pixels_clamped = c->put_pixels_clamped;
     ff_add_pixels_clamped = c->add_pixels_clamped;
 
+    if (avctx->lowres == 0) {
     if(idct_algo == FF_IDCT_AUTO){
 #if defined(HAVE_IPP)
         idct_algo = FF_IDCT_IPP;
@@ -253,6 +254,7 @@ void dsputil_init_armv4l(DSPContext* c, 
         c->idct_permutation_type= FF_NO_IDCT_PERM;
 #endif
     }
+    }
 
     c->put_pixels_tab[0][0] = put_pixels16_arm;
     c->put_pixels_tab[0][1] = put_pixels16_x2_arm; //OK!




More information about the ffmpeg-cvslog mailing list