1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/x86/h26x/h265dsp: Remove unused functions

The ff_h2656_put_{uni_,}8tap_hv{32,64,128}_8_avx2
and ff_h2656_put_{uni_,}4tap_hv{64,128}_8_avx2
functions were unused and have been removed.
This saved 3712B of .text here.

(ff_h2656_put_{uni_,}4tap_hv32_8_avx2 are now only
called from exactly one callsite (in
ff_hevc_put_{uni_,}epel_hv32_8_avx2) and could be inlined.)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-03-31 19:49:32 +02:00
parent 2e962fb080
commit 3693acb855
2 changed files with 8 additions and 6 deletions

View File

@ -1126,7 +1126,6 @@ H2656PUT_8TAP 32, 8
H2656PUT_8TAP 16, 10
H2656PUT_8TAP 16, 12
H2656PUT_8TAP_HV 32, 8
H2656PUT_8TAP_HV 16, 10
H2656PUT_8TAP_HV 16, 12

View File

@ -80,9 +80,7 @@ mc_rep_funcs(8tap_hv, 8, 8, 16, sse4)
#if HAVE_AVX2_EXTERNAL
#define MC_REP_FUNCS_AVX2(fname) \
mc_rep_funcs(fname, 8, 32, 64, avx2) \
mc_rep_funcs(fname, 8, 32,128, avx2) \
#define MC_REP_FUNCS_AVX2_NO8(fname) \
mc_rep_funcs(fname,10, 16, 32, avx2) \
mc_rep_funcs(fname,10, 16, 64, avx2) \
mc_rep_funcs(fname,10, 16,128, avx2) \
@ -90,12 +88,17 @@ mc_rep_funcs(8tap_hv, 8, 8, 16, sse4)
mc_rep_funcs(fname,12, 16, 64, avx2) \
mc_rep_funcs(fname,12, 16,128, avx2) \
#define MC_REP_FUNCS_AVX2(fname) \
mc_rep_funcs(fname, 8, 32, 64, avx2) \
mc_rep_funcs(fname, 8, 32,128, avx2) \
MC_REP_FUNCS_AVX2_NO8(fname)
MC_REP_FUNCS_AVX2(pixels)
MC_REP_FUNCS_AVX2(8tap_h)
MC_REP_FUNCS_AVX2(8tap_v)
MC_REP_FUNCS_AVX2(8tap_hv)
MC_REP_FUNCS_AVX2_NO8(8tap_hv)
MC_REP_FUNCS_AVX2(4tap_h)
MC_REP_FUNCS_AVX2(4tap_v)
MC_REP_FUNCS_AVX2(4tap_hv)
MC_REP_FUNCS_AVX2_NO8(4tap_hv)
#endif
#endif