aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/dsputil_init.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/x86/dsputil_init.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/x86/dsputil_init.c')
-rw-r--r--libavcodec/x86/dsputil_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/x86/dsputil_init.c b/libavcodec/x86/dsputil_init.c
index 1ab1a0ae59..5c12364c23 100644
--- a/libavcodec/x86/dsputil_init.c
+++ b/libavcodec/x86/dsputil_init.c
@@ -60,6 +60,7 @@ static av_cold void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx,
if (avctx->lowres == 0 && !high_bit_depth) {
switch (avctx->idct_algo) {
case FF_IDCT_AUTO:
+ case FF_IDCT_SIMPLEAUTO:
case FF_IDCT_SIMPLEMMX:
c->idct_put = ff_simple_idct_put_mmx;
c->idct_add = ff_simple_idct_add_mmx;