diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2014-01-20 20:04:48 -0500 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2014-01-24 19:25:25 -0500 |
commit | 97474d527f9a17340c29018548502c178ed7d966 (patch) | |
tree | bbca2f7c33c96e4e794fe35a8b8297b3e3e5ace4 /libavcodec/x86/vp9dsp_init.c | |
parent | d43efa68bd53eecc9cea6e1081b6fb163e45665c (diff) | |
download | ffmpeg-97474d527f9a17340c29018548502c178ed7d966.tar.gz |
vp9/x86: iwht4x4 (lossless) mmx.
Diffstat (limited to 'libavcodec/x86/vp9dsp_init.c')
-rw-r--r-- | libavcodec/x86/vp9dsp_init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/x86/vp9dsp_init.c b/libavcodec/x86/vp9dsp_init.c index 612da8d2b7..47d4153614 100644 --- a/libavcodec/x86/vp9dsp_init.c +++ b/libavcodec/x86/vp9dsp_init.c @@ -173,6 +173,7 @@ itxfm_funcs(16, ssse3); itxfm_funcs(16, avx); itxfm_func(idct, idct, 32, ssse3); itxfm_func(idct, idct, 32, avx); +itxfm_func(iwht, iwht, 4, mmx); #undef itxfm_func #undef itxfm_funcs @@ -223,6 +224,10 @@ av_cold void ff_vp9dsp_init_x86(VP9DSPContext *dsp) if (EXTERNAL_MMX(cpu_flags)) { init_fpel(4, 0, 4, put, mmx); init_fpel(3, 0, 8, put, mmx); + dsp->itxfm_add[4 /* lossless */][DCT_DCT] = + dsp->itxfm_add[4 /* lossless */][ADST_DCT] = + dsp->itxfm_add[4 /* lossless */][DCT_ADST] = + dsp->itxfm_add[4 /* lossless */][ADST_ADST] = ff_vp9_iwht_iwht_4x4_add_mmx; } if (EXTERNAL_MMXEXT(cpu_flags)) { |