aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/hevc_mc.asm
diff options
context:
space:
mode:
authorWu Jianhua <jianhua.wu@intel.com>2022-03-11 15:52:13 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-04-24 14:47:13 +0800
commit037fa0437d2aead40c1f786c6ad4d343afe0546d (patch)
tree5bafa69fd4499f56a4b5e1139a3d1923391889ba /libavcodec/x86/hevc_mc.asm
parent68437bf169cfbdadb3764c7a52c661da63f361dd (diff)
downloadffmpeg-037fa0437d2aead40c1f786c6ad4d343afe0546d.tar.gz
avcodec/x86/hevc_mc: add qpel_h64_8_avx512icl
ff_hevc_put_hevc_qpel_h64_8_sse4 56782981 ff_hevc_put_hevc_qpel_h64_8_avx2 40097816 ff_hevc_put_hevc_qpel_h64_8_avx512icl 25488576 Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
Diffstat (limited to 'libavcodec/x86/hevc_mc.asm')
-rw-r--r--libavcodec/x86/hevc_mc.asm10
1 files changed, 9 insertions, 1 deletions
diff --git a/libavcodec/x86/hevc_mc.asm b/libavcodec/x86/hevc_mc.asm
index fc3faac376..c07948dd9b 100644
--- a/libavcodec/x86/hevc_mc.asm
+++ b/libavcodec/x86/hevc_mc.asm
@@ -92,6 +92,7 @@ QPEL_TABLE 8, 1, b, avx512icl_h
QPEL_TABLE 8, 1, d, avx512icl_v
QPEL_TABLE 16, 1, b, avx512icl_h
QPEL_TABLE 32, 1, b, avx512icl_h
+QPEL_TABLE 64, 1, b, avx512icl_h
pb_qpel_shuffle_index: db 0, 1, 2, 3
db 1, 2, 3, 4
@@ -1767,10 +1768,16 @@ cglobal hevc_put_hevc_qpel_h%1_%2, 5, 6, 8, dst, src, srcstride, height, mx, tmp
%else
vpmovdw [dstq], m6
%endif
-%if %1 == 32
+%if %1 > 16
QPEL_H_LOAD_COMPUTE 7, src, 16
vpmovdw [dstq + 32], m7
%endif
+%if %1 > 32
+ QPEL_H_LOAD_COMPUTE 6, src, 32
+ QPEL_H_LOAD_COMPUTE 7, src, 48
+ vpmovdw [dstq + 64], m6
+ vpmovdw [dstq + 96], m7
+%endif
LOOP_END dst, src, srcstride
RET
%endmacro
@@ -1848,6 +1855,7 @@ HEVC_PUT_HEVC_QPEL_HV_AVX512ICL 8, 8
INIT_ZMM avx512icl
HEVC_PUT_HEVC_QPEL_AVX512ICL 16, 8
HEVC_PUT_HEVC_QPEL_AVX512ICL 32, 8
+HEVC_PUT_HEVC_QPEL_AVX512ICL 64, 8
%endif
%endif