diff options
author | James Almer <jamrial@gmail.com> | 2014-08-19 23:52:05 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-08-20 16:54:52 -0300 |
commit | 76a99d467fff3faf826c46ccde66bd1303876a0d (patch) | |
tree | 0972e77ace6de2660a7321a9b795fd02d3b187f5 /libavcodec/x86/hevcdsp_init.c | |
parent | d2163f5e2836090dc7827f43bef921dbe364ec8f (diff) | |
download | ffmpeg-76a99d467fff3faf826c46ccde66bd1303876a0d.tar.gz |
x86/hecv_res_add: add ff_hevc_transform_add{8,16,32}_8_avx
~15% faster than sse2
Reviewed-by: Mickaƫl Raulet <mraulet@gmail.com>
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/hevcdsp_init.c')
-rw-r--r-- | libavcodec/x86/hevcdsp_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c index 0f9fe7d5d5..f6f0a4bddd 100644 --- a/libavcodec/x86/hevcdsp_init.c +++ b/libavcodec/x86/hevcdsp_init.c @@ -509,7 +509,11 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) if (ARCH_X86_64) { c->hevc_v_loop_filter_luma = ff_hevc_v_loop_filter_luma_8_avx; c->hevc_h_loop_filter_luma = ff_hevc_h_loop_filter_luma_8_avx; + + c->transform_add[2] = ff_hevc_transform_add16_8_avx; + c->transform_add[3] = ff_hevc_transform_add32_8_avx; } + c->transform_add[1] = ff_hevc_transform_add8_8_avx; } if (EXTERNAL_AVX2(cpu_flags)) { c->idct_dc[2] = ff_hevc_idct16x16_dc_8_avx2; |