diff options
author | Siarhei Siamashka <siarhei.siamashka@gmail.com> | 2008-01-27 08:36:50 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2008-01-27 08:36:50 +0000 |
commit | 13686bc2cddbeca540863052e2895460d062ccc3 (patch) | |
tree | 2d2420a414425a67c695d3fe2ea91dc137277d3c /libavcodec/armv4l | |
parent | cc8d87b79358644d4b280f40b687a06130cc8fb7 (diff) | |
download | ffmpeg-13686bc2cddbeca540863052e2895460d062ccc3.tar.gz |
fix lowres decoding support on ARM CPUs
Original thread:
date: Jan 27, 2008 12:03 AM
subject: [FFmpeg-devel] [PATCH] Fix for lowres decoding support on ARM
Patch by Siarhei Siamashka $ siarhei P siamashka A gmail P com $
Originally committed as revision 11628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/armv4l')
-rw-r--r-- | libavcodec/armv4l/dsputil_arm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/armv4l/dsputil_arm.c b/libavcodec/armv4l/dsputil_arm.c index 6aead02364..253aaf05f8 100644 --- a/libavcodec/armv4l/dsputil_arm.c +++ b/libavcodec/armv4l/dsputil_arm.c @@ -209,6 +209,7 @@ void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx) 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, AVCodecContext *avctx) 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! |