Mercurial > libavcodec.hg
changeset 6179:bdcb17652343 libavcodec
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 $
author | gpoirier |
---|---|
date | Sun, 27 Jan 2008 08:36:50 +0000 |
parents | de96bd7409ad |
children | a15900739a31 |
files | armv4l/dsputil_arm.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/armv4l/dsputil_arm.c Sat Jan 26 12:46:46 2008 +0000 +++ b/armv4l/dsputil_arm.c Sun Jan 27 08:36:50 2008 +0000 @@ -209,6 +209,7 @@ 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 @@ 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!