diff options
author | James Darnley <jdarnley@obe.tv> | 2017-06-19 14:55:53 +0200 |
---|---|---|
committer | James Darnley <jdarnley@obe.tv> | 2017-06-28 17:27:35 +0200 |
commit | 0c2acccd4be425d1121ec923f830c6fe99227b56 (patch) | |
tree | ea3d2d3820bfbc823d9b92da728344f8db247f9e /libavcodec/x86/idctdsp_init.c | |
parent | d7246ea9f229db64ed909d7446196128d6f53de0 (diff) | |
download | ffmpeg-0c2acccd4be425d1121ec923f830c6fe99227b56.tar.gz |
avcodec/x86: use new x86-64 functions for -idct simple
They now match according to FATE, barring any further bugs with untested
parts
Diffstat (limited to 'libavcodec/x86/idctdsp_init.c')
-rw-r--r-- | libavcodec/x86/idctdsp_init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/x86/idctdsp_init.c b/libavcodec/x86/idctdsp_init.c index 9da60d1a1e..162560d411 100644 --- a/libavcodec/x86/idctdsp_init.c +++ b/libavcodec/x86/idctdsp_init.c @@ -100,7 +100,8 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx, avctx->lowres == 0 && (avctx->idct_algo == FF_IDCT_AUTO || avctx->idct_algo == FF_IDCT_SIMPLEAUTO || - avctx->idct_algo == FF_IDCT_SIMPLEMMX)) { + avctx->idct_algo == FF_IDCT_SIMPLEMMX || + avctx->idct_algo == FF_IDCT_SIMPLE)) { c->idct = ff_simple_idct8_sse2; c->idct_put = ff_simple_idct8_put_sse2; c->idct_add = ff_simple_idct8_add_sse2; @@ -113,7 +114,8 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx, !high_bit_depth && (avctx->idct_algo == FF_IDCT_AUTO || avctx->idct_algo == FF_IDCT_SIMPLEAUTO || - avctx->idct_algo == FF_IDCT_SIMPLEMMX)) { + avctx->idct_algo == FF_IDCT_SIMPLEMMX || + avctx->idct_algo == FF_IDCT_SIMPLE)) { c->idct = ff_simple_idct8_avx; c->idct_put = ff_simple_idct8_put_avx; c->idct_add = ff_simple_idct8_add_avx; |