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 Venkatasubramanian#define vp9_convolve8 vp9_convolve8_c 4691037db265ecdd914a26e056cf69207b4f50924ehkuang 47b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 48b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_avg vp9_convolve8_avg_c 4991037db265ecdd914a26e056cf69207b4f50924ehkuang 50b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 51b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c 5291037db265ecdd914a26e056cf69207b4f50924ehkuang 53b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 54b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_c 5591037db265ecdd914a26e056cf69207b4f50924ehkuang 56b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 57b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_horiz vp9_convolve8_horiz_c 5891037db265ecdd914a26e056cf69207b4f50924ehkuang 59b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 60b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve8_vert vp9_convolve8_vert_c 6191037db265ecdd914a26e056cf69207b4f50924ehkuang 62b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 63b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve_avg vp9_convolve_avg_c 6491037db265ecdd914a26e056cf69207b4f50924ehkuang 65b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 66b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_convolve_copy vp9_convolve_copy_c 6791037db265ecdd914a26e056cf69207b4f50924ehkuang 68b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 69b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c 7091037db265ecdd914a26e056cf69207b4f50924ehkuang 71b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 72b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c 7391037db265ecdd914a26e056cf69207b4f50924ehkuang 74b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 75b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c 7691037db265ecdd914a26e056cf69207b4f50924ehkuang 771184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 7891037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c 7991037db265ecdd914a26e056cf69207b4f50924ehkuang 80b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 81b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c 8291037db265ecdd914a26e056cf69207b4f50924ehkuang 83b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 84b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c 8591037db265ecdd914a26e056cf69207b4f50924ehkuang 86b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 87b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c 8891037db265ecdd914a26e056cf69207b4f50924ehkuang 89b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 90b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c 9191037db265ecdd914a26e056cf69207b4f50924ehkuang 92b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 93b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c 9491037db265ecdd914a26e056cf69207b4f50924ehkuang 95b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 96b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c 9791037db265ecdd914a26e056cf69207b4f50924ehkuang 98b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 99b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c 10091037db265ecdd914a26e056cf69207b4f50924ehkuang 101b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 102b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c 10391037db265ecdd914a26e056cf69207b4f50924ehkuang 1041184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 1051184aebb761cbeac9124c37189a80a1a58f04b6bhkuang#define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c 10691037db265ecdd914a26e056cf69207b4f50924ehkuang 107b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 108b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c 10991037db265ecdd914a26e056cf69207b4f50924ehkuang 110b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 111b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c 11291037db265ecdd914a26e056cf69207b4f50924ehkuang 113b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 114b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c 11591037db265ecdd914a26e056cf69207b4f50924ehkuang 116b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 117b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c 11891037db265ecdd914a26e056cf69207b4f50924ehkuang 119b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 120b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c 12191037db265ecdd914a26e056cf69207b4f50924ehkuang 122b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 123b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c 12491037db265ecdd914a26e056cf69207b4f50924ehkuang 125b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 126b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c 12791037db265ecdd914a26e056cf69207b4f50924ehkuang 128b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 129b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c 13091037db265ecdd914a26e056cf69207b4f50924ehkuang 131b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 132b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c 13391037db265ecdd914a26e056cf69207b4f50924ehkuang 134b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 135b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c 13691037db265ecdd914a26e056cf69207b4f50924ehkuang 137b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 138b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c 13991037db265ecdd914a26e056cf69207b4f50924ehkuang 1401184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 14191037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c 14291037db265ecdd914a26e056cf69207b4f50924ehkuang 143b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 144b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c 14591037db265ecdd914a26e056cf69207b4f50924ehkuang 146b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 147b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c 14891037db265ecdd914a26e056cf69207b4f50924ehkuang 149b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 150b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c 15191037db265ecdd914a26e056cf69207b4f50924ehkuang 152b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 153b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c 15491037db265ecdd914a26e056cf69207b4f50924ehkuang 155b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 156b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c 15791037db265ecdd914a26e056cf69207b4f50924ehkuang 158b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 159b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c 16091037db265ecdd914a26e056cf69207b4f50924ehkuang 161b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 162b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c 16391037db265ecdd914a26e056cf69207b4f50924ehkuang 164b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 165b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c 16691037db265ecdd914a26e056cf69207b4f50924ehkuang 1671184aebb761cbeac9124c37189a80a1a58f04b6bhkuangvoid vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 16891037db265ecdd914a26e056cf69207b4f50924ehkuang#define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c 16991037db265ecdd914a26e056cf69207b4f50924ehkuang 170b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 171b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c 17291037db265ecdd914a26e056cf69207b4f50924ehkuang 173b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 174b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c 17591037db265ecdd914a26e056cf69207b4f50924ehkuang 176b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 177b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c 178ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 179b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 180b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c 181ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 182b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 183b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c 184ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 185b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 186b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c 187ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 188b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 189b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_diamond_search_sad vp9_diamond_search_sad_c 190ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 191b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); 192b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct16x16 vp9_fdct16x16_c 193ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 194b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); 195b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct32x32 vp9_fdct32x32_c 196ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 197b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); 198b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct32x32_rd vp9_fdct32x32_rd_c 199ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 200b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); 201b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct4x4 vp9_fdct4x4_c 202ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 203b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); 204b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fdct8x8 vp9_fdct8x8_c 205ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 206b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type); 207b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fht16x16 vp9_fht16x16_c 20891037db265ecdd914a26e056cf69207b4f50924ehkuang 209b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type); 210b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fht4x4 vp9_fht4x4_c 21191037db265ecdd914a26e056cf69207b4f50924ehkuang 212b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type); 213b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fht8x8 vp9_fht8x8_c 214ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 215b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 216b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_full_range_search vp9_full_range_search_c 217ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 218b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 219b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_full_search_sad vp9_full_search_sad_c 220ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 221b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); 222b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_fwht4x4 vp9_fwht4x4_c 223ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 224b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_get_mb_ss_c(const int16_t *); 225b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_get_mb_ss vp9_get_mb_ss_c 226ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 2276ac915abcdb404a00d927fe6308a47fcf09d9519hkuangvoid 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); 2286ac915abcdb404a00d927fe6308a47fcf09d9519hkuang#define vp9_get_sse_sum_16x16 vp9_get_sse_sum_16x16_c 2296ac915abcdb404a00d927fe6308a47fcf09d9519hkuang 230b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 231b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c 232ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 233b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 234b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c 235ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 236b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 237b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c 238ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 239b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 240b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c 241f3bed9137f66ef693bd406e43b17e9a1114f1e14hkuang 242b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 243b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c 244ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 245b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 246b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct16x16_10_add vp9_idct16x16_10_add_c 247ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 2485ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 2495ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct16x16_1_add vp9_idct16x16_1_add_c 250ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 2515ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 2525ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct16x16_256_add vp9_idct16x16_256_add_c 253ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 2545ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 2555ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c 256ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 257b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 258b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct32x32_1_add vp9_idct32x32_1_add_c 259b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 2605ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 2615ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_idct32x32_34_add vp9_idct32x32_34_add_c 262ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 263b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 264b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct4x4_16_add vp9_idct4x4_16_add_c 265b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 266b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 267b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct4x4_1_add vp9_idct4x4_1_add_c 268b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 269b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 270b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct8x8_10_add vp9_idct8x8_10_add_c 271b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 272b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 273b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct8x8_1_add vp9_idct8x8_1_add_c 274b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 275b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 276b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_idct8x8_64_add vp9_idct8x8_64_add_c 277b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 278b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type); 279b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_iht16x16_256_add vp9_iht16x16_256_add_c 280ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 2815ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type); 2825ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iht4x4_16_add vp9_iht4x4_16_add_c 283ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 2845ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type); 2855ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iht8x8_64_add vp9_iht8x8_64_add_c 286ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 287b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 288b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c 289ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 2905ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuangvoid vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 2915ae7ac49f08a179e4f054d99fcfc9dce78d26e58hkuang#define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c 292ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 293b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 294b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c 295b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 296b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 297b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_c 298b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 299b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 300b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_c 301b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 302b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 303b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_8 vp9_lpf_horizontal_8_c 304b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 305b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 306b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_horizontal_8_dual vp9_lpf_horizontal_8_dual_c 307b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 308b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); 309b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_16 vp9_lpf_vertical_16_c 310b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 311b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); 312b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_16_dual vp9_lpf_vertical_16_dual_c 313b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 314b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 315b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_4 vp9_lpf_vertical_4_c 316b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 317b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 318b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_c 319b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 320b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 321b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_8 vp9_lpf_vertical_8_c 322b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 323b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 324b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_c 325b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 326b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 327b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_mse16x16 vp9_mse16x16_c 328b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 329b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 330b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_mse16x8 vp9_mse16x8_c 331b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 332b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 333b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_mse8x16 vp9_mse8x16_c 334b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 335b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 336b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_mse8x8 vp9_mse8x8_c 337b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 338b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 339b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_quantize_b vp9_quantize_b_c 340b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 341b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 342b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 343b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 344b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 345b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_refining_search_sad vp9_refining_search_sad_c 346b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 347b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 348b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16 vp9_sad16x16_c 349b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 350b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 351b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16_avg vp9_sad16x16_avg_c 352b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 353b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 354b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16x3 vp9_sad16x16x3_c 355b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 356b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 357b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16x4d vp9_sad16x16x4d_c 358b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 359b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 360b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x16x8 vp9_sad16x16x8_c 361b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 362b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 363b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x32 vp9_sad16x32_c 364b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 365b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 366b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x32_avg vp9_sad16x32_avg_c 367b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 368b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 369b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x32x4d vp9_sad16x32x4d_c 370b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 371b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 372b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8 vp9_sad16x8_c 373b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 374b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 375b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8_avg vp9_sad16x8_avg_c 376b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 377b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 378b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8x3 vp9_sad16x8x3_c 379b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 380b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 381b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8x4d vp9_sad16x8x4d_c 382b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 383b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 384b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad16x8x8 vp9_sad16x8x8_c 385b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 386b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 387b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x16 vp9_sad32x16_c 388b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 389b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 390b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x16_avg vp9_sad32x16_avg_c 391b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 392b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 393b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x16x4d vp9_sad32x16x4d_c 394b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 395b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 396b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32 vp9_sad32x32_c 397b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 398b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 399b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32_avg vp9_sad32x32_avg_c 400b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 401b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 402b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32x3 vp9_sad32x32x3_c 403b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 404b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 405b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32x4d vp9_sad32x32x4d_c 406b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 407b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 408b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x32x8 vp9_sad32x32x8_c 409b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 410b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 411b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x64 vp9_sad32x64_c 412b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 413b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 414b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x64_avg vp9_sad32x64_avg_c 415b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 416b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 417b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad32x64x4d vp9_sad32x64x4d_c 418b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 419b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 420b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4 vp9_sad4x4_c 421b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 422b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 423b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4_avg vp9_sad4x4_avg_c 424b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 425b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 426b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4x3 vp9_sad4x4x3_c 427b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 428b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 429b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4x4d vp9_sad4x4x4d_c 430b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 431b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 432b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x4x8 vp9_sad4x4x8_c 433b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 434b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 435b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x8 vp9_sad4x8_c 436b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 437b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 438b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x8_avg vp9_sad4x8_avg_c 439b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 440b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 441b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x8x4d vp9_sad4x8x4d_c 442b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 443b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 444b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad4x8x8 vp9_sad4x8x8_c 445b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 446b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 447b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x32 vp9_sad64x32_c 448b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 449b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 450b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x32_avg vp9_sad64x32_avg_c 451b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 452b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 453b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x32x4d vp9_sad64x32x4d_c 454b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 455b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 456b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64 vp9_sad64x64_c 457b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 458b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 459b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64_avg vp9_sad64x64_avg_c 460b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 461b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 462b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64x3 vp9_sad64x64x3_c 463b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 464b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 465b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64x4d vp9_sad64x64x4d_c 466b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 467b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 468b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad64x64x8 vp9_sad64x64x8_c 469b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 470b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 471b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16 vp9_sad8x16_c 472b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 473b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 474b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16_avg vp9_sad8x16_avg_c 475b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 476b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 477b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16x3 vp9_sad8x16x3_c 478b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 479b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 480b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x16x4d vp9_sad8x16x4d_c 481b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 482b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x16x8_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_sad8x16x8 vp9_sad8x16x8_c 484b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 485b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 486b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x4 vp9_sad8x4_c 487b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 488b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 489b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x4_avg vp9_sad8x4_avg_c 490b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 491b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 492b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x4x4d vp9_sad8x4x4d_c 493b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 494b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 495b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x4x8 vp9_sad8x4x8_c 496b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 497b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 498b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8 vp9_sad8x8_c 499b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 500b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 501b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8_avg vp9_sad8x8_avg_c 502b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 503b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 504b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8x3 vp9_sad8x8x3_c 505b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 506b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 507b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8x4d vp9_sad8x8x4d_c 508b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 509b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 510b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sad8x8x8 vp9_sad8x8x8_c 511b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 512b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 513b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c 514b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 515b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 516b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c 517b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 518b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 519b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c 520b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 521b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 522b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c 523b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 524b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 525b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c 526b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 527b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 528b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c 529b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 530b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 531b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c 532b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 533b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 534b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c 535b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 536b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 537b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c 538b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 539b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 540b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c 541b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 542b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 543b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c 544b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 545b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 546b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c 547b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 548b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 549b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c 550b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 551b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 552b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c 553b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 554b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 555b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c 556b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 557b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 558b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c 559b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 560b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 561b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c 562b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 563b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 564b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c 565b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 566b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 567b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c 568b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 569b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 570b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c 571b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 572b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 573b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c 574b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 575b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 576b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c 577b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 578b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 579b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c 580b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 581b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 582b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c 583b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 584b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 585b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c 586b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 587b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 588b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c 589b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 590b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 591b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c 592b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 593b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 594b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c 595b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 596b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 597b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_subtract_block vp9_subtract_block_c 598b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 599b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 600b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_temporal_filter_apply vp9_temporal_filter_apply_c 601b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 602b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 603b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c 604b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 605b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 606b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c 607b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 608b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 609b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c 610b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 611b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 612b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c 613b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 614b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 615b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c 616b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 617b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 618b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c 619b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 620b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 621b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c 622b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 623b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 624b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c 625b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 626b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 627b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance16x16 vp9_variance16x16_c 628b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 629b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 630b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance16x32 vp9_variance16x32_c 631b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 632b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 633b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance16x8 vp9_variance16x8_c 634b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 635b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 636b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance32x16 vp9_variance32x16_c 637b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 638b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 639b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance32x32 vp9_variance32x32_c 640b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 641b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 642b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance32x64 vp9_variance32x64_c 643b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 644b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 645b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance4x4 vp9_variance4x4_c 646b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 647b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 648b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance4x8 vp9_variance4x8_c 649b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 650b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 651b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance64x32 vp9_variance64x32_c 652b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 653b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 654b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance64x64 vp9_variance64x64_c 655b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 656b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 657b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance8x16 vp9_variance8x16_c 658b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 659b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 660b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance8x4 vp9_variance8x4_c 661b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 662b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 663b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance8x8 vp9_variance8x8_c 664b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 665b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 666b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_c 667b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 668b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 669b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_c 670b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 671b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 672b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_c 673b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 674b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 675b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c 676b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 677b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 678b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c 679b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 680b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 681b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c 682b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 683b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 684b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c 685b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 686b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 687b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c 688b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 689b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh 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); 690b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c 691ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 692ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid vp9_rtcd(void); 693b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 694ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#include "vpx_config.h" 695ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang 696ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifdef RTCD_C 697ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangstatic void setup_rtcd_internal(void) 698ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang{ 699ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang} 700ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif 701b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 702b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus 703b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian} // extern "C" 704b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif 705b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 706ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#endif 707