[FFmpeg-cvslog] r10105 - trunk/libavcodec/bfin/dsputil_bfin.c
mhoffman
subversion
Mon Aug 13 16:16:21 CEST 2007
Author: mhoffman
Date: Mon Aug 13 16:16:20 2007
New Revision: 10105
Log:
special handling for vp3 idct, use the c reference
Modified:
trunk/libavcodec/bfin/dsputil_bfin.c
Modified: trunk/libavcodec/bfin/dsputil_bfin.c
==============================================================================
--- trunk/libavcodec/bfin/dsputil_bfin.c (original)
+++ trunk/libavcodec/bfin/dsputil_bfin.c Mon Aug 13 16:16:20 2007
@@ -279,10 +279,12 @@ void dsputil_init_bfin( DSPContext* c, A
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;
+ }
}
More information about the ffmpeg-cvslog
mailing list