Commit 85ca7369 authored by gpoirier's avatar gpoirier

fix lowres decoding support on ARM CPUs


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11628 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e910d5c9
......@@ -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!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment