28#include "config_components.h"
36#define MK_IDCT_DC_ADD4_C(name) \
37static void name ## _idct_dc_add4uv_c(uint8_t *dst, int16_t block[4][16], \
40 name ## _idct_dc_add_c(dst + stride * 0 + 0, block[0], stride); \
41 name ## _idct_dc_add_c(dst + stride * 0 + 4, block[1], stride); \
42 name ## _idct_dc_add_c(dst + stride * 4 + 0, block[2], stride); \
43 name ## _idct_dc_add_c(dst + stride * 4 + 4, block[3], stride); \
46static void name ## _idct_dc_add4y_c(uint8_t *dst, int16_t block[4][16], \
49 name ## _idct_dc_add_c(dst + 0, block[0], stride); \
50 name ## _idct_dc_add_c(dst + 4, block[1], stride); \
51 name ## _idct_dc_add_c(dst + 8, block[2], stride); \
52 name ## _idct_dc_add_c(dst + 12, block[3], stride); \
56static void vp7_luma_dc_wht_c(int16_t
block[4][4][16], int16_t dc[16])
62 for (
i = 0;
i < 4;
i++) {
63 a1 = (dc[
i * 4 + 0] + dc[
i * 4 + 2]) * 23170;
64 b1 = (dc[
i * 4 + 0] - dc[
i * 4 + 2]) * 23170;
65 c1 = dc[
i * 4 + 1] * 12540 - dc[
i * 4 + 3] * 30274;
66 d1 = dc[
i * 4 + 1] * 30274 + dc[
i * 4 + 3] * 12540;
67 tmp[
i * 4 + 0] = (int)(
a1 + d1) >> 14;
68 tmp[
i * 4 + 3] = (int)(
a1 - d1) >> 14;
69 tmp[
i * 4 + 1] = (int)(
b1 +
c1) >> 14;
70 tmp[
i * 4 + 2] = (int)(
b1 -
c1) >> 14;
73 for (
i = 0;
i < 4;
i++) {
77 d1 =
tmp[
i + 4] * 30274 +
tmp[
i + 12] * 12540;
79 block[0][
i][0] = (int)(
a1 + d1 + 0x20000) >> 18;
80 block[3][
i][0] = (int)(
a1 - d1 + 0x20000) >> 18;
81 block[1][
i][0] = (int)(
b1 +
c1 + 0x20000) >> 18;
82 block[2][
i][0] = (int)(
b1 -
c1 + 0x20000) >> 18;
86static void vp7_luma_dc_wht_dc_c(int16_t
block[4][4][16], int16_t dc[16])
88 int i,
val = (23170 * (23170 * dc[0] >> 14) + 0x20000) >> 18;
91 for (
i = 0;
i < 4;
i++) {
99static void vp7_idct_add_c(uint8_t *
dst, int16_t
block[16], ptrdiff_t
stride)
105 for (
i = 0;
i < 4;
i++) {
109 d1 =
block[
i * 4 + 1] * 30274 +
block[
i * 4 + 3] * 12540;
111 tmp[
i * 4 + 0] = (int)(
a1 + d1) >> 14;
112 tmp[
i * 4 + 3] = (int)(
a1 - d1) >> 14;
113 tmp[
i * 4 + 1] = (int)(
b1 +
c1) >> 14;
114 tmp[
i * 4 + 2] = (int)(
b1 -
c1) >> 14;
117 for (
i = 0;
i < 4;
i++) {
120 c1 =
tmp[
i + 4] * 12540 -
tmp[
i + 12] * 30274;
121 d1 =
tmp[
i + 4] * 30274 +
tmp[
i + 12] * 12540;
123 ((
int)(
a1 + d1 + 0x20000) >> 18));
125 ((
int)(
a1 - d1 + 0x20000) >> 18));
127 ((
int)(
b1 +
c1 + 0x20000) >> 18));
129 ((
int)(
b1 -
c1 + 0x20000) >> 18));
133static void vp7_idct_dc_add_c(uint8_t *
dst, int16_t
block[16], ptrdiff_t
stride)
135 int i, dc = (23170 * (23170 *
block[0] >> 14) + 0x20000) >> 18;
138 for (
i = 0;
i < 4;
i++) {
151#if CONFIG_VP8_DECODER
152static void vp8_luma_dc_wht_c(int16_t
block[4][4][16], int16_t dc[16])
154 int i, t0, t1, t2, t3;
156 for (
i = 0;
i < 4;
i++) {
157 t0 = dc[0 * 4 +
i] + dc[3 * 4 +
i];
158 t1 = dc[1 * 4 +
i] + dc[2 * 4 +
i];
159 t2 = dc[1 * 4 +
i] - dc[2 * 4 +
i];
160 t3 = dc[0 * 4 +
i] - dc[3 * 4 +
i];
162 dc[0 * 4 +
i] = t0 + t1;
163 dc[1 * 4 +
i] = t3 + t2;
164 dc[2 * 4 +
i] = t0 - t1;
165 dc[3 * 4 +
i] = t3 - t2;
168 for (
i = 0;
i < 4;
i++) {
169 t0 = dc[
i * 4 + 0] + dc[
i * 4 + 3] + 3;
170 t1 = dc[
i * 4 + 1] + dc[
i * 4 + 2];
171 t2 = dc[
i * 4 + 1] - dc[
i * 4 + 2];
172 t3 = dc[
i * 4 + 0] - dc[
i * 4 + 3] + 3;
175 block[
i][0][0] = (t0 + t1) >> 3;
176 block[
i][1][0] = (t3 + t2) >> 3;
177 block[
i][2][0] = (t0 - t1) >> 3;
178 block[
i][3][0] = (t3 - t2) >> 3;
182static void vp8_luma_dc_wht_dc_c(int16_t
block[4][4][16], int16_t dc[16])
184 int i,
val = (dc[0] + 3) >> 3;
187 for (
i = 0;
i < 4;
i++) {
195#define MUL_20091(a) ((((a) * 20091) >> 16) + (a))
196#define MUL_35468(a) (((a) * 35468) >> 16)
198static void vp8_idct_add_c(uint8_t *
dst, int16_t
block[16], ptrdiff_t
stride)
200 int i, t0, t1, t2, t3;
203 for (
i = 0;
i < 4;
i++) {
206 t2 = MUL_35468(
block[1 * 4 +
i]) - MUL_20091(
block[3 * 4 +
i]);
207 t3 = MUL_20091(
block[1 * 4 +
i]) + MUL_35468(
block[3 * 4 +
i]);
213 tmp[
i * 4 + 0] = t0 + t3;
214 tmp[
i * 4 + 1] = t1 + t2;
215 tmp[
i * 4 + 2] = t1 - t2;
216 tmp[
i * 4 + 3] = t0 - t3;
219 for (
i = 0;
i < 4;
i++) {
220 t0 =
tmp[0 * 4 +
i] +
tmp[2 * 4 +
i];
221 t1 =
tmp[0 * 4 +
i] -
tmp[2 * 4 +
i];
222 t2 = MUL_35468(
tmp[1 * 4 +
i]) - MUL_20091(
tmp[3 * 4 +
i]);
223 t3 = MUL_20091(
tmp[1 * 4 +
i]) + MUL_35468(
tmp[3 * 4 +
i]);
233static void vp8_idct_dc_add_c(uint8_t *
dst, int16_t
block[16], ptrdiff_t
stride)
235 int i, dc = (
block[0] + 4) >> 3;
238 for (
i = 0;
i < 4;
i++) {
252 av_unused int p3 = p[-4 * stride]; \
253 av_unused int p2 = p[-3 * stride]; \
254 av_unused int p1 = p[-2 * stride]; \
255 av_unused int p0 = p[-1 * stride]; \
256 av_unused int q0 = p[ 0 * stride]; \
257 av_unused int q1 = p[ 1 * stride]; \
258 av_unused int q2 = p[ 2 * stride]; \
259 av_unused int q3 = p[ 3 * stride];
261#define clip_int8(n) (cm[(n) + 0x80] - 0x80)
264 int is4tap,
int is_vp7)
279 f1 =
FFMIN(
a + 4, 127) >> 3;
282 f2 = f1 - ((
a & 7) == 4);
284 f2 =
FFMIN(
a + 3, 127) >> 3;
329#define NORMAL_LIMIT(vpn) \
330static av_always_inline int vp ## vpn ## _normal_limit(uint8_t *p, \
335 return vp ## vpn ## _simple_limit(p, stride, E) && \
336 FFABS(p3 - p2) <= I && FFABS(p2 - p1) <= I && \
337 FFABS(p1 - p0) <= I && FFABS(q3 - q2) <= I && \
338 FFABS(q2 - q1) <= I && FFABS(q1 - q0) <= I; \
361 a0 = (27 *
w + 63) >> 7;
362 a1 = (18 *
w + 63) >> 7;
363 a2 = (9 *
w + 63) >> 7;
373#define LOOP_FILTER(vpn, dir, size, stridea, strideb, maybe_inline) \
375void vpn ## _ ## dir ## _loop_filter ## size ## _c(uint8_t *dst, \
377 int flim_E, int flim_I, \
381 for (i = 0; i < size; i++) \
382 if (vpn ## _normal_limit(dst + i * stridea, strideb, \
384 if (hev(dst + i * stridea, strideb, hev_thresh)) \
385 vpn ## _filter_common(dst + i * stridea, strideb, 1); \
387 filter_mbedge(dst + i * stridea, strideb); \
392void vpn ## _ ## dir ## _loop_filter ## size ## _inner_c(uint8_t *dst, \
399 for (i = 0; i < size; i++) \
400 if (vpn ## _normal_limit(dst + i * stridea, strideb, \
402 int hv = hev(dst + i * stridea, strideb, hev_thresh); \
404 vpn ## _filter_common(dst + i * stridea, strideb, 1); \
406 vpn ## _filter_common(dst + i * stridea, strideb, 0); \
410#define UV_LOOP_FILTER(vpn, dir, stridea, strideb) \
411LOOP_FILTER(vpn, dir, 8, stridea, strideb, av_always_inline) \
412static void vpn ## _ ## dir ## _loop_filter8uv_c(uint8_t *dstU, \
414 ptrdiff_t stride, int fE, \
415 int fI, int hev_thresh) \
417 vpn ## _ ## dir ## _loop_filter8_c(dstU, stride, fE, fI, hev_thresh); \
418 vpn ## _ ## dir ## _loop_filter8_c(dstV, stride, fE, fI, hev_thresh); \
421static void vpn ## _ ## dir ## _loop_filter8uv_inner_c(uint8_t *dstU, \
427 vpn ## _ ## dir ## _loop_filter8_inner_c(dstU, stride, fE, fI, \
429 vpn ## _ ## dir ## _loop_filter8_inner_c(dstV, stride, fE, fI, \
433#define LOOP_FILTER_SIMPLE(vpn) \
434static void vpn ## _v_loop_filter_simple_c(uint8_t *dst, ptrdiff_t stride, \
438 for (i = 0; i < 16; i++) \
439 if (vpn ## _simple_limit(dst + i, stride, flim)) \
440 vpn ## _filter_common(dst + i, stride, 1); \
443static void vpn ## _h_loop_filter_simple_c(uint8_t *dst, ptrdiff_t stride, \
447 for (i = 0; i < 16; i++) \
448 if (vpn ## _simple_limit(dst + i * stride, 1, flim)) \
449 vpn ## _filter_common(dst + i * stride, 1, 1); \
452#define LOOP_FILTERS(vpn) \
453 LOOP_FILTER(vpn, v, 16, 1, stride, ) \
454 LOOP_FILTER(vpn, h, 16, stride, 1, ) \
455 UV_LOOP_FILTER(vpn, v, 1, stride) \
456 UV_LOOP_FILTER(vpn, h, stride, 1) \
457 LOOP_FILTER_SIMPLE(vpn) \
460 { 0, 6, 123, 12, 1, 0 },
461 { 2, 11, 108, 36, 8, 1 },
462 { 0, 9, 93, 50, 6, 0 },
463 { 3, 16, 77, 77, 16, 3 },
464 { 0, 6, 50, 93, 9, 0 },
465 { 1, 8, 36, 108, 11, 2 },
466 { 0, 1, 12, 123, 6, 0 },
469#define PUT_PIXELS(WIDTH) \
470static void put_vp8_pixels ## WIDTH ## _c(uint8_t *dst, ptrdiff_t dststride, \
471 const uint8_t *src, ptrdiff_t srcstride, \
472 int h, int x, int y) \
475 for (i = 0; i < h; i++, dst += dststride, src += srcstride) \
476 memcpy(dst, src, WIDTH); \
483#define FILTER_6TAP(src, F, stride) \
484 cm[(F[2] * src[x + 0 * stride] - F[1] * src[x - 1 * stride] + \
485 F[0] * src[x - 2 * stride] + F[3] * src[x + 1 * stride] - \
486 F[4] * src[x + 2 * stride] + F[5] * src[x + 3 * stride] + 64) >> 7]
488#define FILTER_4TAP(src, F, stride) \
489 cm[(F[2] * src[x + 0 * stride] - F[1] * src[x - 1 * stride] + \
490 F[3] * src[x + 1 * stride] - F[4] * src[x + 2 * stride] + 64) >> 7]
492#define VP8_EPEL_H(SIZE, TAPS) \
493static void put_vp8_epel ## SIZE ## _h ## TAPS ## _c(uint8_t *dst, \
494 ptrdiff_t dststride, \
495 const uint8_t *src, \
496 ptrdiff_t srcstride, \
497 int h, int mx, int my) \
499 const uint8_t *filter = subpel_filters[mx - 1]; \
500 const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP; \
502 for (y = 0; y < h; y++) { \
503 for (x = 0; x < SIZE; x++) \
504 dst[x] = FILTER_ ## TAPS ## TAP(src, filter, 1); \
510#define VP8_EPEL_V(SIZE, TAPS) \
511static void put_vp8_epel ## SIZE ## _v ## TAPS ## _c(uint8_t *dst, \
512 ptrdiff_t dststride, \
513 const uint8_t *src, \
514 ptrdiff_t srcstride, \
515 int h, int mx, int my) \
517 const uint8_t *filter = subpel_filters[my - 1]; \
518 const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP; \
520 for (y = 0; y < h; y++) { \
521 for (x = 0; x < SIZE; x++) \
522 dst[x] = FILTER_ ## TAPS ## TAP(src, filter, srcstride); \
528#define VP8_EPEL_HV(SIZE, HTAPS, VTAPS) \
530put_vp8_epel ## SIZE ## _h ## HTAPS ## v ## VTAPS ## _c(uint8_t *dst, \
531 ptrdiff_t dststride, \
532 const uint8_t *src, \
533 ptrdiff_t srcstride, \
537 const uint8_t *filter = subpel_filters[mx - 1]; \
538 const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP; \
540 uint8_t tmp_array[(2 * SIZE + VTAPS - 1) * SIZE]; \
541 uint8_t *tmp = tmp_array; \
542 src -= (2 - (VTAPS == 4)) * srcstride; \
544 for (y = 0; y < h + VTAPS - 1; y++) { \
545 for (x = 0; x < SIZE; x++) \
546 tmp[x] = FILTER_ ## HTAPS ## TAP(src, filter, 1); \
550 tmp = tmp_array + (2 - (VTAPS == 4)) * SIZE; \
551 filter = subpel_filters[my - 1]; \
553 for (y = 0; y < h; y++) { \
554 for (x = 0; x < SIZE; x++) \
555 dst[x] = FILTER_ ## VTAPS ## TAP(tmp, filter, SIZE); \
582#define VP8_BILINEAR(SIZE) \
583static void put_vp8_bilinear ## SIZE ## _h_c(uint8_t *dst, ptrdiff_t dstride, \
584 const uint8_t *src, ptrdiff_t sstride, \
585 int h, int mx, int my) \
587 int a = 8 - mx, b = mx; \
589 for (y = 0; y < h; y++) { \
590 for (x = 0; x < SIZE; x++) \
591 dst[x] = (a * src[x] + b * src[x + 1] + 4) >> 3; \
597static void put_vp8_bilinear ## SIZE ## _v_c(uint8_t *dst, ptrdiff_t dstride, \
598 const uint8_t *src, ptrdiff_t sstride, \
599 int h, int mx, int my) \
601 int c = 8 - my, d = my; \
603 for (y = 0; y < h; y++) { \
604 for (x = 0; x < SIZE; x++) \
605 dst[x] = (c * src[x] + d * src[x + sstride] + 4) >> 3; \
611static void put_vp8_bilinear ## SIZE ## _hv_c(uint8_t *dst, \
613 const uint8_t *src, \
615 int h, int mx, int my) \
617 int a = 8 - mx, b = mx; \
618 int c = 8 - my, d = my; \
620 uint8_t tmp_array[(2 * SIZE + 1) * SIZE]; \
621 uint8_t *tmp = tmp_array; \
622 for (y = 0; y < h + 1; y++) { \
623 for (x = 0; x < SIZE; x++) \
624 tmp[x] = (a * src[x] + b * src[x + 1] + 4) >> 3; \
629 for (y = 0; y < h; y++) { \
630 for (x = 0; x < SIZE; x++) \
631 dst[x] = (c * tmp[x] + d * tmp[x + SIZE] + 4) >> 3; \
641#define VP78_MC_FUNC(IDX, SIZE) \
642 dsp->put_vp8_epel_pixels_tab[IDX][0][0] = put_vp8_pixels ## SIZE ## _c; \
643 dsp->put_vp8_epel_pixels_tab[IDX][0][1] = put_vp8_epel ## SIZE ## _h4_c; \
644 dsp->put_vp8_epel_pixels_tab[IDX][0][2] = put_vp8_epel ## SIZE ## _h6_c; \
645 dsp->put_vp8_epel_pixels_tab[IDX][1][0] = put_vp8_epel ## SIZE ## _v4_c; \
646 dsp->put_vp8_epel_pixels_tab[IDX][1][1] = put_vp8_epel ## SIZE ## _h4v4_c; \
647 dsp->put_vp8_epel_pixels_tab[IDX][1][2] = put_vp8_epel ## SIZE ## _h6v4_c; \
648 dsp->put_vp8_epel_pixels_tab[IDX][2][0] = put_vp8_epel ## SIZE ## _v6_c; \
649 dsp->put_vp8_epel_pixels_tab[IDX][2][1] = put_vp8_epel ## SIZE ## _h4v6_c; \
650 dsp->put_vp8_epel_pixels_tab[IDX][2][2] = put_vp8_epel ## SIZE ## _h6v6_c
652#define VP78_BILINEAR_MC_FUNC(IDX, SIZE) \
653 dsp->put_vp8_bilinear_pixels_tab[IDX][0][0] = put_vp8_pixels ## SIZE ## _c; \
654 dsp->put_vp8_bilinear_pixels_tab[IDX][0][1] = put_vp8_bilinear ## SIZE ## _h_c; \
655 dsp->put_vp8_bilinear_pixels_tab[IDX][0][2] = put_vp8_bilinear ## SIZE ## _h_c; \
656 dsp->put_vp8_bilinear_pixels_tab[IDX][1][0] = put_vp8_bilinear ## SIZE ## _v_c; \
657 dsp->put_vp8_bilinear_pixels_tab[IDX][1][1] = put_vp8_bilinear ## SIZE ## _hv_c; \
658 dsp->put_vp8_bilinear_pixels_tab[IDX][1][2] = put_vp8_bilinear ## SIZE ## _hv_c; \
659 dsp->put_vp8_bilinear_pixels_tab[IDX][2][0] = put_vp8_bilinear ## SIZE ## _v_c; \
660 dsp->put_vp8_bilinear_pixels_tab[IDX][2][1] = put_vp8_bilinear ## SIZE ## _hv_c; \
661 dsp->put_vp8_bilinear_pixels_tab[IDX][2][2] = put_vp8_bilinear ## SIZE ## _hv_c
685#elif ARCH_X86 && HAVE_X86ASM
690#if CONFIG_VP7_DECODER
721#if CONFIG_VP8_DECODER
752#elif ARCH_X86 && HAVE_X86ASM
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
static double val(void *priv, double ch)
#define i(width, name, range_min, range_max)
common internal and external API header
#define FFABS(a)
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable ...
#define VP8_EPEL_V(SIZE, TAPS)
static av_always_inline void vp7_filter_common(uint8_t *p, ptrdiff_t stride, int is4tap)
static av_always_inline void vp8_filter_common(uint8_t *p, ptrdiff_t stride, int is4tap)
#define VP78_MC_FUNC(IDX, SIZE)
static av_always_inline int vp7_simple_limit(uint8_t *p, ptrdiff_t stride, int flim)
static av_always_inline void filter_common(uint8_t *p, ptrdiff_t stride, int is4tap, int is_vp7)
#define VP78_BILINEAR_MC_FUNC(IDX, SIZE)
av_cold void ff_vp78dsp_init(VP8DSPContext *dsp)
#define PUT_PIXELS(WIDTH)
#define LOOP_FILTERS(vpn)
static const uint8_t subpel_filters[7][6]
#define MK_IDCT_DC_ADD4_C(name)
#define VP8_EPEL_HV(SIZE, HTAPS, VTAPS)
#define NORMAL_LIMIT(vpn)
E - limit at the macroblock edge I - limit for interior difference.
#define VP8_EPEL_H(SIZE, TAPS)
static av_always_inline int vp8_simple_limit(uint8_t *p, ptrdiff_t stride, int flim)
static av_always_inline void filter_mbedge(uint8_t *p, ptrdiff_t stride)
#define VP8_BILINEAR(SIZE)
av_cold void ff_vp8dsp_init_riscv(VP8DSPContext *c)
av_cold void ff_vp78dsp_init_riscv(VP8DSPContext *c)
void(* vp8_h_loop_filter8uv_inner)(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_v_loop_filter_simple)(uint8_t *dst, ptrdiff_t stride, int flim)
void(* vp8_v_loop_filter16y)(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_luma_dc_wht_dc)(int16_t block[4][4][16], int16_t dc[16])
void(* vp8_idct_dc_add)(uint8_t *dst, int16_t block[16], ptrdiff_t stride)
void(* vp8_idct_dc_add4uv)(uint8_t *dst, int16_t block[4][16], ptrdiff_t stride)
void(* vp8_h_loop_filter16y)(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_luma_dc_wht)(int16_t block[4][4][16], int16_t dc[16])
void(* vp8_v_loop_filter8uv_inner)(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_h_loop_filter8uv)(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_h_loop_filter16y_inner)(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_idct_dc_add4y)(uint8_t *dst, int16_t block[4][16], ptrdiff_t stride)
void(* vp8_h_loop_filter_simple)(uint8_t *dst, ptrdiff_t stride, int flim)
void(* vp8_v_loop_filter8uv)(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_v_loop_filter16y_inner)(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh)
void(* vp8_idct_add)(uint8_t *dst, int16_t block[16], ptrdiff_t stride)
vp8_mc_func put_vp8_epel_pixels_tab[3][3][3]
first dimension: 4-log2(width) second dimension: 0 if no vertical interpolation is needed; 1 4-tap ve...
static const uint8_t q1[256]
static const uint8_t q0[256]
static double b1(void *priv, double x, double y)
static double a0(void *priv, double x, double y)
static double a2(void *priv, double x, double y)
static double a1(void *priv, double x, double y)
av_cold void ff_vp7dsp_init_riscv(VP8DSPContext *c)
VP8 compatible video decoder.
void ff_vp8dsp_init_x86(VP8DSPContext *c)
void ff_vp78dsp_init_x86(VP8DSPContext *c)
void ff_vp7dsp_init(VP8DSPContext *c)
void ff_vp8dsp_init(VP8DSPContext *c)
av_cold void ff_vp78dsp_init_ppc(VP8DSPContext *c)
av_cold void ff_vp78dsp_init_aarch64(VP8DSPContext *dsp)
av_cold void ff_vp8dsp_init_aarch64(VP8DSPContext *dsp)
av_cold void ff_vp78dsp_init_arm(VP8DSPContext *dsp)
av_cold void ff_vp8dsp_init_arm(VP8DSPContext *dsp)
av_cold void ff_vp8dsp_init_loongarch(VP8DSPContext *dsp)
av_cold void ff_vp8dsp_init_mips(VP8DSPContext *dsp)
static av_always_inline int hev(uint8_t *p, ptrdiff_t stride, int thresh)