34 #define MK_IDCT_DC_ADD4_C(name) \
35 static void name ## _idct_dc_add4uv_c(uint8_t *dst, int16_t block[4][16], \
38 name ## _idct_dc_add_c(dst + stride * 0 + 0, block[0], stride); \
39 name ## _idct_dc_add_c(dst + stride * 0 + 4, block[1], stride); \
40 name ## _idct_dc_add_c(dst + stride * 4 + 0, block[2], stride); \
41 name ## _idct_dc_add_c(dst + stride * 4 + 4, block[3], stride); \
44 static void name ## _idct_dc_add4y_c(uint8_t *dst, int16_t block[4][16], \
47 name ## _idct_dc_add_c(dst + 0, block[0], stride); \
48 name ## _idct_dc_add_c(dst + 4, block[1], stride); \
49 name ## _idct_dc_add_c(dst + 8, block[2], stride); \
50 name ## _idct_dc_add_c(dst + 12, block[3], stride); \
53 #if CONFIG_VP7_DECODER
54 static void vp7_luma_dc_wht_c(int16_t
block[4][4][16], int16_t
dc[16])
56 int i,
a1, b1,
c1, d1;
59 for (i = 0; i < 4; i++) {
60 a1 = (dc[i * 4 + 0] + dc[i * 4 + 2]) * 23170;
61 b1 = (dc[i * 4 + 0] - dc[i * 4 + 2]) * 23170;
62 c1 = dc[i * 4 + 1] * 12540 - dc[i * 4 + 3] * 30274;
63 d1 = dc[i * 4 + 1] * 30274 + dc[i * 4 + 3] * 12540;
64 tmp[i * 4 + 0] = (a1 + d1) >> 14;
65 tmp[i * 4 + 3] = (a1 - d1) >> 14;
66 tmp[i * 4 + 1] = (b1 +
c1) >> 14;
67 tmp[i * 4 + 2] = (b1 -
c1) >> 14;
70 for (i = 0; i < 4; i++) {
71 a1 = (tmp[i + 0] + tmp[i + 8]) * 23170;
72 b1 = (tmp[i + 0] - tmp[i + 8]) * 23170;
73 c1 = tmp[i + 4] * 12540 - tmp[i + 12] * 30274;
74 d1 = tmp[i + 4] * 30274 + tmp[i + 12] * 12540;
76 block[0][i][0] = (a1 + d1 + 0x20000) >> 18;
77 block[3][i][0] = (a1 - d1 + 0x20000) >> 18;
78 block[1][i][0] = (b1 + c1 + 0x20000) >> 18;
79 block[2][i][0] = (b1 - c1 + 0x20000) >> 18;
83 static void vp7_luma_dc_wht_dc_c(int16_t
block[4][4][16], int16_t
dc[16])
85 int i,
val = (23170 * (23170 * dc[0] >> 14) + 0x20000) >> 18;
88 for (i = 0; i < 4; i++) {
96 static void vp7_idct_add_c(
uint8_t *dst, int16_t block[16], ptrdiff_t
stride)
98 int i,
a1, b1,
c1, d1;
101 for (i = 0; i < 4; i++) {
102 a1 = (block[i * 4 + 0] + block[i * 4 + 2]) * 23170;
103 b1 = (block[i * 4 + 0] - block[i * 4 + 2]) * 23170;
104 c1 = block[i * 4 + 1] * 12540 - block[i * 4 + 3] * 30274;
105 d1 = block[i * 4 + 1] * 30274 + block[i * 4 + 3] * 12540;
107 tmp[i * 4 + 0] = (a1 + d1) >> 14;
108 tmp[i * 4 + 3] = (a1 - d1) >> 14;
109 tmp[i * 4 + 1] = (b1 +
c1) >> 14;
110 tmp[i * 4 + 2] = (b1 -
c1) >> 14;
113 for (i = 0; i < 4; i++) {
114 a1 = (tmp[i + 0] + tmp[i + 8]) * 23170;
115 b1 = (tmp[i + 0] - tmp[i + 8]) * 23170;
116 c1 = tmp[i + 4] * 12540 - tmp[i + 12] * 30274;
117 d1 = tmp[i + 4] * 30274 + tmp[i + 12] * 12540;
118 dst[0 * stride + i] = av_clip_uint8(dst[0 * stride + i] +
119 ((a1 + d1 + 0x20000) >> 18));
120 dst[3 * stride + i] = av_clip_uint8(dst[3 * stride + i] +
121 ((a1 - d1 + 0x20000) >> 18));
122 dst[1 * stride + i] = av_clip_uint8(dst[1 * stride + i] +
123 ((b1 + c1 + 0x20000) >> 18));
124 dst[2 * stride + i] = av_clip_uint8(dst[2 * stride + i] +
125 ((b1 - c1 + 0x20000) >> 18));
129 static void vp7_idct_dc_add_c(
uint8_t *dst, int16_t block[16], ptrdiff_t stride)
131 int i, dc = (23170 * (23170 * block[0] >> 14) + 0x20000) >> 18;
134 for (i = 0; i < 4; i++) {
135 dst[0] = av_clip_uint8(dst[0] + dc);
136 dst[1] = av_clip_uint8(dst[1] + dc);
137 dst[2] = av_clip_uint8(dst[2] + dc);
138 dst[3] = av_clip_uint8(dst[3] + dc);
147 #if CONFIG_VP8_DECODER
148 static void vp8_luma_dc_wht_c(int16_t block[4][4][16], int16_t dc[16])
152 for (i = 0; i < 4; i++) {
153 t0 = dc[0 * 4 + i] + dc[3 * 4 + i];
154 t1 = dc[1 * 4 + i] + dc[2 * 4 + i];
155 t2 = dc[1 * 4 + i] - dc[2 * 4 + i];
156 t3 = dc[0 * 4 + i] - dc[3 * 4 + i];
158 dc[0 * 4 + i] = t0 +
t1;
159 dc[1 * 4 + i] = t3 +
t2;
160 dc[2 * 4 + i] = t0 -
t1;
161 dc[3 * 4 + i] = t3 -
t2;
164 for (i = 0; i < 4; i++) {
165 t0 = dc[i * 4 + 0] + dc[i * 4 + 3] + 3;
166 t1 = dc[i * 4 + 1] + dc[i * 4 + 2];
167 t2 = dc[i * 4 + 1] - dc[i * 4 + 2];
168 t3 = dc[i * 4 + 0] - dc[i * 4 + 3] + 3;
171 block[i][0][0] = (t0 +
t1) >> 3;
172 block[i][1][0] = (t3 +
t2) >> 3;
173 block[i][2][0] = (t0 -
t1) >> 3;
174 block[i][3][0] = (t3 -
t2) >> 3;
178 static void vp8_luma_dc_wht_dc_c(int16_t block[4][4][16], int16_t dc[16])
180 int i, val = (dc[0] + 3) >> 3;
183 for (i = 0; i < 4; i++) {
184 block[i][0][0] =
val;
185 block[i][1][0] =
val;
186 block[i][2][0] =
val;
187 block[i][3][0] =
val;
191 #define MUL_20091(a) ((((a) * 20091) >> 16) + (a))
192 #define MUL_35468(a) (((a) * 35468) >> 16)
194 static void vp8_idct_add_c(
uint8_t *dst, int16_t block[16], ptrdiff_t stride)
199 for (i = 0; i < 4; i++) {
200 t0 = block[0 * 4 + i] + block[2 * 4 + i];
201 t1 = block[0 * 4 + i] - block[2 * 4 + i];
202 t2 = MUL_35468(block[1 * 4 + i]) - MUL_20091(block[3 * 4 + i]);
203 t3 = MUL_20091(block[1 * 4 + i]) + MUL_35468(block[3 * 4 + i]);
204 block[0 * 4 + i] = 0;
205 block[1 * 4 + i] = 0;
206 block[2 * 4 + i] = 0;
207 block[3 * 4 + i] = 0;
209 tmp[i * 4 + 0] = t0 +
t3;
210 tmp[i * 4 + 1] = t1 +
t2;
211 tmp[i * 4 + 2] = t1 -
t2;
212 tmp[i * 4 + 3] = t0 -
t3;
215 for (i = 0; i < 4; i++) {
216 t0 = tmp[0 * 4 + i] + tmp[2 * 4 + i];
217 t1 = tmp[0 * 4 + i] - tmp[2 * 4 + i];
218 t2 = MUL_35468(tmp[1 * 4 + i]) - MUL_20091(tmp[3 * 4 + i]);
219 t3 = MUL_20091(tmp[1 * 4 + i]) + MUL_35468(tmp[3 * 4 + i]);
221 dst[0] = av_clip_uint8(dst[0] + ((t0 + t3 + 4) >> 3));
222 dst[1] = av_clip_uint8(dst[1] + ((t1 + t2 + 4) >> 3));
223 dst[2] = av_clip_uint8(dst[2] + ((t1 - t2 + 4) >> 3));
224 dst[3] = av_clip_uint8(dst[3] + ((t0 - t3 + 4) >> 3));
229 static void vp8_idct_dc_add_c(
uint8_t *dst, int16_t block[16], ptrdiff_t stride)
231 int i, dc = (block[0] + 4) >> 3;
234 for (i = 0; i < 4; i++) {
235 dst[0] = av_clip_uint8(dst[0] + dc);
236 dst[1] = av_clip_uint8(dst[1] + dc);
237 dst[2] = av_clip_uint8(dst[2] + dc);
238 dst[3] = av_clip_uint8(dst[3] + dc);
247 #define LOAD_PIXELS \
248 int av_unused p3 = p[-4 * stride]; \
249 int av_unused p2 = p[-3 * stride]; \
250 int av_unused p1 = p[-2 * stride]; \
251 int av_unused p0 = p[-1 * stride]; \
252 int av_unused q0 = p[ 0 * stride]; \
253 int av_unused q1 = p[ 1 * stride]; \
254 int av_unused q2 = p[ 2 * stride]; \
255 int av_unused q3 = p[ 3 * stride];
257 #define clip_int8(n) (cm[(n) + 0x80] - 0x80)
260 int is4tap,
int is_vp7)
275 f1 =
FFMIN(a + 4, 127) >> 3;
278 f2 = f1 - ((a & 7) == 4);
280 f2 =
FFMIN(a + 3, 127) >> 3;
284 p[-1 * stride] = cm[p0 + f2];
285 p[ 0 * stride] = cm[
q0 - f1];
290 p[-2 * stride] = cm[p1 +
a];
291 p[ 1 * stride] = cm[
q1 -
a];
325 #define NORMAL_LIMIT(vpn) \
326 static av_always_inline int vp ## vpn ## _normal_limit(uint8_t *p, \
331 return vp ## vpn ## _simple_limit(p, stride, E) && \
332 FFABS(p3 - p2) <= I && FFABS(p2 - p1) <= I && \
333 FFABS(p1 - p0) <= I && FFABS(q3 - q2) <= I && \
334 FFABS(q2 - q1) <= I && FFABS(q1 - q0) <= I; \
357 a0 = (27 * w + 63) >> 7;
358 a1 = (18 * w + 63) >> 7;
359 a2 = (9 * w + 63) >> 7;
361 p[-3 * stride] = cm[p2 +
a2];
362 p[-2 * stride] = cm[p1 +
a1];
363 p[-1 * stride] = cm[p0 +
a0];
364 p[ 0 * stride] = cm[
q0 -
a0];
365 p[ 1 * stride] = cm[
q1 -
a1];
366 p[ 2 * stride] = cm[q2 -
a2];
369 #define LOOP_FILTER(vpn, dir, size, stridea, strideb, maybe_inline) \
370 static maybe_inline \
371 void vpn ## _ ## dir ## _loop_filter ## size ## _c(uint8_t *dst, \
373 int flim_E, int flim_I, \
377 for (i = 0; i < size; i++) \
378 if (vpn ## _normal_limit(dst + i * stridea, strideb, \
380 if (hev(dst + i * stridea, strideb, hev_thresh)) \
381 vpn ## _filter_common(dst + i * stridea, strideb, 1); \
383 filter_mbedge(dst + i * stridea, strideb); \
387 static maybe_inline \
388 void vpn ## _ ## dir ## _loop_filter ## size ## _inner_c(uint8_t *dst, \
395 for (i = 0; i < size; i++) \
396 if (vpn ## _normal_limit(dst + i * stridea, strideb, \
398 int hv = hev(dst + i * stridea, strideb, hev_thresh); \
400 vpn ## _filter_common(dst + i * stridea, strideb, 1); \
402 vpn ## _filter_common(dst + i * stridea, strideb, 0); \
406 #define UV_LOOP_FILTER(vpn, dir, stridea, strideb) \
407 LOOP_FILTER(vpn, dir, 8, stridea, strideb, av_always_inline) \
408 static void vpn ## _ ## dir ## _loop_filter8uv_c(uint8_t *dstU, \
410 ptrdiff_t stride, int fE, \
411 int fI, int hev_thresh) \
413 vpn ## _ ## dir ## _loop_filter8_c(dstU, stride, fE, fI, hev_thresh); \
414 vpn ## _ ## dir ## _loop_filter8_c(dstV, stride, fE, fI, hev_thresh); \
417 static void vpn ## _ ## dir ## _loop_filter8uv_inner_c(uint8_t *dstU, \
423 vpn ## _ ## dir ## _loop_filter8_inner_c(dstU, stride, fE, fI, \
425 vpn ## _ ## dir ## _loop_filter8_inner_c(dstV, stride, fE, fI, \
429 #define LOOP_FILTER_SIMPLE(vpn) \
430 static void vpn ## _v_loop_filter_simple_c(uint8_t *dst, ptrdiff_t stride, \
434 for (i = 0; i < 16; i++) \
435 if (vpn ## _simple_limit(dst + i, stride, flim)) \
436 vpn ## _filter_common(dst + i, stride, 1); \
439 static void vpn ## _h_loop_filter_simple_c(uint8_t *dst, ptrdiff_t stride, \
443 for (i = 0; i < 16; i++) \
444 if (vpn ## _simple_limit(dst + i * stride, 1, flim)) \
445 vpn ## _filter_common(dst + i * stride, 1, 1); \
448 #define LOOP_FILTERS(vpn) \
449 LOOP_FILTER(vpn, v, 16, 1, stride, ) \
450 LOOP_FILTER(vpn, h, 16, stride, 1, ) \
451 UV_LOOP_FILTER(vpn, v, 1, stride) \
452 UV_LOOP_FILTER(vpn, h, stride, 1) \
453 LOOP_FILTER_SIMPLE(vpn) \
456 { 0, 6, 123, 12, 1, 0 },
457 { 2, 11, 108, 36, 8, 1 },
458 { 0, 9, 93, 50, 6, 0 },
459 { 3, 16, 77, 77, 16, 3 },
460 { 0, 6, 50, 93, 9, 0 },
461 { 1, 8, 36, 108, 11, 2 },
462 { 0, 1, 12, 123, 6, 0 },
465 #define PUT_PIXELS(WIDTH) \
466 static void put_vp8_pixels ## WIDTH ## _c(uint8_t *dst, ptrdiff_t dststride, \
467 uint8_t *src, ptrdiff_t srcstride, \
468 int h, int x, int y) \
471 for (i = 0; i < h; i++, dst += dststride, src += srcstride) \
472 memcpy(dst, src, WIDTH); \
479 #define FILTER_6TAP(src, F, stride) \
480 cm[(F[2] * src[x + 0 * stride] - F[1] * src[x - 1 * stride] + \
481 F[0] * src[x - 2 * stride] + F[3] * src[x + 1 * stride] - \
482 F[4] * src[x + 2 * stride] + F[5] * src[x + 3 * stride] + 64) >> 7]
484 #define FILTER_4TAP(src, F, stride) \
485 cm[(F[2] * src[x + 0 * stride] - F[1] * src[x - 1 * stride] + \
486 F[3] * src[x + 1 * stride] - F[4] * src[x + 2 * stride] + 64) >> 7]
488 #define VP8_EPEL_H(SIZE, TAPS) \
489 static void put_vp8_epel ## SIZE ## _h ## TAPS ## _c(uint8_t *dst, \
490 ptrdiff_t dststride, \
492 ptrdiff_t srcstride, \
493 int h, int mx, int my) \
495 const uint8_t *filter = subpel_filters[mx - 1]; \
496 const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP; \
498 for (y = 0; y < h; y++) { \
499 for (x = 0; x < SIZE; x++) \
500 dst[x] = FILTER_ ## TAPS ## TAP(src, filter, 1); \
506 #define VP8_EPEL_V(SIZE, TAPS) \
507 static void put_vp8_epel ## SIZE ## _v ## TAPS ## _c(uint8_t *dst, \
508 ptrdiff_t dststride, \
510 ptrdiff_t srcstride, \
511 int h, int mx, int my) \
513 const uint8_t *filter = subpel_filters[my - 1]; \
514 const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP; \
516 for (y = 0; y < h; y++) { \
517 for (x = 0; x < SIZE; x++) \
518 dst[x] = FILTER_ ## TAPS ## TAP(src, filter, srcstride); \
524 #define VP8_EPEL_HV(SIZE, HTAPS, VTAPS) \
526 put_vp8_epel ## SIZE ## _h ## HTAPS ## v ## VTAPS ## _c(uint8_t *dst, \
527 ptrdiff_t dststride, \
529 ptrdiff_t srcstride, \
533 const uint8_t *filter = subpel_filters[mx - 1]; \
534 const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP; \
536 uint8_t tmp_array[(2 * SIZE + VTAPS - 1) * SIZE]; \
537 uint8_t *tmp = tmp_array; \
538 src -= (2 - (VTAPS == 4)) * srcstride; \
540 for (y = 0; y < h + VTAPS - 1; y++) { \
541 for (x = 0; x < SIZE; x++) \
542 tmp[x] = FILTER_ ## HTAPS ## TAP(src, filter, 1); \
546 tmp = tmp_array + (2 - (VTAPS == 4)) * SIZE; \
547 filter = subpel_filters[my - 1]; \
549 for (y = 0; y < h; y++) { \
550 for (x = 0; x < SIZE; x++) \
551 dst[x] = FILTER_ ## VTAPS ## TAP(tmp, filter, SIZE); \
583 #define VP8_BILINEAR(SIZE) \
584 static void put_vp8_bilinear ## SIZE ## _h_c(uint8_t *dst, ptrdiff_t dstride, \
585 uint8_t *src, ptrdiff_t sstride, \
586 int h, int mx, int my) \
588 int a = 8 - mx, b = mx; \
590 for (y = 0; y < h; y++) { \
591 for (x = 0; x < SIZE; x++) \
592 dst[x] = (a * src[x] + b * src[x + 1] + 4) >> 3; \
598 static void put_vp8_bilinear ## SIZE ## _v_c(uint8_t *dst, ptrdiff_t dstride, \
599 uint8_t *src, ptrdiff_t sstride, \
600 int h, int mx, int my) \
602 int c = 8 - my, d = my; \
604 for (y = 0; y < h; y++) { \
605 for (x = 0; x < SIZE; x++) \
606 dst[x] = (c * src[x] + d * src[x + sstride] + 4) >> 3; \
612 static void put_vp8_bilinear ## SIZE ## _hv_c(uint8_t *dst, \
616 int h, int mx, int my) \
618 int a = 8 - mx, b = mx; \
619 int c = 8 - my, d = my; \
621 uint8_t tmp_array[(2 * SIZE + 1) * SIZE]; \
622 uint8_t *tmp = tmp_array; \
623 for (y = 0; y < h + 1; y++) { \
624 for (x = 0; x < SIZE; x++) \
625 tmp[x] = (a * src[x] + b * src[x + 1] + 4) >> 3; \
630 for (y = 0; y < h; y++) { \
631 for (x = 0; x < SIZE; x++) \
632 dst[x] = (c * tmp[x] + d * tmp[x + SIZE] + 4) >> 3; \
642 #define VP78_MC_FUNC(IDX, SIZE) \
643 dsp->put_vp8_epel_pixels_tab[IDX][0][0] = put_vp8_pixels ## SIZE ## _c; \
644 dsp->put_vp8_epel_pixels_tab[IDX][0][1] = put_vp8_epel ## SIZE ## _h4_c; \
645 dsp->put_vp8_epel_pixels_tab[IDX][0][2] = put_vp8_epel ## SIZE ## _h6_c; \
646 dsp->put_vp8_epel_pixels_tab[IDX][1][0] = put_vp8_epel ## SIZE ## _v4_c; \
647 dsp->put_vp8_epel_pixels_tab[IDX][1][1] = put_vp8_epel ## SIZE ## _h4v4_c; \
648 dsp->put_vp8_epel_pixels_tab[IDX][1][2] = put_vp8_epel ## SIZE ## _h6v4_c; \
649 dsp->put_vp8_epel_pixels_tab[IDX][2][0] = put_vp8_epel ## SIZE ## _v6_c; \
650 dsp->put_vp8_epel_pixels_tab[IDX][2][1] = put_vp8_epel ## SIZE ## _h4v6_c; \
651 dsp->put_vp8_epel_pixels_tab[IDX][2][2] = put_vp8_epel ## SIZE ## _h6v6_c
653 #define VP78_BILINEAR_MC_FUNC(IDX, SIZE) \
654 dsp->put_vp8_bilinear_pixels_tab[IDX][0][0] = put_vp8_pixels ## SIZE ## _c; \
655 dsp->put_vp8_bilinear_pixels_tab[IDX][0][1] = put_vp8_bilinear ## SIZE ## _h_c; \
656 dsp->put_vp8_bilinear_pixels_tab[IDX][0][2] = put_vp8_bilinear ## SIZE ## _h_c; \
657 dsp->put_vp8_bilinear_pixels_tab[IDX][1][0] = put_vp8_bilinear ## SIZE ## _v_c; \
658 dsp->put_vp8_bilinear_pixels_tab[IDX][1][1] = put_vp8_bilinear ## SIZE ## _hv_c; \
659 dsp->put_vp8_bilinear_pixels_tab[IDX][1][2] = put_vp8_bilinear ## SIZE ## _hv_c; \
660 dsp->put_vp8_bilinear_pixels_tab[IDX][2][0] = put_vp8_bilinear ## SIZE ## _v_c; \
661 dsp->put_vp8_bilinear_pixels_tab[IDX][2][1] = put_vp8_bilinear ## SIZE ## _hv_c; \
662 dsp->put_vp8_bilinear_pixels_tab[IDX][2][2] = put_vp8_bilinear ## SIZE ## _hv_c
682 #if CONFIG_VP7_DECODER
687 dsp->vp8_luma_dc_wht = vp7_luma_dc_wht_c;
688 dsp->vp8_luma_dc_wht_dc = vp7_luma_dc_wht_dc_c;
689 dsp->vp8_idct_add = vp7_idct_add_c;
690 dsp->vp8_idct_dc_add = vp7_idct_dc_add_c;
691 dsp->vp8_idct_dc_add4y = vp7_idct_dc_add4y_c;
692 dsp->vp8_idct_dc_add4uv = vp7_idct_dc_add4uv_c;
694 dsp->vp8_v_loop_filter16y = vp7_v_loop_filter16_c;
695 dsp->vp8_h_loop_filter16y = vp7_h_loop_filter16_c;
696 dsp->vp8_v_loop_filter8uv = vp7_v_loop_filter8uv_c;
697 dsp->vp8_h_loop_filter8uv = vp7_h_loop_filter8uv_c;
699 dsp->vp8_v_loop_filter16y_inner = vp7_v_loop_filter16_inner_c;
700 dsp->vp8_h_loop_filter16y_inner = vp7_h_loop_filter16_inner_c;
701 dsp->vp8_v_loop_filter8uv_inner = vp7_v_loop_filter8uv_inner_c;
702 dsp->vp8_h_loop_filter8uv_inner = vp7_h_loop_filter8uv_inner_c;
704 dsp->vp8_v_loop_filter_simple = vp7_v_loop_filter_simple_c;
705 dsp->vp8_h_loop_filter_simple = vp7_h_loop_filter_simple_c;
709 #if CONFIG_VP8_DECODER
714 dsp->vp8_luma_dc_wht = vp8_luma_dc_wht_c;
715 dsp->vp8_luma_dc_wht_dc = vp8_luma_dc_wht_dc_c;
716 dsp->vp8_idct_add = vp8_idct_add_c;
717 dsp->vp8_idct_dc_add = vp8_idct_dc_add_c;
718 dsp->vp8_idct_dc_add4y = vp8_idct_dc_add4y_c;
719 dsp->vp8_idct_dc_add4uv = vp8_idct_dc_add4uv_c;
721 dsp->vp8_v_loop_filter16y = vp8_v_loop_filter16_c;
722 dsp->vp8_h_loop_filter16y = vp8_h_loop_filter16_c;
723 dsp->vp8_v_loop_filter8uv = vp8_v_loop_filter8uv_c;
724 dsp->vp8_h_loop_filter8uv = vp8_h_loop_filter8uv_c;
726 dsp->vp8_v_loop_filter16y_inner = vp8_v_loop_filter16_inner_c;
727 dsp->vp8_h_loop_filter16y_inner = vp8_h_loop_filter16_inner_c;
728 dsp->vp8_v_loop_filter8uv_inner = vp8_v_loop_filter8uv_inner_c;
729 dsp->vp8_h_loop_filter8uv_inner = vp8_h_loop_filter8uv_inner_c;
731 dsp->vp8_v_loop_filter_simple = vp8_v_loop_filter_simple_c;
732 dsp->vp8_h_loop_filter_simple = vp8_h_loop_filter_simple_c;