24#ifndef AVCODEC_X86_H26X_H2656DSP_H
25#define AVCODEC_X86_H26X_H2656DSP_H
30#define H2656_PEL_PROTOTYPE(name, D, opt) \
31void ff_h2656_put_ ## name ## _ ## D ## _##opt(int16_t *dst, ptrdiff_t dststride, const uint8_t *_src, ptrdiff_t _srcstride, int height, const int8_t *hf, const int8_t *vf, int width); \
32void ff_h2656_put_uni_ ## name ## _ ## D ## _##opt(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, int height, const int8_t *hf, const int8_t *vf, int width) \
34#define H2656_MC_8TAP_PROTOTYPES(fname, bitd, opt) \
35 H2656_PEL_PROTOTYPE(fname##4, bitd, opt); \
36 H2656_PEL_PROTOTYPE(fname##6, bitd, opt); \
37 H2656_PEL_PROTOTYPE(fname##8, bitd, opt); \
38 H2656_PEL_PROTOTYPE(fname##12, bitd, opt); \
39 H2656_PEL_PROTOTYPE(fname##16, bitd, opt); \
40 H2656_PEL_PROTOTYPE(fname##32, bitd, opt); \
41 H2656_PEL_PROTOTYPE(fname##64, bitd, opt); \
42 H2656_PEL_PROTOTYPE(fname##128, bitd, opt)
57#define H2656_MC_4TAP_PROTOTYPES(fname, bitd, opt) \
58 H2656_PEL_PROTOTYPE(fname##2, bitd, opt); \
59 H2656_PEL_PROTOTYPE(fname##4, bitd, opt); \
60 H2656_PEL_PROTOTYPE(fname##6, bitd, opt); \
61 H2656_PEL_PROTOTYPE(fname##8, bitd, opt); \
62 H2656_PEL_PROTOTYPE(fname##12, bitd, opt); \
63 H2656_PEL_PROTOTYPE(fname##16, bitd, opt); \
64 H2656_PEL_PROTOTYPE(fname##32, bitd, opt); \
65 H2656_PEL_PROTOTYPE(fname##64, bitd, opt); \
66 H2656_PEL_PROTOTYPE(fname##128, bitd, opt)
68#define H2656_MC_4TAP_PROTOTYPES_SSE4(bitd) \
69 H2656_PEL_PROTOTYPE(pixels2, bitd, sse4); \
70 H2656_MC_4TAP_PROTOTYPES(4tap_h, bitd, sse4); \
71 H2656_MC_4TAP_PROTOTYPES(4tap_v, bitd, sse4); \
72 H2656_MC_4TAP_PROTOTYPES(4tap_hv, bitd, sse4); \
78#define H2656_MC_8TAP_PROTOTYPES_AVX2(fname) \
79 H2656_PEL_PROTOTYPE(fname##32 , 8, avx2); \
80 H2656_PEL_PROTOTYPE(fname##64 , 8, avx2); \
81 H2656_PEL_PROTOTYPE(fname##128, 8, avx2); \
82 H2656_PEL_PROTOTYPE(fname##16 ,10, avx2); \
83 H2656_PEL_PROTOTYPE(fname##32 ,10, avx2); \
84 H2656_PEL_PROTOTYPE(fname##64 ,10, avx2); \
85 H2656_PEL_PROTOTYPE(fname##128,10, avx2); \
86 H2656_PEL_PROTOTYPE(fname##16 ,12, avx2); \
87 H2656_PEL_PROTOTYPE(fname##32 ,12, avx2); \
88 H2656_PEL_PROTOTYPE(fname##64 ,12, avx2); \
89 H2656_PEL_PROTOTYPE(fname##128,12, avx2) \
#define H2656_MC_8TAP_PROTOTYPES_AVX2(fname)
#define H2656_MC_4TAP_PROTOTYPES_SSE4(bitd)
#define H2656_MC_8TAP_PROTOTYPES(fname, bitd, opt)
#define H2656_PEL_PROTOTYPE(name, D, opt)