1ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifndef VP9_RTCD_H_
2ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define VP9_RTCD_H_
3ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
4ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifdef RTCD_C
5ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define RTCD_EXTERN
6ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#else
7ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define RTCD_EXTERN extern
8ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
9ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
10b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus
11b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianextern "C" {
12b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif
13b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
14ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang/*
15ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang * VP9
16ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang */
17ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
18ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#include "vpx/vpx_integer.h"
19ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#include "vp9/common/vp9_enums.h"
20ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
21ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstruct macroblockd;
22ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
23ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang/* Encoder forward decls */
24ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstruct macroblock;
25ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstruct vp9_variance_vtable;
26ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
27ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define DEC_MVCOSTS int *mvjcost, int *mvcost[2]
28b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianstruct mv;
29ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangunion int_mv;
30ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstruct yv12_buffer_config;
31ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
32b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
33b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_blend_b vp9_blend_b_c
34ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
35b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
36b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_blend_mb_inner vp9_blend_mb_inner_c
37ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
38b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
39b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_blend_mb_outer vp9_blend_mb_outer_c
40ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
41b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
42b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_block_error vp9_block_error_c
43ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
44b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
45b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
46b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8 vp9_convolve8_dspr2
4791037db265ecdd914a26e056cf69207b4f50924ehkuang
48b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
49b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_avg_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
50b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_avg vp9_convolve8_avg_dspr2
5191037db265ecdd914a26e056cf69207b4f50924ehkuang
52b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
53b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_avg_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
54b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_dspr2
5591037db265ecdd914a26e056cf69207b4f50924ehkuang
56b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
57b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_avg_vert_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
58b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_dspr2
5991037db265ecdd914a26e056cf69207b4f50924ehkuang
60b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
61b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_horiz_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
62b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_horiz vp9_convolve8_horiz_dspr2
6391037db265ecdd914a26e056cf69207b4f50924ehkuang
64b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
65b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve8_vert_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
66b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_vert vp9_convolve8_vert_dspr2
6791037db265ecdd914a26e056cf69207b4f50924ehkuang
68b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
69b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve_avg_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
70b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve_avg vp9_convolve_avg_dspr2
7191037db265ecdd914a26e056cf69207b4f50924ehkuang
72b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
73b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_convolve_copy_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
74b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve_copy vp9_convolve_copy_dspr2
7591037db265ecdd914a26e056cf69207b4f50924ehkuang
76b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
77b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c
7891037db265ecdd914a26e056cf69207b4f50924ehkuang
79b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
80b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c
8191037db265ecdd914a26e056cf69207b4f50924ehkuang
82b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
83b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c
8491037db265ecdd914a26e056cf69207b4f50924ehkuang
851184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
8691037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c
8791037db265ecdd914a26e056cf69207b4f50924ehkuang
88b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
89b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c
9091037db265ecdd914a26e056cf69207b4f50924ehkuang
91b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
92b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c
9391037db265ecdd914a26e056cf69207b4f50924ehkuang
94b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
95b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c
9691037db265ecdd914a26e056cf69207b4f50924ehkuang
97b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
98b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c
9991037db265ecdd914a26e056cf69207b4f50924ehkuang
100b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
101b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c
10291037db265ecdd914a26e056cf69207b4f50924ehkuang
103b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
104b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c
10591037db265ecdd914a26e056cf69207b4f50924ehkuang
106b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
107b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c
10891037db265ecdd914a26e056cf69207b4f50924ehkuang
109b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
110b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c
11191037db265ecdd914a26e056cf69207b4f50924ehkuang
1121184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1131184aebb761cbeac9124c37189a80a1a58f04b6bhkuang#define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c
11491037db265ecdd914a26e056cf69207b4f50924ehkuang
115b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
116b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c
11791037db265ecdd914a26e056cf69207b4f50924ehkuang
118b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
119b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c
12091037db265ecdd914a26e056cf69207b4f50924ehkuang
121b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
122b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c
12391037db265ecdd914a26e056cf69207b4f50924ehkuang
124b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
125b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c
12691037db265ecdd914a26e056cf69207b4f50924ehkuang
127b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
128b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c
12991037db265ecdd914a26e056cf69207b4f50924ehkuang
130b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
131b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c
13291037db265ecdd914a26e056cf69207b4f50924ehkuang
133b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
134b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c
13591037db265ecdd914a26e056cf69207b4f50924ehkuang
136b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
137b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c
13891037db265ecdd914a26e056cf69207b4f50924ehkuang
139b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
140b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c
14191037db265ecdd914a26e056cf69207b4f50924ehkuang
142b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
143b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c
14491037db265ecdd914a26e056cf69207b4f50924ehkuang
145b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
146b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c
14791037db265ecdd914a26e056cf69207b4f50924ehkuang
1481184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
14991037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c
15091037db265ecdd914a26e056cf69207b4f50924ehkuang
151b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
152b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c
15391037db265ecdd914a26e056cf69207b4f50924ehkuang
154b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
155b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c
15691037db265ecdd914a26e056cf69207b4f50924ehkuang
157b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
158b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c
15991037db265ecdd914a26e056cf69207b4f50924ehkuang
160b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
161b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c
16291037db265ecdd914a26e056cf69207b4f50924ehkuang
163b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
164b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c
16591037db265ecdd914a26e056cf69207b4f50924ehkuang
166b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
167b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c
16891037db265ecdd914a26e056cf69207b4f50924ehkuang
169b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
170b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c
17191037db265ecdd914a26e056cf69207b4f50924ehkuang
172b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
173b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_16x16_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
174b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_dspr2
17591037db265ecdd914a26e056cf69207b4f50924ehkuang
1761184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
17791037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c
17891037db265ecdd914a26e056cf69207b4f50924ehkuang
179b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
180b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_4x4_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
181b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_dspr2
18291037db265ecdd914a26e056cf69207b4f50924ehkuang
183b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
184b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_8x8_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
185b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_dspr2
18691037db265ecdd914a26e056cf69207b4f50924ehkuang
187b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
188b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c
189ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
190b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
191b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c
192ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
193b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
194b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c
195ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
196b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
197b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c
198ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
199b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint vp9_diamond_search_sad_c(const struct macroblock *x, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv);
200b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_diamond_search_sad vp9_diamond_search_sad_c
201ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
202b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride);
203b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct16x16 vp9_fdct16x16_c
204ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
205b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride);
206b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct32x32 vp9_fdct32x32_c
207ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
208b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
209b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct32x32_rd vp9_fdct32x32_rd_c
210ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
211b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
212b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct4x4 vp9_fdct4x4_c
213ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
214b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
215b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct8x8 vp9_fdct8x8_c
216ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
217b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type);
218b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fht16x16 vp9_fht16x16_c
21991037db265ecdd914a26e056cf69207b4f50924ehkuang
220b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type);
221b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fht4x4 vp9_fht4x4_c
22291037db265ecdd914a26e056cf69207b4f50924ehkuang
223b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type);
224b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fht8x8 vp9_fht8x8_c
225ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
226b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint vp9_full_range_search_c(const struct macroblock *x, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv);
227b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_full_range_search vp9_full_range_search_c
228ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
229b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv, struct mv *best_mv);
230b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_full_search_sad vp9_full_search_sad_c
231ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
232b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
233b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fwht4x4 vp9_fwht4x4_c
234ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
235b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_get_mb_ss_c(const int16_t *);
236b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_get_mb_ss vp9_get_mb_ss_c
237ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2386ac915abcdb404a00d927fe6308a47fcf09d9519hkuangvoid vp9_get_sse_sum_16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
2396ac915abcdb404a00d927fe6308a47fcf09d9519hkuang#define vp9_get_sse_sum_16x16 vp9_get_sse_sum_16x16_c
2406ac915abcdb404a00d927fe6308a47fcf09d9519hkuang
241b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
242b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c
243ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
244b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
245b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_16x16_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
246b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_h_predictor_16x16 vp9_h_predictor_16x16_dspr2
247ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
248b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
249b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
250ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
251b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
252b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_4x4_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
253b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_h_predictor_4x4 vp9_h_predictor_4x4_dspr2
254f3bed9137f66ef693bd406e43b17e9a1114f1e14hkuang
255b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
256b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_8x8_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
257b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_h_predictor_8x8 vp9_h_predictor_8x8_dspr2
258ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
259b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
260b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct16x16_10_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
261b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct16x16_10_add vp9_idct16x16_10_add_dspr2
262ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2635ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2645ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct16x16_1_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
2655ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct16x16_1_add vp9_idct16x16_1_add_dspr2
266ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2675ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2685ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct16x16_256_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
2695ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct16x16_256_add vp9_idct16x16_256_add_dspr2
270ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2715ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2725ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct32x32_1024_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
2735ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_dspr2
274ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
275b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
276b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct32x32_1_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
277b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct32x32_1_add vp9_idct32x32_1_add_dspr2
278b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
2795ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2809b35249446b07f40ac5fcc3205f2c048616efacchkuangvoid vp9_idct32x32_34_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
2819b35249446b07f40ac5fcc3205f2c048616efacchkuang#define vp9_idct32x32_34_add vp9_idct32x32_34_add_dspr2
282ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
283b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
284b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct4x4_16_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
285b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct4x4_16_add vp9_idct4x4_16_add_dspr2
286b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
287b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
288b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct4x4_1_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
289b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct4x4_1_add vp9_idct4x4_1_add_dspr2
290b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
291b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
292b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_10_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
293b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct8x8_10_add vp9_idct8x8_10_add_dspr2
294b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
295b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
296b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_1_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
297b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct8x8_1_add vp9_idct8x8_1_add_dspr2
298b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
299b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
300b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_64_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride);
301b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct8x8_64_add vp9_idct8x8_64_add_dspr2
302b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
303b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type);
304b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_iht16x16_256_add_dspr2(const int16_t *input, uint8_t *output, int pitch, int tx_type);
305b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_iht16x16_256_add vp9_iht16x16_256_add_dspr2
306ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
3075ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
3085ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iht4x4_16_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
3095ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iht4x4_16_add vp9_iht4x4_16_add_dspr2
310ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
3115ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
3125ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iht8x8_64_add_dspr2(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
3135ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iht8x8_64_add vp9_iht8x8_64_add_dspr2
314ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
315b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
316b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
317ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
3185ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
3195ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
320ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
321b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
322b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_16_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
323b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_dspr2
324b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
325b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
326b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_4_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
327b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_dspr2
328b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
329b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
330b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_4_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
331b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_dspr2
332b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
333b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
334b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_8_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
335b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_8 vp9_lpf_horizontal_8_dspr2
336b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
337b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
338b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_horizontal_8_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
339b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_8_dual vp9_lpf_horizontal_8_dual_dspr2
340b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
341b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
342b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_16_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
343b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_16 vp9_lpf_vertical_16_dspr2
344b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
345b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
346b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_16_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
347b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_16_dual vp9_lpf_vertical_16_dual_dspr2
348b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
349b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
350b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_4_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
351b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_4 vp9_lpf_vertical_4_dspr2
352b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
353b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
354b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_4_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
355b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_dspr2
356b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
357b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
358b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_8_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
359b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_8 vp9_lpf_vertical_8_dspr2
360b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
361b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
362b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_8_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
363b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_dspr2
364b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
365b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
366b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_mse16x16 vp9_mse16x16_c
367b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
368b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
369b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_mse16x8 vp9_mse16x8_c
370b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
371b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
372b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_mse8x16 vp9_mse8x16_c
373b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
374b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
375b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_mse8x8 vp9_mse8x8_c
376b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
377b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
378b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_quantize_b vp9_quantize_b_c
379b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
380b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
381b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
382b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
383b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv);
384b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_refining_search_sad vp9_refining_search_sad_c
385b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
386b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
387b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16 vp9_sad16x16_c
388b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
389b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
390b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16_avg vp9_sad16x16_avg_c
391b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
392b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
393b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16x3 vp9_sad16x16x3_c
394b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
395b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
396b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16x4d vp9_sad16x16x4d_c
397b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
398b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x16x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
399b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16x8 vp9_sad16x16x8_c
400b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
401b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
402b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x32 vp9_sad16x32_c
403b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
404b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
405b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x32_avg vp9_sad16x32_avg_c
406b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
407b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
408b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x32x4d vp9_sad16x32x4d_c
409b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
410b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
411b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8 vp9_sad16x8_c
412b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
413b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
414b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8_avg vp9_sad16x8_avg_c
415b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
416b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
417b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8x3 vp9_sad16x8x3_c
418b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
419b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x8x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
420b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8x4d vp9_sad16x8x4d_c
421b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
422b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x8x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
423b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8x8 vp9_sad16x8x8_c
424b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
425b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
426b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x16 vp9_sad32x16_c
427b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
428b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
429b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x16_avg vp9_sad32x16_avg_c
430b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
431b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad32x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
432b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x16x4d vp9_sad32x16x4d_c
433b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
434b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
435b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32 vp9_sad32x32_c
436b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
437b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
438b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32_avg vp9_sad32x32_avg_c
439b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
440b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
441b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32x3 vp9_sad32x32x3_c
442b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
443b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad32x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
444b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32x4d vp9_sad32x32x4d_c
445b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
446b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad32x32x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
447b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32x8 vp9_sad32x32x8_c
448b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
449b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
450b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x64 vp9_sad32x64_c
451b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
452b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
453b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x64_avg vp9_sad32x64_avg_c
454b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
455b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad32x64x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
456b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x64x4d vp9_sad32x64x4d_c
457b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
458b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
459b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4 vp9_sad4x4_c
460b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
461b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
462b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4_avg vp9_sad4x4_avg_c
463b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
464b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
465b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4x3 vp9_sad4x4x3_c
466b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
467b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad4x4x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
468b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4x4d vp9_sad4x4x4d_c
469b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
470b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad4x4x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
471b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4x8 vp9_sad4x4x8_c
472b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
473b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
474b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x8 vp9_sad4x8_c
475b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
476b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
477b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x8_avg vp9_sad4x8_avg_c
478b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
479b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
480b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x8x4d vp9_sad4x8x4d_c
481b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
482b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
483b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x8x8 vp9_sad4x8x8_c
484b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
485b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
486b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x32 vp9_sad64x32_c
487b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
488b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
489b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x32_avg vp9_sad64x32_avg_c
490b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
491b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad64x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
492b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x32x4d vp9_sad64x32x4d_c
493b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
494b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
495b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64 vp9_sad64x64_c
496b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
497b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
498b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64_avg vp9_sad64x64_avg_c
499b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
500b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
501b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64x3 vp9_sad64x64x3_c
502b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
503b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad64x64x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
504b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64x4d vp9_sad64x64x4d_c
505b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
506b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad64x64x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
507b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64x8 vp9_sad64x64x8_c
508b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
509b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
510b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16 vp9_sad8x16_c
511b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
512b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
513b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16_avg vp9_sad8x16_avg_c
514b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
515b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
516b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16x3 vp9_sad8x16x3_c
517b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
518b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
519b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16x4d vp9_sad8x16x4d_c
520b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
521b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x16x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
522b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16x8 vp9_sad8x16x8_c
523b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
524b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
525b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x4 vp9_sad8x4_c
526b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
527b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
528b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x4_avg vp9_sad8x4_avg_c
529b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
530b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
531b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x4x4d vp9_sad8x4x4d_c
532b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
533b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
534b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x4x8 vp9_sad8x4x8_c
535b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
536b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
537b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8 vp9_sad8x8_c
538b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
539b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
540b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8_avg vp9_sad8x8_avg_c
541b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
542b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
543b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8x3 vp9_sad8x8x3_c
544b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
545b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x8x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
546b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8x4d vp9_sad8x8x4d_c
547b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
548b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x8x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
549b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8x8 vp9_sad8x8x8_c
550b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
551b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
552b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c
553b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
554b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
555b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c
556b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
557b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
558b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c
559b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
560b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
561b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c
562b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
563b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
564b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c
565b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
566b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
567b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c
568b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
569b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
570b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c
571b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
572b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
573b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c
574b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
575b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
576b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c
577b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
578b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
579b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c
580b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
581b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
582b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
583b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
584b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
585b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
586b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
587b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
588b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
589b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
590b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_mse32x32_c(const uint8_t *src_ptr, int  source_stride, int  xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
591b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c
592b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
593b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_mse64x64_c(const uint8_t *src_ptr, int  source_stride, int  xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
594b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c
595b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
596b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
597b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c
598b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
599b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
600b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
601b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
602b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
603b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
604b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
605b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
606b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
607b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
608b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
609b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c
610b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
611b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
612b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
613b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
614b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
615b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
616b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
617b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
618b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
619b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
620b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
621b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
622b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
623b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
624b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
625b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
626b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
627b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
628b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
629b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
630b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
631b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
632b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
633b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c
634b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
635b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride);
636b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_subtract_block vp9_subtract_block_c
637b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
638b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
639b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_temporal_filter_apply vp9_temporal_filter_apply_c
640b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
641b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
642b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c
643b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
644b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
645b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
646b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
647b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
648b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_4x4_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
649b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_dspr2
650b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
651b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
652b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_8x8_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
653b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_dspr2
654b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
655b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
656b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c
657b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
658b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
659b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
660b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
661b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
662b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
663b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
664b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
665b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
666b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
667b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
668b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance16x16 vp9_variance16x16_c
669b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
670b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
671b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance16x32 vp9_variance16x32_c
672b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
673b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
674b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance16x8 vp9_variance16x8_c
675b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
676b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
677b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance32x16 vp9_variance32x16_c
678b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
679b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
680b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance32x32 vp9_variance32x32_c
681b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
682b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
683b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance32x64 vp9_variance32x64_c
684b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
685b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
686b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance4x4 vp9_variance4x4_c
687b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
688b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
689b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance4x8 vp9_variance4x8_c
690b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
691b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
692b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance64x32 vp9_variance64x32_c
693b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
694b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
695b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance64x64 vp9_variance64x64_c
696b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
697b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
698b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance8x16 vp9_variance8x16_c
699b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
700b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
701b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance8x4 vp9_variance8x4_c
702b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
703b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
704b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance8x8 vp9_variance8x8_c
705b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
706b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar16x16_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
707b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_c
708b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
709b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar16x16_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
710b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_c
711b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
712b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar16x16_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
713b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_c
714b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
715b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar32x32_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
716b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c
717b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
718b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar32x32_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
719b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c
720b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
721b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar32x32_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
722b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c
723b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
724b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
725b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c
726b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
727b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
728b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c
729b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
730b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
731b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c
732ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
733ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid vp9_rtcd(void);
734b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
735ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#include "vpx_config.h"
736ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
737ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifdef RTCD_C
738ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstatic void setup_rtcd_internal(void)
739ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang{
740ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#if HAVE_DSPR2
7415ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#if CONFIG_VP8
742ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid dsputil_static_init();
743ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangdsputil_static_init();
744ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
7455ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#if CONFIG_VP9
7465ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_dsputil_static_init();
7475ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvp9_dsputil_static_init();
7485ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#endif
7495ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#endif
750ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang}
751ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
752b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
753b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus
754b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian}  // extern "C"
755b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif
756b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
757ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
758