diff options
author | Marc Hoffman <mmhoffm@gmail.com> | 2007-08-13 14:16:20 +0000 |
---|---|---|
committer | Marc Hoffman <mmhoffm@gmail.com> | 2007-08-13 14:16:20 +0000 |
commit | 345bb2ad90f845e004ccef49dec8fa183576eeaa (patch) | |
tree | b6a21dc611a12ed8cc80c55aee50b22618a331d5 /libavcodec/bfin | |
parent | 07c02992b9ea9f6ea4a47d2fd800ee7524151d36 (diff) | |
download | ffmpeg-345bb2ad90f845e004ccef49dec8fa183576eeaa.tar.gz |
special handling for vp3 idct, use the c reference
Originally committed as revision 10105 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bfin')
-rw-r--r-- | libavcodec/bfin/dsputil_bfin.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.c b/libavcodec/bfin/dsputil_bfin.c index 5ce24cdd6f..9615dcd326 100644 --- a/libavcodec/bfin/dsputil_bfin.c +++ b/libavcodec/bfin/dsputil_bfin.c @@ -279,10 +279,12 @@ void dsputil_init_bfin( DSPContext* c, AVCodecContext *avctx ) c->put_no_rnd_pixels_tab[0][3] = ff_bfin_put_pixels16_xy2_nornd; c->idct_permutation_type = FF_NO_IDCT_PERM; - c->fdct = ff_bfin_fdct; - c->idct = ff_bfin_idct; - c->idct_add = bfin_idct_add; - c->idct_put = bfin_idct_put; + c->fdct = ff_bfin_fdct; + if (avctx->idct_algo!=FF_IDCT_VP3) { + c->idct = ff_bfin_idct; + c->idct_add = bfin_idct_add; + c->idct_put = bfin_idct_put; + } } |