Go to the documentation of this file.
19 #ifndef AVCODEC_RISCV_VP8DSP_H
20 #define AVCODEC_RISCV_VP8DSP_H
24 #define VP8_LF_Y(hv, inner, opt) \
25 void ff_vp8_##hv##_loop_filter16##inner##_##opt(uint8_t *dst, \
27 int flim_E, int flim_I, \
30 #define VP8_LF_UV(hv, inner, opt) \
31 void ff_vp8_##hv##_loop_filter8uv##inner##_##opt(uint8_t *dstU, \
34 int flim_E, int flim_I, \
37 #define VP8_LF_SIMPLE(hv, opt) \
38 void ff_vp8_##hv##_loop_filter16_simple_##opt(uint8_t *dst, \
42 #define VP8_LF_HV(inner, opt) \
43 VP8_LF_Y(h, inner, opt); \
44 VP8_LF_Y(v, inner, opt); \
45 VP8_LF_UV(h, inner, opt); \
46 VP8_LF_UV(v, inner, opt)
50 VP8_LF_HV(_inner, opt); \
51 VP8_LF_SIMPLE(h, opt); \
54 #define VP8_MC(n, opt) \
55 void ff_put_vp8_##n##_##opt(uint8_t *dst, ptrdiff_t dststride, \
56 const uint8_t *src, ptrdiff_t srcstride,\
59 #define VP8_EPEL(w, opt) \
60 VP8_MC(pixels ## w, opt); \
61 VP8_MC(epel ## w ## _h4, opt); \
62 VP8_MC(epel ## w ## _h6, opt); \
63 VP8_MC(epel ## w ## _v4, opt); \
64 VP8_MC(epel ## w ## _h4v4, opt); \
65 VP8_MC(epel ## w ## _h6v4, opt); \
66 VP8_MC(epel ## w ## _v6, opt); \
67 VP8_MC(epel ## w ## _h4v6, opt); \
68 VP8_MC(epel ## w ## _h6v6, opt)
70 #define VP8_BILIN(w, opt) \
71 VP8_MC(bilin ## w ## _h, opt); \
72 VP8_MC(bilin ## w ## _v, opt); \
73 VP8_MC(bilin ## w ## _hv, opt)