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
102ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#ifdef __cplusplus
112ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianextern "C" {
122ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#endif
132ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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;
26ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianstruct search_site_config;
272ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianstruct mv;
28ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangunion int_mv;
29ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstruct yv12_buffer_config;
30ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
312ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
322ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_blend_b vp9_blend_b_c
33ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
342ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
352ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_blend_mb_inner vp9_blend_mb_inner_c
36ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
372ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
382ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_blend_mb_outer vp9_blend_mb_outer_c
39ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
402ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianint64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
412ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_block_error vp9_block_error_c
42ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
432ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
442ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_convolve8 vp9_convolve8_c
4591037db265ecdd914a26e056cf69207b4f50924ehkuang
462ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
472ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_convolve8_avg vp9_convolve8_avg_c
4891037db265ecdd914a26e056cf69207b4f50924ehkuang
492ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
502ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c
5191037db265ecdd914a26e056cf69207b4f50924ehkuang
522ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
532ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_c
5491037db265ecdd914a26e056cf69207b4f50924ehkuang
552ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
562ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_convolve8_horiz vp9_convolve8_horiz_c
5791037db265ecdd914a26e056cf69207b4f50924ehkuang
582ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
592ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_convolve8_vert vp9_convolve8_vert_c
6091037db265ecdd914a26e056cf69207b4f50924ehkuang
612ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
622ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_convolve_avg vp9_convolve_avg_c
6391037db265ecdd914a26e056cf69207b4f50924ehkuang
642ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
652ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_convolve_copy vp9_convolve_copy_c
6691037db265ecdd914a26e056cf69207b4f50924ehkuang
672ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
682ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c
6991037db265ecdd914a26e056cf69207b4f50924ehkuang
702ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
712ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c
7291037db265ecdd914a26e056cf69207b4f50924ehkuang
732ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
742ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c
7591037db265ecdd914a26e056cf69207b4f50924ehkuang
761184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
7791037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c
7891037db265ecdd914a26e056cf69207b4f50924ehkuang
792ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
802ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c
8191037db265ecdd914a26e056cf69207b4f50924ehkuang
822ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
832ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c
8491037db265ecdd914a26e056cf69207b4f50924ehkuang
852ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
862ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c
8791037db265ecdd914a26e056cf69207b4f50924ehkuang
882ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
892ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c
9091037db265ecdd914a26e056cf69207b4f50924ehkuang
912ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
922ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c
9391037db265ecdd914a26e056cf69207b4f50924ehkuang
942ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
952ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c
9691037db265ecdd914a26e056cf69207b4f50924ehkuang
972ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
982ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c
9991037db265ecdd914a26e056cf69207b4f50924ehkuang
1002ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1012ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c
10291037db265ecdd914a26e056cf69207b4f50924ehkuang
1031184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1041184aebb761cbeac9124c37189a80a1a58f04b6bhkuang#define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c
10591037db265ecdd914a26e056cf69207b4f50924ehkuang
1062ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1072ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c
10891037db265ecdd914a26e056cf69207b4f50924ehkuang
1092ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1102ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c
11191037db265ecdd914a26e056cf69207b4f50924ehkuang
1122ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1132ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c
11491037db265ecdd914a26e056cf69207b4f50924ehkuang
1152ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1162ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c
11791037db265ecdd914a26e056cf69207b4f50924ehkuang
1182ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1192ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c
12091037db265ecdd914a26e056cf69207b4f50924ehkuang
1212ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1222ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c
12391037db265ecdd914a26e056cf69207b4f50924ehkuang
1242ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1252ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c
12691037db265ecdd914a26e056cf69207b4f50924ehkuang
1272ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1282ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c
12991037db265ecdd914a26e056cf69207b4f50924ehkuang
1302ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1312ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c
13291037db265ecdd914a26e056cf69207b4f50924ehkuang
1332ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1342ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c
13591037db265ecdd914a26e056cf69207b4f50924ehkuang
1362ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1372ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c
13891037db265ecdd914a26e056cf69207b4f50924ehkuang
1391184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
14091037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c
14191037db265ecdd914a26e056cf69207b4f50924ehkuang
1422ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1432ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c
14491037db265ecdd914a26e056cf69207b4f50924ehkuang
1452ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1462ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c
14791037db265ecdd914a26e056cf69207b4f50924ehkuang
1482ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1492ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c
15091037db265ecdd914a26e056cf69207b4f50924ehkuang
1512ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1522ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c
15391037db265ecdd914a26e056cf69207b4f50924ehkuang
1542ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1552ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c
15691037db265ecdd914a26e056cf69207b4f50924ehkuang
1572ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1582ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c
15991037db265ecdd914a26e056cf69207b4f50924ehkuang
1602ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1612ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c
16291037db265ecdd914a26e056cf69207b4f50924ehkuang
1632ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1642ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c
16591037db265ecdd914a26e056cf69207b4f50924ehkuang
1661184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
16791037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c
16891037db265ecdd914a26e056cf69207b4f50924ehkuang
1692ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1702ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c
17191037db265ecdd914a26e056cf69207b4f50924ehkuang
1722ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1732ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c
17491037db265ecdd914a26e056cf69207b4f50924ehkuang
1752ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1762ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c
177ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
1782ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1792ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c
180ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
1812ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1822ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c
183ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
1842ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
1852ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c
186ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
187ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianint vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_site_config *cfg,  struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv);
1882ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_diamond_search_sad vp9_diamond_search_sad_c
189ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
1902ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride);
1912ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fdct16x16 vp9_fdct16x16_c
192ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
193ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride);
194ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_fdct16x16_1 vp9_fdct16x16_1_c
195ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian
1962ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride);
1972ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fdct32x32 vp9_fdct32x32_c
198ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
199ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride);
200ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_fdct32x32_1 vp9_fdct32x32_1_c
201ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian
2022ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
2032ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fdct32x32_rd vp9_fdct32x32_rd_c
204ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2052ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
2062ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fdct4x4 vp9_fdct4x4_c
207ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
208ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride);
209ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_fdct4x4_1 vp9_fdct4x4_1_c
210ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian
2112ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
2122ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fdct8x8 vp9_fdct8x8_c
213ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
214ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride);
215ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_fdct8x8_1 vp9_fdct8x8_1_c
216ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian
2172ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type);
2182ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fht16x16 vp9_fht16x16_c
21991037db265ecdd914a26e056cf69207b4f50924ehkuang
2202ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type);
2212ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fht4x4 vp9_fht4x4_c
22291037db265ecdd914a26e056cf69207b4f50924ehkuang
2232ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type);
2242ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fht8x8 vp9_fht8x8_c
225ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
226ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianint vp9_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv);
2272ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_full_range_search vp9_full_range_search_c
228ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
229ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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, const struct mv *center_mv, struct mv *best_mv);
2302ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_full_search_sad vp9_full_search_sad_c
231ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2322ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
2332ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_fwht4x4 vp9_fwht4x4_c
234ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
235ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
236ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_get16x16var vp9_get16x16var_c
237ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
238ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
239ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_get8x8var vp9_get8x8var_c
2404fb68e5dd4e93c7599dc905d861de11ac39c5585hkuang
241ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_get_mb_ss_c(const int16_t *);
242ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_get_mb_ss vp9_get_mb_ss_c
243ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2442ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
2452ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
246ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2472ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
2482ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
249ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2502ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
2512ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c
252f3bed9137f66ef693bd406e43b17e9a1114f1e14hkuang
2532ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
2542ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c
255ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2562ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2572ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_idct16x16_10_add vp9_idct16x16_10_add_c
258ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2595ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2605ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct16x16_1_add vp9_idct16x16_1_add_c
261ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2625ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2635ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct16x16_256_add vp9_idct16x16_256_add_c
264ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2655ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2665ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c
267ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2682ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2692ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_idct32x32_1_add vp9_idct32x32_1_add_c
2702ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
2715ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2725ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct32x32_34_add vp9_idct32x32_34_add_c
273ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2742ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2752ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_idct4x4_16_add vp9_idct4x4_16_add_c
2762ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
2772ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2782ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_idct4x4_1_add vp9_idct4x4_1_add_c
2792ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
280ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_idct8x8_12_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
281ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_idct8x8_12_add vp9_idct8x8_12_add_c
2822ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
2832ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2842ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_idct8x8_1_add vp9_idct8x8_1_add_c
2852ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
2862ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2872ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_idct8x8_64_add vp9_idct8x8_64_add_c
2882ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
2892ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type);
2902ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_iht16x16_256_add vp9_iht16x16_256_add_c
291ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2925ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
2935ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iht4x4_16_add vp9_iht4x4_16_add_c
294ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2955ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
2965ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iht8x8_64_add vp9_iht8x8_64_add_c
297ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
2982ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
2992ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
300ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
3015ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
3025ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
303ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
3042ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3052ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c
3062ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3072ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3082ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_c
3092ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3102ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3112ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_c
3122ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3132ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3142ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_horizontal_8 vp9_lpf_horizontal_8_c
3152ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3162ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3172ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_horizontal_8_dual vp9_lpf_horizontal_8_dual_c
3182ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3192ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
3202ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_vertical_16 vp9_lpf_vertical_16_c
3212ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3222ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
3232ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_vertical_16_dual vp9_lpf_vertical_16_dual_c
3242ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3252ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3262ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_vertical_4 vp9_lpf_vertical_4_c
3272ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3282ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3292ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_c
3302ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3312ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3322ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_vertical_8 vp9_lpf_vertical_8_c
3332ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3342ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3352ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_c
3362ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3372ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
3382ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_mse16x16 vp9_mse16x16_c
3392ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3402ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
3412ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_mse16x8 vp9_mse16x8_c
3422ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3432ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
3442ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_mse8x16 vp9_mse8x16_c
3452ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3462ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
3472ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_mse8x8 vp9_mse8x8_c
3482ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3492ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3502ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_quantize_b vp9_quantize_b_c
3512ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3522ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3532ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
3542ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
355ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_quantize_fp_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);
356ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_quantize_fp vp9_quantize_fp_c
357ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian
358ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_quantize_fp_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);
359ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
360ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanian
361ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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, const struct mv *center_mv);
3622ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_refining_search_sad vp9_refining_search_sad_c
3632ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
364ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
3652ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x16 vp9_sad16x16_c
3662ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
367ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
3682ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x16_avg vp9_sad16x16_avg_c
3692ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3702ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
3712ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x16x3 vp9_sad16x16x3_c
3722ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3732ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3742ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x16x4d vp9_sad16x16x4d_c
3752ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3762ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad16x16x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
3772ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x16x8 vp9_sad16x16x8_c
3782ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
379ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
3802ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x32 vp9_sad16x32_c
3812ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
382ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
3832ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x32_avg vp9_sad16x32_avg_c
3842ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3852ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3862ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x32x4d vp9_sad16x32x4d_c
3872ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
388ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
3892ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x8 vp9_sad16x8_c
3902ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
391ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
3922ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x8_avg vp9_sad16x8_avg_c
3932ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3942ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
3952ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x8x3 vp9_sad16x8x3_c
3962ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
3972ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
3982ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x8x4d vp9_sad16x8x4d_c
3992ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4002ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad16x8x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
4012ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad16x8x8 vp9_sad16x8x8_c
4022ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
403ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
4042ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x16 vp9_sad32x16_c
4052ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
406ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
4072ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x16_avg vp9_sad32x16_avg_c
4082ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4092ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
4102ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x16x4d vp9_sad32x16x4d_c
4112ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
412ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
4132ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x32 vp9_sad32x32_c
4142ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
415ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
4162ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x32_avg vp9_sad32x32_avg_c
4172ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4182ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
4192ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x32x3 vp9_sad32x32x3_c
4202ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4212ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
4222ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x32x4d vp9_sad32x32x4d_c
4232ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4242ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad32x32x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
4252ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x32x8 vp9_sad32x32x8_c
4262ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
427ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
4282ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x64 vp9_sad32x64_c
4292ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
430ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
4312ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x64_avg vp9_sad32x64_avg_c
4322ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4332ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
4342ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad32x64x4d vp9_sad32x64x4d_c
4352ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
436ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
4372ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x4 vp9_sad4x4_c
4382ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
439ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
4402ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x4_avg vp9_sad4x4_avg_c
4412ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4422ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
4432ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x4x3 vp9_sad4x4x3_c
4442ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4452ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
4462ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x4x4d vp9_sad4x4x4d_c
4472ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4482ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad4x4x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
4492ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x4x8 vp9_sad4x4x8_c
4502ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
451ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
4522ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x8 vp9_sad4x8_c
4532ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
454ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
4552ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x8_avg vp9_sad4x8_avg_c
4562ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4572ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
4582ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x8x4d vp9_sad4x8x4d_c
4592ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4602ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
4612ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad4x8x8 vp9_sad4x8x8_c
4622ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
463ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
4642ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad64x32 vp9_sad64x32_c
4652ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
466ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
4672ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad64x32_avg vp9_sad64x32_avg_c
4682ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4692ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
4702ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad64x32x4d vp9_sad64x32x4d_c
4712ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
472ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
4732ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad64x64 vp9_sad64x64_c
4742ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
475ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
4762ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad64x64_avg vp9_sad64x64_avg_c
4772ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4782ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
4792ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad64x64x3 vp9_sad64x64x3_c
4802ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4812ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
4822ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad64x64x4d vp9_sad64x64x4d_c
4832ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4842ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad64x64x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
4852ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad64x64x8 vp9_sad64x64x8_c
4862ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
487ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
4882ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x16 vp9_sad8x16_c
4892ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
490ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
4912ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x16_avg vp9_sad8x16_avg_c
4922ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4932ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
4942ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x16x3 vp9_sad8x16x3_c
4952ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4962ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
4972ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x16x4d vp9_sad8x16x4d_c
4982ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
4992ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad8x16x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
5002ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x16x8 vp9_sad8x16x8_c
5012ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
502ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
5032ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x4 vp9_sad8x4_c
5042ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
505ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
5062ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x4_avg vp9_sad8x4_avg_c
5072ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5082ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5092ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x4x4d vp9_sad8x4x4d_c
5102ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5112ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
5122ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x4x8 vp9_sad8x4x8_c
5132ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
514ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianunsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
5152ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x8 vp9_sad8x8_c
5162ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
517ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh 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);
5182ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x8_avg vp9_sad8x8_avg_c
5192ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5202ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
5212ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x8x3 vp9_sad8x8x3_c
5222ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5232ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5242ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x8x4d vp9_sad8x8x4d_c
5252ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5262ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_sad8x8x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
5272ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sad8x8x8 vp9_sad8x8x8_c
5282ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5292ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5302ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c
5312ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5322ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5332ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c
5342ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5352ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5362ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c
5372ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5382ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5392ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c
5402ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5412ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5422ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c
5432ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5442ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5452ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c
5462ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5472ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5482ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c
5492ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5502ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5512ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c
5522ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5532ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5542ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c
5552ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5562ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5572ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c
5582ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5592ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5602ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
5612ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5622ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5632ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
5642ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5652ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5662ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
5672ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5682ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5692ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c
5702ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5712ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5722ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
5732ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5742ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5752ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
5762ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5772ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5782ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
5792ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5802ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5812ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c
5822ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5832ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5842ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
5852ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5862ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5872ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
5882ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5892ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5902ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
5912ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5922ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5932ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
5942ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5952ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5962ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
5972ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
5982ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
5992ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
6002ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6012ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
6022ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
6032ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6042ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
6052ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c
6062ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6072ec72e65689c948e92b826ae1e867bf369e72f13Vignesh 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);
6082ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_subtract_block vp9_subtract_block_c
6092ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
610ba6c59e9d7d7013b3906b6f4230b663422681848Vignesh Venkatasubramanianvoid vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
6112ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_temporal_filter_apply vp9_temporal_filter_apply_c
6122ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6132ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
6142ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c
6152ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6162ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
6172ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
6182ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6192ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
6202ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c
6212ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6222ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
6232ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c
6242ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6252ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
6262ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c
6272ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6282ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
6292ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
6302ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6312ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
6322ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
6332ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6342ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianvoid vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
6352ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
6362ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6372ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6382ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance16x16 vp9_variance16x16_c
6392ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6402ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6412ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance16x32 vp9_variance16x32_c
6422ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6432ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6442ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance16x8 vp9_variance16x8_c
6452ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6462ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6472ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance32x16 vp9_variance32x16_c
6482ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6492ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6502ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance32x32 vp9_variance32x32_c
6512ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6522ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6532ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance32x64 vp9_variance32x64_c
6542ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6552ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6562ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance4x4 vp9_variance4x4_c
6572ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6582ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6592ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance4x8 vp9_variance4x8_c
6602ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6612ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6622ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance64x32 vp9_variance64x32_c
6632ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6642ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6652ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance64x64 vp9_variance64x64_c
6662ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6672ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6682ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance8x16 vp9_variance8x16_c
6692ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6702ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6712ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance8x4 vp9_variance8x4_c
6722ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6732ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanianunsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
6742ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#define vp9_variance8x8 vp9_variance8x8_c
6752ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
676ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid vp9_rtcd(void);
6772ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
678ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#include "vpx_config.h"
679ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang
680ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifdef RTCD_C
681ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstatic void setup_rtcd_internal(void)
682ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang{
683ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#if HAVE_DSPR2
6845ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#if CONFIG_VP8
685ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid dsputil_static_init();
686ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangdsputil_static_init();
687ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
6885ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#if CONFIG_VP9
6895ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_dsputil_static_init();
6905ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvp9_dsputil_static_init();
6915ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#endif
6925ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#endif
693ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang}
694ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
6952ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
6962ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#ifdef __cplusplus
6972ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian}  // extern "C"
6982ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian#endif
6992ec72e65689c948e92b826ae1e867bf369e72f13Vignesh Venkatasubramanian
700ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif
701