diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-22 21:37:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-22 22:26:55 +0200 |
commit | 70d54392f5015b9c6594fcae558f59f952501e3b (patch) | |
tree | bf8188c68474cebf9982c80cfe6244b3d4347f23 /libavcodec/alpha | |
parent | 92ef4be4ab9fbb7d901b22e0036a4ca90b00a476 (diff) | |
download | ffmpeg-70d54392f5015b9c6594fcae558f59f952501e3b.tar.gz |
lowres2 support.
The new lowres support is limited to decoders where lowres decoding
is possible in high quality.
I was not able to measure any speed difference, but if one is found
the 2-3 lines that might affect speed can be made compile time conditional
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/alpha')
-rw-r--r-- | libavcodec/alpha/dsputil_alpha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alpha/dsputil_alpha.c b/libavcodec/alpha/dsputil_alpha.c index ed9416ea8c..db2464b02f 100644 --- a/libavcodec/alpha/dsputil_alpha.c +++ b/libavcodec/alpha/dsputil_alpha.c @@ -336,7 +336,7 @@ void ff_dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx) put_pixels_clamped_axp_p = c->put_pixels_clamped; add_pixels_clamped_axp_p = c->add_pixels_clamped; - if (avctx->bits_per_raw_sample <= 8 && + if (!avctx->lowres && avctx->bits_per_raw_sample <= 8 && (avctx->idct_algo == FF_IDCT_AUTO || avctx->idct_algo == FF_IDCT_SIMPLEALPHA)) { c->idct_put = ff_simple_idct_put_axp; |