diff options
author | Timothy Gu <timothygu99@gmail.com> | 2016-01-31 11:42:24 -0800 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2016-02-01 17:01:11 -0800 |
commit | 838abfc1d711b42beaf401153b36ef80922b85b8 (patch) | |
tree | 14aa4ca3f18a1a65ea8d91ef4640175f10951a9f /libavcodec/x86/vc1dsp_init.c | |
parent | b62825a480517eed151bfb105323c1549b325d00 (diff) | |
download | ffmpeg-838abfc1d711b42beaf401153b36ef80922b85b8.tar.gz |
x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format
Diffstat (limited to 'libavcodec/x86/vc1dsp_init.c')
-rw-r--r-- | libavcodec/x86/vc1dsp_init.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/x86/vc1dsp_init.c b/libavcodec/x86/vc1dsp_init.c index 1747305d1f..c8943fa2f7 100644 --- a/libavcodec/x86/vc1dsp_init.c +++ b/libavcodec/x86/vc1dsp_init.c @@ -92,6 +92,14 @@ void ff_put_vc1_chroma_mc8_nornd_ssse3(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y); void ff_avg_vc1_chroma_mc8_nornd_ssse3(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y); +void ff_vc1_inv_trans_4x4_dc_mmxext(uint8_t *dest, int linesize, + int16_t *block); +void ff_vc1_inv_trans_4x8_dc_mmxext(uint8_t *dest, int linesize, + int16_t *block); +void ff_vc1_inv_trans_8x4_dc_mmxext(uint8_t *dest, int linesize, + int16_t *block); +void ff_vc1_inv_trans_8x8_dc_mmxext(uint8_t *dest, int linesize, + int16_t *block); av_cold void ff_vc1dsp_init_x86(VC1DSPContext *dsp) @@ -130,6 +138,11 @@ av_cold void ff_vc1dsp_init_x86(VC1DSPContext *dsp) dsp->avg_vc1_mspel_pixels_tab[1][0] = avg_vc1_mspel_mc00_8_mmxext; dsp->avg_vc1_mspel_pixels_tab[0][0] = avg_vc1_mspel_mc00_16_mmxext; + + dsp->vc1_inv_trans_8x8_dc = ff_vc1_inv_trans_8x8_dc_mmxext; + dsp->vc1_inv_trans_4x8_dc = ff_vc1_inv_trans_4x8_dc_mmxext; + dsp->vc1_inv_trans_8x4_dc = ff_vc1_inv_trans_8x4_dc_mmxext; + dsp->vc1_inv_trans_4x4_dc = ff_vc1_inv_trans_4x4_dc_mmxext; } if (EXTERNAL_SSE2(cpu_flags)) { dsp->vc1_v_loop_filter8 = ff_vc1_v_loop_filter8_sse2; |