History

avcodec/x86/hevc/dsp_init: Make ff_hevc_put_[eq]?pel_* static

Andreas Rheinhardt committed 1 year ago

Commit 9211abf1 parent 3f1aacf2 files · +80 −95Browse files

Unified · Split

2 files
  1. libavcodec/x86/hevc/dsp_init.c +79 −79
  2. libavcodec/x86/hevcdsp.h +1 −16
libavcodec/x86/hevc/dsp_init.c+79−79
@@ -92,7 +92,7 @@ IDCT_FUNCS(avx) · 91 unmodified lines
9292 const uint8_t *vf = ff_hevc_ ## f ## _filters[my];
9393
9494 #define FW_PUT(p, a, b, depth, opt) \
95−void ff_hevc_put_ ## a ## _ ## depth ## _##opt(int16_t *dst, const uint8_t *src, ptrdiff_t srcstride, \
95+static void hevc_put_ ## a ## _ ## depth ## _##opt(int16_t *dst, const uint8_t *src, ptrdiff_t srcstride, \
9696 int height, intptr_t mx, intptr_t my,int width) \
9797 { \
9898 DECL_HV_FILTER(p) \
@@ -190,7 +190,7 @@ FW_QPEL_HV(16, 10, avx2) · 91 unmodified lines
190190 #endif
191191
192192 #define mc_rep_func(name, bitd, step, W, opt) \
193−void ff_hevc_put_##name##W##_##bitd##_##opt(int16_t *_dst, \
193+static void hevc_put_##name##W##_##bitd##_##opt(int16_t *_dst, \
194194 const uint8_t *_src, ptrdiff_t _srcstride, int height, \
195195 intptr_t mx, intptr_t my, int width) \
196196 { \
@@ -199,7 +199,7 @@ void ff_hevc_put_##name##W##_##bitd##_##opt(int16_t *_dst, · 2 unmodified lines
199199 for (i = 0; i < W; i += step) { \
200200 const uint8_t *src = _src + (i * ((bitd + 7) / 8)); \
201201 dst = _dst + i; \
202− ff_hevc_put_##name##step##_##bitd##_##opt(dst, src, _srcstride, height, mx, my, width); \
202+ hevc_put_##name##step##_##bitd##_##opt(dst, src, _srcstride, height, mx, my, width); \
203203 } \
204204 }
205205 #define mc_rep_uni_func(name, bitd, step, W, opt) \
@@ -238,13 +238,13 @@ void ff_hevc_put_bi_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dststrid · 32 unmodified lines
238238 mc_rep_bi_func(name, bitd, step, W, opt)
239239
240240 #define mc_rep_func2(name, bitd, step1, step2, W, opt) \
241−void ff_hevc_put_##name##W##_##bitd##_##opt(int16_t *dst, \
242− const uint8_t *src, ptrdiff_t _srcstride, int height, \
243− intptr_t mx, intptr_t my, int width) \
241+static void hevc_put_##name##W##_##bitd##_##opt(int16_t *dst, \
242+ const uint8_t *src, ptrdiff_t _srcstride, int height, \
243+ intptr_t mx, intptr_t my, int width) \
244244 { \
245− ff_hevc_put_##name##step1##_##bitd##_##opt(dst, src, _srcstride, height, mx, my, width); \
246− ff_hevc_put_##name##step2##_##bitd##_##opt(dst + step1, src + (step1 * ((bitd + 7) / 8)), \
247− _srcstride, height, mx, my, width); \
245+ hevc_put_##name##step1##_##bitd##_##opt(dst, src, _srcstride, height, mx, my, width); \
246+ hevc_put_##name##step2##_##bitd##_##opt(dst + step1, src + (step1 * ((bitd + 7) / 8)), \
247+ _srcstride, height, mx, my, width); \
248248 }
249249 #define mc_rep_uni_func2(name, bitd, step1, step2, W, opt) \
250250 static void hevc_put_uni_##name##W##_##bitd##_##opt(uint8_t *dst, ptrdiff_t dststride, \
@@ -275,12 +275,12 @@ void ff_hevc_put_bi_##name##W##_##bitd##_##opt(uint8_t *dst, ptrdiff_t dststride · 24 unmodified lines
275275 #if ARCH_X86_64 && HAVE_SSE4_EXTERNAL
276276
277277 #define mc_rep_mix_10(name, width1, width2, width3, opt1, opt2, width4) \
278−void ff_hevc_put_##name##width1##_10_##opt1(int16_t *dst, const uint8_t *src, ptrdiff_t _srcstride, \
278+static void hevc_put_##name##width1##_10_##opt1(int16_t *dst, const uint8_t *src, ptrdiff_t _srcstride, \
279279 int height, intptr_t mx, intptr_t my, int width) \
280280 \
281281 { \
282− ff_hevc_put_##name##width2##_10_##opt1(dst, src, _srcstride, height, mx, my, width); \
283− ff_hevc_put_##name##width3##_10_##opt2(dst+ width2, src+ width4, _srcstride, height, mx, my, width); \
282+ hevc_put_##name##width2##_10_##opt1(dst, src, _srcstride, height, mx, my, width); \
283+ hevc_put_##name##width3##_10_##opt2(dst+ width2, src+ width4, _srcstride, height, mx, my, width); \
284284 }
285285
286286 #define mc_bi_rep_mix_10(name, width1, width2, width3, opt1, opt2, width4) \
@@ -311,12 +311,12 @@ mc_bi_rep_mix_10(name, width1, width2, width3, opt1, opt2, width4) \ · 24 unmodified lines
311311 mc_uni_rep_mix_10(name, width1, width2, width3, opt1, opt2, width4)
312312
313313 #define mc_rep_mix_8(name, width1, width2, width3, opt1, opt2) \
314−void ff_hevc_put_##name##width1##_8_##opt1(int16_t *dst, const uint8_t *src, ptrdiff_t _srcstride, \
314+static void hevc_put_##name##width1##_8_##opt1(int16_t *dst, const uint8_t *src, ptrdiff_t _srcstride, \
315315 int height, intptr_t mx, intptr_t my, int width) \
316316 \
317317 { \
318− ff_hevc_put_##name##width2##_8_##opt1(dst, src, _srcstride, height, mx, my, width); \
319− ff_hevc_put_##name##width3##_8_##opt2(dst+ width2, src+ width2, _srcstride, height, mx, my, width); \
318+ hevc_put_##name##width2##_8_##opt1(dst, src, _srcstride, height, mx, my, width); \
319+ hevc_put_##name##width3##_8_##opt2(dst+ width2, src+ width2, _srcstride, height, mx, my, width); \
320320 }
321321
322322 #define mc_bi_rep_mix_8(name, width1, width2, width3, opt1, opt2) \
@@ -615,7 +615,7 @@ static void hevc_put_uni_w_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t _ · 292 unmodified lines
615615 intptr_t mx, intptr_t my, int width) \
616616 { \
617617 LOCAL_ALIGNED_16(int16_t, temp, [71 * MAX_PB_SIZE]); \
618− ff_hevc_put_##name##W##_##bitd##_##opt(temp, _src, _srcstride, height, mx, my, width); \
618+ hevc_put_##name##W##_##bitd##_##opt(temp, _src, _srcstride, height, mx, my, width); \
619619 ff_hevc_put_uni_w##W##_##bitd##_##opt(_dst, _dststride, temp, height, denom, _wx, _ox); \
620620 }
621621
@@ -674,7 +674,7 @@ static void hevc_put_bi_w_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t _d · 52 unmodified lines
674674 intptr_t mx, intptr_t my, int width) \
675675 { \
676676 LOCAL_ALIGNED_16(int16_t, temp, [71 * MAX_PB_SIZE]); \
677− ff_hevc_put_##name##W##_##bitd##_##opt(temp, _src, _srcstride, height, mx, my, width); \
677+ hevc_put_##name##W##_##bitd##_##opt(temp, _src, _srcstride, height, mx, my, width); \
678678 ff_hevc_put_bi_w##W##_##bitd##_##opt(_dst, _dststride, temp, _src2, \
679679 height, denom, _wx0, _wx1, _ox0, _ox1); \
680680 }
@@ -886,13 +886,13 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 205 unmodified lines
886886 c->idct_dc[3] = ff_hevc_idct_32x32_dc_8_avx2;
887887
888888 #if ARCH_X86_64
889− c->put_hevc_epel[7][0][0] = ff_hevc_put_pel_pixels32_8_avx2;
890− c->put_hevc_epel[8][0][0] = ff_hevc_put_pel_pixels48_8_avx2;
891− c->put_hevc_epel[9][0][0] = ff_hevc_put_pel_pixels64_8_avx2;
889+ c->put_hevc_epel[7][0][0] = hevc_put_pel_pixels32_8_avx2;
890+ c->put_hevc_epel[8][0][0] = hevc_put_pel_pixels48_8_avx2;
891+ c->put_hevc_epel[9][0][0] = hevc_put_pel_pixels64_8_avx2;
892892
893− c->put_hevc_qpel[7][0][0] = ff_hevc_put_pel_pixels32_8_avx2;
894− c->put_hevc_qpel[8][0][0] = ff_hevc_put_pel_pixels48_8_avx2;
895− c->put_hevc_qpel[9][0][0] = ff_hevc_put_pel_pixels64_8_avx2;
893+ c->put_hevc_qpel[7][0][0] = hevc_put_pel_pixels32_8_avx2;
894+ c->put_hevc_qpel[8][0][0] = hevc_put_pel_pixels48_8_avx2;
895+ c->put_hevc_qpel[9][0][0] = hevc_put_pel_pixels64_8_avx2;
896896
897897 c->put_hevc_epel_uni[7][0][0] = hevc_put_uni_pel_pixels32_8_avx2;
898898 c->put_hevc_epel_uni[8][0][0] = hevc_put_uni_pel_pixels48_8_avx2;
@@ -910,9 +910,9 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 11 unmodified lines
910910 c->put_hevc_epel_bi[8][0][0] = ff_hevc_put_bi_pel_pixels48_8_avx2;
911911 c->put_hevc_epel_bi[9][0][0] = ff_hevc_put_bi_pel_pixels64_8_avx2;
912912
913− c->put_hevc_epel[7][0][1] = ff_hevc_put_epel_h32_8_avx2;
914− c->put_hevc_epel[8][0][1] = ff_hevc_put_epel_h48_8_avx2;
915− c->put_hevc_epel[9][0][1] = ff_hevc_put_epel_h64_8_avx2;
913+ c->put_hevc_epel[7][0][1] = hevc_put_epel_h32_8_avx2;
914+ c->put_hevc_epel[8][0][1] = hevc_put_epel_h48_8_avx2;
915+ c->put_hevc_epel[9][0][1] = hevc_put_epel_h64_8_avx2;
916916
917917 c->put_hevc_epel_uni[7][0][1] = hevc_put_uni_epel_h32_8_avx2;
918918 c->put_hevc_epel_uni[8][0][1] = hevc_put_uni_epel_h48_8_avx2;
@@ -922,9 +922,9 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 3 unmodified lines
922922 c->put_hevc_epel_bi[8][0][1] = ff_hevc_put_bi_epel_h48_8_avx2;
923923 c->put_hevc_epel_bi[9][0][1] = ff_hevc_put_bi_epel_h64_8_avx2;
924924
925− c->put_hevc_epel[7][1][0] = ff_hevc_put_epel_v32_8_avx2;
926− c->put_hevc_epel[8][1][0] = ff_hevc_put_epel_v48_8_avx2;
927− c->put_hevc_epel[9][1][0] = ff_hevc_put_epel_v64_8_avx2;
925+ c->put_hevc_epel[7][1][0] = hevc_put_epel_v32_8_avx2;
926+ c->put_hevc_epel[8][1][0] = hevc_put_epel_v48_8_avx2;
927+ c->put_hevc_epel[9][1][0] = hevc_put_epel_v64_8_avx2;
928928
929929 c->put_hevc_epel_uni[7][1][0] = hevc_put_uni_epel_v32_8_avx2;
930930 c->put_hevc_epel_uni[8][1][0] = hevc_put_uni_epel_v48_8_avx2;
@@ -934,9 +934,9 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 3 unmodified lines
934934 c->put_hevc_epel_bi[8][1][0] = ff_hevc_put_bi_epel_v48_8_avx2;
935935 c->put_hevc_epel_bi[9][1][0] = ff_hevc_put_bi_epel_v64_8_avx2;
936936
937− c->put_hevc_epel[7][1][1] = ff_hevc_put_epel_hv32_8_avx2;
938− c->put_hevc_epel[8][1][1] = ff_hevc_put_epel_hv48_8_avx2;
939− c->put_hevc_epel[9][1][1] = ff_hevc_put_epel_hv64_8_avx2;
937+ c->put_hevc_epel[7][1][1] = hevc_put_epel_hv32_8_avx2;
938+ c->put_hevc_epel[8][1][1] = hevc_put_epel_hv48_8_avx2;
939+ c->put_hevc_epel[9][1][1] = hevc_put_epel_hv64_8_avx2;
940940
941941 c->put_hevc_epel_uni[7][1][1] = hevc_put_uni_epel_hv32_8_avx2;
942942 c->put_hevc_epel_uni[8][1][1] = hevc_put_uni_epel_hv48_8_avx2;
@@ -946,13 +946,13 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 3 unmodified lines
946946 c->put_hevc_epel_bi[8][1][1] = ff_hevc_put_bi_epel_hv48_8_avx2;
947947 c->put_hevc_epel_bi[9][1][1] = ff_hevc_put_bi_epel_hv64_8_avx2;
948948
949− c->put_hevc_qpel[7][0][1] = ff_hevc_put_qpel_h32_8_avx2;
950− c->put_hevc_qpel[8][0][1] = ff_hevc_put_qpel_h48_8_avx2;
951− c->put_hevc_qpel[9][0][1] = ff_hevc_put_qpel_h64_8_avx2;
949+ c->put_hevc_qpel[7][0][1] = hevc_put_qpel_h32_8_avx2;
950+ c->put_hevc_qpel[8][0][1] = hevc_put_qpel_h48_8_avx2;
951+ c->put_hevc_qpel[9][0][1] = hevc_put_qpel_h64_8_avx2;
952952
953− c->put_hevc_qpel[7][1][0] = ff_hevc_put_qpel_v32_8_avx2;
954− c->put_hevc_qpel[8][1][0] = ff_hevc_put_qpel_v48_8_avx2;
955− c->put_hevc_qpel[9][1][0] = ff_hevc_put_qpel_v64_8_avx2;
953+ c->put_hevc_qpel[7][1][0] = hevc_put_qpel_v32_8_avx2;
954+ c->put_hevc_qpel[8][1][0] = hevc_put_qpel_v48_8_avx2;
955+ c->put_hevc_qpel[9][1][0] = hevc_put_qpel_v64_8_avx2;
956956
957957 c->put_hevc_qpel_uni[7][0][1] = hevc_put_uni_qpel_h32_8_avx2;
958958 c->put_hevc_qpel_uni[8][0][1] = hevc_put_uni_qpel_h48_8_avx2;
@@ -1059,17 +1059,17 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 100 unmodified lines
10591059 c->idct_dc[3] = ff_hevc_idct_32x32_dc_10_avx2;
10601060
10611061 #if ARCH_X86_64
1062− c->put_hevc_epel[5][0][0] = ff_hevc_put_pel_pixels16_10_avx2;
1063− c->put_hevc_epel[6][0][0] = ff_hevc_put_pel_pixels24_10_avx2;
1064− c->put_hevc_epel[7][0][0] = ff_hevc_put_pel_pixels32_10_avx2;
1065− c->put_hevc_epel[8][0][0] = ff_hevc_put_pel_pixels48_10_avx2;
1066− c->put_hevc_epel[9][0][0] = ff_hevc_put_pel_pixels64_10_avx2;
1067−
1068− c->put_hevc_qpel[5][0][0] = ff_hevc_put_pel_pixels16_10_avx2;
1069− c->put_hevc_qpel[6][0][0] = ff_hevc_put_pel_pixels24_10_avx2;
1070− c->put_hevc_qpel[7][0][0] = ff_hevc_put_pel_pixels32_10_avx2;
1071− c->put_hevc_qpel[8][0][0] = ff_hevc_put_pel_pixels48_10_avx2;
1072− c->put_hevc_qpel[9][0][0] = ff_hevc_put_pel_pixels64_10_avx2;
1062+ c->put_hevc_epel[5][0][0] = hevc_put_pel_pixels16_10_avx2;
1063+ c->put_hevc_epel[6][0][0] = hevc_put_pel_pixels24_10_avx2;
1064+ c->put_hevc_epel[7][0][0] = hevc_put_pel_pixels32_10_avx2;
1065+ c->put_hevc_epel[8][0][0] = hevc_put_pel_pixels48_10_avx2;
1066+ c->put_hevc_epel[9][0][0] = hevc_put_pel_pixels64_10_avx2;
1067+
1068+ c->put_hevc_qpel[5][0][0] = hevc_put_pel_pixels16_10_avx2;
1069+ c->put_hevc_qpel[6][0][0] = hevc_put_pel_pixels24_10_avx2;
1070+ c->put_hevc_qpel[7][0][0] = hevc_put_pel_pixels32_10_avx2;
1071+ c->put_hevc_qpel[8][0][0] = hevc_put_pel_pixels48_10_avx2;
1072+ c->put_hevc_qpel[9][0][0] = hevc_put_pel_pixels64_10_avx2;
10731073
10741074 c->put_hevc_epel_uni[5][0][0] = hevc_put_uni_pel_pixels32_8_avx2;
10751075 c->put_hevc_epel_uni[6][0][0] = hevc_put_uni_pel_pixels48_8_avx2;
@@ -1094,11 +1094,11 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 18 unmodified lines
10941094 c->put_hevc_qpel_bi[8][0][0] = ff_hevc_put_bi_pel_pixels48_10_avx2;
10951095 c->put_hevc_qpel_bi[9][0][0] = ff_hevc_put_bi_pel_pixels64_10_avx2;
10961096
1097− c->put_hevc_epel[5][0][1] = ff_hevc_put_epel_h16_10_avx2;
1098− c->put_hevc_epel[6][0][1] = ff_hevc_put_epel_h24_10_avx2;
1099− c->put_hevc_epel[7][0][1] = ff_hevc_put_epel_h32_10_avx2;
1100− c->put_hevc_epel[8][0][1] = ff_hevc_put_epel_h48_10_avx2;
1101− c->put_hevc_epel[9][0][1] = ff_hevc_put_epel_h64_10_avx2;
1097+ c->put_hevc_epel[5][0][1] = hevc_put_epel_h16_10_avx2;
1098+ c->put_hevc_epel[6][0][1] = hevc_put_epel_h24_10_avx2;
1099+ c->put_hevc_epel[7][0][1] = hevc_put_epel_h32_10_avx2;
1100+ c->put_hevc_epel[8][0][1] = hevc_put_epel_h48_10_avx2;
1101+ c->put_hevc_epel[9][0][1] = hevc_put_epel_h64_10_avx2;
11021102
11031103 c->put_hevc_epel_uni[5][0][1] = hevc_put_uni_epel_h16_10_avx2;
11041104 c->put_hevc_epel_uni[6][0][1] = hevc_put_uni_epel_h24_10_avx2;
@@ -1112,11 +1112,11 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 7 unmodified lines
11121112 c->put_hevc_epel_bi[8][0][1] = ff_hevc_put_bi_epel_h48_10_avx2;
11131113 c->put_hevc_epel_bi[9][0][1] = ff_hevc_put_bi_epel_h64_10_avx2;
11141114
1115− c->put_hevc_epel[5][1][0] = ff_hevc_put_epel_v16_10_avx2;
1116− c->put_hevc_epel[6][1][0] = ff_hevc_put_epel_v24_10_avx2;
1117− c->put_hevc_epel[7][1][0] = ff_hevc_put_epel_v32_10_avx2;
1118− c->put_hevc_epel[8][1][0] = ff_hevc_put_epel_v48_10_avx2;
1119− c->put_hevc_epel[9][1][0] = ff_hevc_put_epel_v64_10_avx2;
1115+ c->put_hevc_epel[5][1][0] = hevc_put_epel_v16_10_avx2;
1116+ c->put_hevc_epel[6][1][0] = hevc_put_epel_v24_10_avx2;
1117+ c->put_hevc_epel[7][1][0] = hevc_put_epel_v32_10_avx2;
1118+ c->put_hevc_epel[8][1][0] = hevc_put_epel_v48_10_avx2;
1119+ c->put_hevc_epel[9][1][0] = hevc_put_epel_v64_10_avx2;
11201120
11211121 c->put_hevc_epel_uni[5][1][0] = hevc_put_uni_epel_v16_10_avx2;
11221122 c->put_hevc_epel_uni[6][1][0] = hevc_put_uni_epel_v24_10_avx2;
@@ -1130,11 +1130,11 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 7 unmodified lines
11301130 c->put_hevc_epel_bi[8][1][0] = ff_hevc_put_bi_epel_v48_10_avx2;
11311131 c->put_hevc_epel_bi[9][1][0] = ff_hevc_put_bi_epel_v64_10_avx2;
11321132
1133− c->put_hevc_epel[5][1][1] = ff_hevc_put_epel_hv16_10_avx2;
1134− c->put_hevc_epel[6][1][1] = ff_hevc_put_epel_hv24_10_avx2;
1135− c->put_hevc_epel[7][1][1] = ff_hevc_put_epel_hv32_10_avx2;
1136− c->put_hevc_epel[8][1][1] = ff_hevc_put_epel_hv48_10_avx2;
1137− c->put_hevc_epel[9][1][1] = ff_hevc_put_epel_hv64_10_avx2;
1133+ c->put_hevc_epel[5][1][1] = hevc_put_epel_hv16_10_avx2;
1134+ c->put_hevc_epel[6][1][1] = hevc_put_epel_hv24_10_avx2;
1135+ c->put_hevc_epel[7][1][1] = hevc_put_epel_hv32_10_avx2;
1136+ c->put_hevc_epel[8][1][1] = hevc_put_epel_hv48_10_avx2;
1137+ c->put_hevc_epel[9][1][1] = hevc_put_epel_hv64_10_avx2;
11381138
11391139 c->put_hevc_epel_uni[5][1][1] = hevc_put_uni_epel_hv16_10_avx2;
11401140 c->put_hevc_epel_uni[6][1][1] = hevc_put_uni_epel_hv24_10_avx2;
@@ -1148,11 +1148,11 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 7 unmodified lines
11481148 c->put_hevc_epel_bi[8][1][1] = ff_hevc_put_bi_epel_hv48_10_avx2;
11491149 c->put_hevc_epel_bi[9][1][1] = ff_hevc_put_bi_epel_hv64_10_avx2;
11501150
1151− c->put_hevc_qpel[5][0][1] = ff_hevc_put_qpel_h16_10_avx2;
1152− c->put_hevc_qpel[6][0][1] = ff_hevc_put_qpel_h24_10_avx2;
1153− c->put_hevc_qpel[7][0][1] = ff_hevc_put_qpel_h32_10_avx2;
1154− c->put_hevc_qpel[8][0][1] = ff_hevc_put_qpel_h48_10_avx2;
1155− c->put_hevc_qpel[9][0][1] = ff_hevc_put_qpel_h64_10_avx2;
1151+ c->put_hevc_qpel[5][0][1] = hevc_put_qpel_h16_10_avx2;
1152+ c->put_hevc_qpel[6][0][1] = hevc_put_qpel_h24_10_avx2;
1153+ c->put_hevc_qpel[7][0][1] = hevc_put_qpel_h32_10_avx2;
1154+ c->put_hevc_qpel[8][0][1] = hevc_put_qpel_h48_10_avx2;
1155+ c->put_hevc_qpel[9][0][1] = hevc_put_qpel_h64_10_avx2;
11561156
11571157 c->put_hevc_qpel_uni[5][0][1] = hevc_put_uni_qpel_h16_10_avx2;
11581158 c->put_hevc_qpel_uni[6][0][1] = hevc_put_uni_qpel_h24_10_avx2;
@@ -1166,11 +1166,11 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 7 unmodified lines
11661166 c->put_hevc_qpel_bi[8][0][1] = ff_hevc_put_bi_qpel_h48_10_avx2;
11671167 c->put_hevc_qpel_bi[9][0][1] = ff_hevc_put_bi_qpel_h64_10_avx2;
11681168
1169− c->put_hevc_qpel[5][1][0] = ff_hevc_put_qpel_v16_10_avx2;
1170− c->put_hevc_qpel[6][1][0] = ff_hevc_put_qpel_v24_10_avx2;
1171− c->put_hevc_qpel[7][1][0] = ff_hevc_put_qpel_v32_10_avx2;
1172− c->put_hevc_qpel[8][1][0] = ff_hevc_put_qpel_v48_10_avx2;
1173− c->put_hevc_qpel[9][1][0] = ff_hevc_put_qpel_v64_10_avx2;
1169+ c->put_hevc_qpel[5][1][0] = hevc_put_qpel_v16_10_avx2;
1170+ c->put_hevc_qpel[6][1][0] = hevc_put_qpel_v24_10_avx2;
1171+ c->put_hevc_qpel[7][1][0] = hevc_put_qpel_v32_10_avx2;
1172+ c->put_hevc_qpel[8][1][0] = hevc_put_qpel_v48_10_avx2;
1173+ c->put_hevc_qpel[9][1][0] = hevc_put_qpel_v64_10_avx2;
11741174
11751175 c->put_hevc_qpel_uni[5][1][0] = hevc_put_uni_qpel_v16_10_avx2;
11761176 c->put_hevc_qpel_uni[6][1][0] = hevc_put_uni_qpel_v24_10_avx2;
@@ -1184,11 +1184,11 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth) · 7 unmodified lines
11841184 c->put_hevc_qpel_bi[8][1][0] = ff_hevc_put_bi_qpel_v48_10_avx2;
11851185 c->put_hevc_qpel_bi[9][1][0] = ff_hevc_put_bi_qpel_v64_10_avx2;
11861186
1187− c->put_hevc_qpel[5][1][1] = ff_hevc_put_qpel_hv16_10_avx2;
1188− c->put_hevc_qpel[6][1][1] = ff_hevc_put_qpel_hv24_10_avx2;
1189− c->put_hevc_qpel[7][1][1] = ff_hevc_put_qpel_hv32_10_avx2;
1190− c->put_hevc_qpel[8][1][1] = ff_hevc_put_qpel_hv48_10_avx2;
1191− c->put_hevc_qpel[9][1][1] = ff_hevc_put_qpel_hv64_10_avx2;
1187+ c->put_hevc_qpel[5][1][1] = hevc_put_qpel_hv16_10_avx2;
1188+ c->put_hevc_qpel[6][1][1] = hevc_put_qpel_hv24_10_avx2;
1189+ c->put_hevc_qpel[7][1][1] = hevc_put_qpel_hv32_10_avx2;
1190+ c->put_hevc_qpel[8][1][1] = hevc_put_qpel_hv48_10_avx2;
1191+ c->put_hevc_qpel[9][1][1] = hevc_put_qpel_hv64_10_avx2;
11921192
11931193 c->put_hevc_qpel_uni[5][1][1] = hevc_put_uni_qpel_hv16_10_avx2;
11941194 c->put_hevc_qpel_uni[6][1][1] = hevc_put_uni_qpel_hv24_10_avx2;
libavcodec/x86/hevcdsp.h+1−16
@@ -30,7 +30,7 @@ · 29 unmodified lines
3030
3131
3232 #define PEL_LINK(dst, idx1, idx2, idx3, name, D, opt) \
33−dst[idx1][idx2][idx3] = ff_hevc_put_ ## name ## _ ## D ## _##opt; \
33+dst[idx1][idx2][idx3] = hevc_put_ ## name ## _ ## D ## _##opt; \
3434 dst ## _bi[idx1][idx2][idx3] = ff_hevc_put_bi_ ## name ## _ ## D ## _##opt; \
3535 dst ## _uni[idx1][idx2][idx3] = hevc_put_uni_ ## name ## _ ## D ## _##opt; \
3636 dst ## _uni_w[idx1][idx2][idx3] = hevc_put_uni_w_ ## name ## _ ## D ## _##opt; \
@@ -38,7 +38,6 @@ dst ## _bi_w[idx1][idx2][idx3] = hevc_put_bi_w_ ## name ## _ ## D ## _##opt · 1 unmodified line
3838
3939
4040 #define PEL_PROTOTYPE(name, D, opt) \
41−void ff_hevc_put_ ## name ## _ ## D ## _##opt(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width); \
4241 void ff_hevc_put_bi_ ## name ## _ ## D ## _##opt(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width); \
4342
4443
@@ -90,20 +89,6 @@ EPEL_PROTOTYPES(pel_pixels , 8, sse4); · 45 unmodified lines
9089 EPEL_PROTOTYPES(pel_pixels , 10, sse4);
9190 EPEL_PROTOTYPES(pel_pixels , 12, sse4);
9291
93−void ff_hevc_put_pel_pixels16_8_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
94−void ff_hevc_put_pel_pixels24_8_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
95−void ff_hevc_put_pel_pixels32_8_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
96−void ff_hevc_put_pel_pixels48_8_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
97−void ff_hevc_put_pel_pixels64_8_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
98−
99−void ff_hevc_put_pel_pixels16_10_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
100−void ff_hevc_put_pel_pixels24_10_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
101−void ff_hevc_put_pel_pixels32_10_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
102−void ff_hevc_put_pel_pixels48_10_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
103−void ff_hevc_put_pel_pixels64_10_avx2(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int width);
104−
105−
106−
10792 void ff_hevc_put_bi_pel_pixels16_8_avx2(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width);
10893 void ff_hevc_put_bi_pel_pixels24_8_avx2(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width);
10994 void ff_hevc_put_bi_pel_pixels32_8_avx2(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t