1d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#ifndef VP8_RTCD_H_
2d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define VP8_RTCD_H_
3d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
4d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#ifdef RTCD_C
5d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define RTCD_EXTERN
6d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#else
7d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define RTCD_EXTERN extern
8d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#endif
9d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
10d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org/*
11d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org * VP8
12d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org */
13d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
14d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgstruct blockd;
15d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgstruct macroblockd;
16d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgstruct loop_filter_info;
17d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
18d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org/* Encoder forward decls */
19d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgstruct block;
20d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgstruct macroblock;
21d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgstruct variance_vtable;
22d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgunion int_mv;
23d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgstruct yv12_buffer_config;
24d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
2587997d490ae52aa962a985c95b3cddf7f8832641johannkoenig@chromium.org#ifdef __cplusplus
2687997d490ae52aa962a985c95b3cddf7f8832641johannkoenig@chromium.orgextern "C" {
2787997d490ae52aa962a985c95b3cddf7f8832641johannkoenig@chromium.org#endif
2887997d490ae52aa962a985c95b3cddf7f8832641johannkoenig@chromium.org
2962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
3062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_c
31d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
3262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
3362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
34d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
3562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
3662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_c
37d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
3862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
3962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_c
40d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
4162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
4262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_blend_b vp8_blend_b_c
43d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
4462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
4562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_blend_mb_inner vp8_blend_mb_inner_c
46d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
4762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
4862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_blend_mb_outer vp8_blend_mb_outer_c
49d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
5062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgint vp8_block_error_c(short *coeff, short *dqcoeff);
5162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_block_error vp8_block_error_c
52d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
5362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_build_intra_predictors_mbuv_s_c(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row,  unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride);
5462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c
55d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
5662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_build_intra_predictors_mby_s_c(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride);
5762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c
58d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
5962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_clear_system_state_c();
6062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_clear_system_state vp8_clear_system_state_c
61d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
62d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
63d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_copy_mem16x16 vp8_copy_mem16x16_c
64d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
65d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
66d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_copy_mem8x4 vp8_copy_mem8x4_c
67d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
6862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
6962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_copy_mem8x8 vp8_copy_mem8x8_c
70d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
7162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
7262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_dc_only_idct_add vp8_dc_only_idct_add_c
73d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
74118f379ec73bf762ee63784bc5f41ffd41107470johannkoenig@chromium.orgint vp8_denoiser_filter_c(unsigned char *mc_running_avg_y, int mc_avg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising);
7562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_denoiser_filter vp8_denoiser_filter_c
76d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
77e2064011d36b2008099446503f28e64d445060ecjohannkoenig@chromium.orgint vp8_denoiser_filter_uv_c(unsigned char *mc_running_avg, int mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising);
78e2064011d36b2008099446503f28e64d445060ecjohannkoenig@chromium.org#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_c
79e2064011d36b2008099446503f28e64d445060ecjohannkoenig@chromium.org
8062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
8162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_dequant_idct_add vp8_dequant_idct_add_c
82d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
8362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
8462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_c
85d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
8662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
8762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_c
88d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
8962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_dequantize_b_c(struct blockd*, short *dqc);
9062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_dequantize_b vp8_dequantize_b_c
91d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
9262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgint vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
9362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_diamond_search_sad vp8_diamond_search_sad_c
94d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
9562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_fast_quantize_b_c(struct block *, struct blockd *);
9662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_fast_quantize_b vp8_fast_quantize_b_c
97d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
9862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
9962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c
100d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
101d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
102d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
103d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
104d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
105d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
106d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
10762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
10862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
109d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
11062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgint vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
11162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_full_search_sad vp8_full_search_sad_c
112d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
11362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
11462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_get4x4sse_cs vp8_get4x4sse_cs_c
115d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
11662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_get_mb_ss_c(const short *);
11762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_get_mb_ss vp8_get_mb_ss_c
118d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
11962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
12062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_intra4x4_predict vp8_intra4x4_predict_c
121d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
12262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
12362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_loop_filter_bh vp8_loop_filter_bh_c
124d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
12562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
12662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_loop_filter_bv vp8_loop_filter_bv_c
127d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
12862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
12962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_loop_filter_mbh vp8_loop_filter_mbh_c
130d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
13162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
13262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_loop_filter_mbv vp8_loop_filter_mbv_c
133d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
13462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
13562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_c
136d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
13762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
13862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_c
139d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
14062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
14162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_c
142d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
14362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
14462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_c
145d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
14662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgint vp8_mbblock_error_c(struct macroblock *mb, int dc);
14762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_mbblock_error vp8_mbblock_error_c
148d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
14962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
15062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c
151d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
15262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
15362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_mbpost_proc_down vp8_mbpost_proc_down_c
154d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
15562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgint vp8_mbuverror_c(struct macroblock *mb);
15662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_mbuverror vp8_mbuverror_c
157d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
15862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
15962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_mse16x16 vp8_mse16x16_c
160d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
16162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitch);
16262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_plane_add_noise vp8_plane_add_noise_c
163d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
16462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size);
16562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_row_c
166d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
16762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_quantize_mb_c(struct macroblock *);
16862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_quantize_mb vp8_quantize_mb_c
169d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
17062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_quantize_mbuv_c(struct macroblock *);
17162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_quantize_mbuv vp8_quantize_mbuv_c
172d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
17362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_quantize_mby_c(struct macroblock *);
17462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_quantize_mby vp8_quantize_mby_c
175d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
17662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgint vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
17762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_refining_search_sad vp8_refining_search_sad_c
178d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
17962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_regular_quantize_b_c(struct block *, struct blockd *);
18062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_regular_quantize_b vp8_regular_quantize_b_c
18162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
18262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
18362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
184d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
185d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgunsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
186d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_sad16x16 vp8_sad16x16_c
187d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
18862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
18962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad16x16x3 vp8_sad16x16x3_c
190d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
19162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
19262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad16x16x4d vp8_sad16x16x4d_c
193d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
19462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
19562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad16x16x8 vp8_sad16x16x8_c
19662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
19762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
19862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad16x8 vp8_sad16x8_c
199d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
200d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
201d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_sad16x8x3 vp8_sad16x8x3_c
202d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
20362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
20462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad16x8x4d vp8_sad16x8x4d_c
205d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
206d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
207d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_sad16x8x8 vp8_sad16x8x8_c
208d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
20962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
21062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad4x4 vp8_sad4x4_c
21162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
21262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
21362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad4x4x3 vp8_sad4x4x3_c
214d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
215d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
216d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_sad4x4x4d vp8_sad4x4x4d_c
217d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
21862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
21962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad4x4x8 vp8_sad4x4x8_c
22062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
22162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
22262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad8x16 vp8_sad8x16_c
22362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
22462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
22562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad8x16x3 vp8_sad8x16x3_c
226d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
227d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
228d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_sad8x16x4d vp8_sad8x16x4d_c
229d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
23062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
23162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad8x16x8 vp8_sad8x16x8_c
232d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
23362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
23462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad8x8 vp8_sad8x8_c
235d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
23662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
23762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad8x8x3 vp8_sad8x8x3_c
238d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
23962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
24062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad8x8x4d vp8_sad8x8x4d_c
241d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
24262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
24362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sad8x8x8 vp8_sad8x8x8_c
244d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
245d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_short_fdct4x4_c(short *input, short *output, int pitch);
246d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_short_fdct4x4 vp8_short_fdct4x4_c
247d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
248d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_short_fdct8x4_c(short *input, short *output, int pitch);
249d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_short_fdct8x4 vp8_short_fdct8x4_c
250d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
25162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
25262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_short_idct4x4llm vp8_short_idct4x4llm_c
25362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
25462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_short_inv_walsh4x4_c(short *input, short *output);
25562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_c
25662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
25762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_short_inv_walsh4x4_1_c(short *input, short *output);
25862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
25962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
260d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_short_walsh4x4_c(short *input, short *output, int pitch);
261d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_short_walsh4x4 vp8_short_walsh4x4_c
262d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
26362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
26462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_c
265d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
26662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
26762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_c
268d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
26962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
27062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_c
271d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
27262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
27362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_c
274d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
27562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sub_pixel_mse16x16_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
27662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c
277d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
27862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sub_pixel_variance16x16_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
27962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_c
280d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
28162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sub_pixel_variance16x8_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
28262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c
283d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
28462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sub_pixel_variance4x4_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
28562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c
286d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
28762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sub_pixel_variance8x16_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
28862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c
289d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
29062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_sub_pixel_variance8x8_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
29162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_c
292d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
293d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
294d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_subtract_b vp8_subtract_b_c
295d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
29662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgvoid vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
29762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_subtract_mbuv vp8_subtract_mbuv_c
29862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
299d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
300d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#define vp8_subtract_mby vp8_subtract_mby_c
301d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
30262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
30362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_variance16x16 vp8_variance16x16_c
304d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
30562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
30662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_variance16x8 vp8_variance16x8_c
307d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
30862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
30962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_variance4x4 vp8_variance4x4_c
310d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
31162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
31262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_variance8x16 vp8_variance8x16_c
31362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
31462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
31562346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_variance8x8 vp8_variance8x8_c
31662346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
31762346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
31862346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_c
31962346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
32062346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
32162346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_c
32262346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org
32362346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.orgunsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
32462346fffe2566140c9f486b24be8377abf9e5b59fgalligan@chromium.org#define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_c
325d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
326d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgvoid vp8_rtcd(void);
32793a74791c8e808ea76001ee07693aa2a5fdd3500johannkoenig@chromium.org
328d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#include "vpx_config.h"
329d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org
330d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#ifdef RTCD_C
331d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.orgstatic void setup_rtcd_internal(void)
332d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org{
333d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org}
334d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#endif
335dddee1ec7cedf276305b107429f684539b105276johannkoenig@chromium.org
336dddee1ec7cedf276305b107429f684539b105276johannkoenig@chromium.org#ifdef __cplusplus
337dddee1ec7cedf276305b107429f684539b105276johannkoenig@chromium.org}  // extern "C"
338dddee1ec7cedf276305b107429f684539b105276johannkoenig@chromium.org#endif
339dddee1ec7cedf276305b107429f684539b105276johannkoenig@chromium.org
340d5b5d74c44c300df0a4b2d288834e2c7d3e621d8sergeyu@chromium.org#endif
341