summaryrefslogtreecommitdiffstats
path: root/libavcodec/bfin
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-20 20:01:56 +0100
committerMans Rullgard <mans@mansr.com>2011-07-21 18:10:58 +0100
commit0a72533e9854aa615bb6d1569dd5f0c4cd031429 (patch)
tree78c7bae61e8857170f174d4fdd114808f3bae514 /libavcodec/bfin
parent73c0dd939d503aaf83d3266181a156615eeb77d5 (diff)
downloadffmpeg-streaming-0a72533e9854aa615bb6d1569dd5f0c4cd031429.zip
ffmpeg-streaming-0a72533e9854aa615bb6d1569dd5f0c4cd031429.tar.gz
jfdctint: add 10-bit version
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/bfin')
-rw-r--r--libavcodec/bfin/dsputil_bfin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.c b/libavcodec/bfin/dsputil_bfin.c
index d06bd8e..691c060 100644
--- a/libavcodec/bfin/dsputil_bfin.c
+++ b/libavcodec/bfin/dsputil_bfin.c
@@ -253,10 +253,10 @@ void dsputil_init_bfin( DSPContext* c, AVCodecContext *avctx )
/* c->put_no_rnd_pixels_tab[0][3] = ff_bfin_put_pixels16_xy2_nornd; */
}
- if (avctx->dct_algo == FF_DCT_AUTO)
- c->fdct = ff_bfin_fdct;
-
if (avctx->bits_per_raw_sample <= 8) {
+ if (avctx->dct_algo == FF_DCT_AUTO)
+ c->fdct = ff_bfin_fdct;
+
if (avctx->idct_algo == FF_IDCT_VP3) {
c->idct_permutation_type = FF_NO_IDCT_PERM;
c->idct = ff_bfin_vp3_idct;
OpenPOWER on IntegriCloud