aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/dsputil_init_armv5te.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-14 18:55:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-19 14:28:01 +0200
commit08c5859f17ed6c16d7e59ea63c63d85cc0d9427f (patch)
treedbfe97e41d3867a5330454ee112eadd747f2fcbd /libavcodec/arm/dsputil_init_armv5te.c
parent4c9ee1590febe38e3e4f5fd73bd34300d1e9ec6c (diff)
downloadffmpeg-08c5859f17ed6c16d7e59ea63c63d85cc0d9427f.tar.gz
avcodec: add simpleauto idct
This will pick the "best" simple idct compatible idct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/arm/dsputil_init_armv5te.c')
-rw-r--r--libavcodec/arm/dsputil_init_armv5te.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/arm/dsputil_init_armv5te.c b/libavcodec/arm/dsputil_init_armv5te.c
index 883f6e40ad..0ba4f453ee 100644
--- a/libavcodec/arm/dsputil_init_armv5te.c
+++ b/libavcodec/arm/dsputil_init_armv5te.c
@@ -34,6 +34,7 @@ av_cold void ff_dsputil_init_armv5te(DSPContext *c, AVCodecContext *avctx,
{
if (!avctx->lowres && !high_bit_depth &&
(avctx->idct_algo == FF_IDCT_AUTO ||
+ avctx->idct_algo == FF_IDCT_SIMPLEAUTO ||
avctx->idct_algo == FF_IDCT_SIMPLEARMV5TE)) {
c->idct_put = ff_simple_idct_put_armv5te;
c->idct_add = ff_simple_idct_add_armv5te;