vp8_rtcd.h revision b08e2e23eec181e9951df33cd704ac294c5407b6
1ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#ifndef VP8_RTCD_H_
2ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang#define VP8_RTCD_H_
31b362b15af34006e6a11974088a46d42b903418eJohann
41b362b15af34006e6a11974088a46d42b903418eJohann#ifdef RTCD_C
51b362b15af34006e6a11974088a46d42b903418eJohann#define RTCD_EXTERN
61b362b15af34006e6a11974088a46d42b903418eJohann#else
71b362b15af34006e6a11974088a46d42b903418eJohann#define RTCD_EXTERN extern
81b362b15af34006e6a11974088a46d42b903418eJohann#endif
91b362b15af34006e6a11974088a46d42b903418eJohann
10b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus
11b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianextern "C" {
12b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif
13b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
14ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang/*
15ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang * VP8
16ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuang */
171b362b15af34006e6a11974088a46d42b903418eJohann
181b362b15af34006e6a11974088a46d42b903418eJohannstruct blockd;
191b362b15af34006e6a11974088a46d42b903418eJohannstruct macroblockd;
201b362b15af34006e6a11974088a46d42b903418eJohannstruct loop_filter_info;
211b362b15af34006e6a11974088a46d42b903418eJohann
221b362b15af34006e6a11974088a46d42b903418eJohann/* Encoder forward decls */
231b362b15af34006e6a11974088a46d42b903418eJohannstruct block;
241b362b15af34006e6a11974088a46d42b903418eJohannstruct macroblock;
251b362b15af34006e6a11974088a46d42b903418eJohannstruct variance_vtable;
261b362b15af34006e6a11974088a46d42b903418eJohannunion int_mv;
271b362b15af34006e6a11974088a46d42b903418eJohannstruct yv12_buffer_config;
281b362b15af34006e6a11974088a46d42b903418eJohann
29b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
30b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_bilinear_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
31b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_armv6
321b362b15af34006e6a11974088a46d42b903418eJohann
33b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
34b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_bilinear_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
35b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_armv6
361b362b15af34006e6a11974088a46d42b903418eJohann
37b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
38b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_bilinear_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
39b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_armv6
401b362b15af34006e6a11974088a46d42b903418eJohann
41b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
42b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_bilinear_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
43b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_armv6
441b362b15af34006e6a11974088a46d42b903418eJohann
45b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint vp8_block_error_c(short *coeff, short *dqcoeff);
46b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_block_error vp8_block_error_c
471b362b15af34006e6a11974088a46d42b903418eJohann
48b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid 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);
49b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c
501b362b15af34006e6a11974088a46d42b903418eJohann
51b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid 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);
52b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c
531b362b15af34006e6a11974088a46d42b903418eJohann
54b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_clear_system_state_c();
55b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_clear_system_state vp8_clear_system_state_c
561b362b15af34006e6a11974088a46d42b903418eJohann
571b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
581b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
591b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_copy_mem16x16 vp8_copy_mem16x16_v6
601b362b15af34006e6a11974088a46d42b903418eJohann
61b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
62b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
63b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_copy_mem8x4 vp8_copy_mem8x4_v6
64b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
651b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
661b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem8x8_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
671b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_copy_mem8x8 vp8_copy_mem8x8_v6
681b362b15af34006e6a11974088a46d42b903418eJohann
69b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
70b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dc_only_idct_add_v6(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
71b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_dc_only_idct_add vp8_dc_only_idct_add_v6
721b362b15af34006e6a11974088a46d42b903418eJohann
73b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint vp8_denoiser_filter_c(struct yv12_buffer_config* mc_running_avg, struct yv12_buffer_config* running_avg, struct macroblock* signal, unsigned int motion_magnitude2, int y_offset, int uv_offset);
74b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_denoiser_filter vp8_denoiser_filter_c
751b362b15af34006e6a11974088a46d42b903418eJohann
76b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
77b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dequant_idct_add_v6(short *input, short *dq, unsigned char *output, int stride);
78b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_dequant_idct_add vp8_dequant_idct_add_v6
791b362b15af34006e6a11974088a46d42b903418eJohann
80b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
81b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dequant_idct_add_uv_block_v6(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
82b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_v6
831b362b15af34006e6a11974088a46d42b903418eJohann
84b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
85b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
86b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_v6
871b362b15af34006e6a11974088a46d42b903418eJohann
88b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dequantize_b_c(struct blockd*, short *dqc);
89b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_dequantize_b_v6(struct blockd*, short *dqc);
90b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_dequantize_b vp8_dequantize_b_v6
911b362b15af34006e6a11974088a46d42b903418eJohann
92b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint 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);
93b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_diamond_search_sad vp8_diamond_search_sad_c
941b362b15af34006e6a11974088a46d42b903418eJohann
95b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_fast_quantize_b_c(struct block *, struct blockd *);
96b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_fast_quantize_b_armv6(struct block *, struct blockd *);
97b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_fast_quantize_b vp8_fast_quantize_b_armv6
981b362b15af34006e6a11974088a46d42b903418eJohann
99b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
100b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c
1011b362b15af34006e6a11974088a46d42b903418eJohann
102b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint 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);
103b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_full_search_sad vp8_full_search_sad_c
1041b362b15af34006e6a11974088a46d42b903418eJohann
105b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
106b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_get4x4sse_cs vp8_get4x4sse_cs_c
1071b362b15af34006e6a11974088a46d42b903418eJohann
108b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_get_mb_ss_c(const short *);
109b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_get_mb_ss vp8_get_mb_ss_c
1101b362b15af34006e6a11974088a46d42b903418eJohann
111b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid 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);
112b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_intra4x4_predict_armv6(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
113b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_intra4x4_predict vp8_intra4x4_predict_armv6
1141b362b15af34006e6a11974088a46d42b903418eJohann
115b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
116b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_bh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
117b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_loop_filter_bh vp8_loop_filter_bh_armv6
1181b362b15af34006e6a11974088a46d42b903418eJohann
119b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
120b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_bv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
121b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_loop_filter_bv vp8_loop_filter_bv_armv6
1221b362b15af34006e6a11974088a46d42b903418eJohann
123b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
124b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_mbh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
125b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_loop_filter_mbh vp8_loop_filter_mbh_armv6
1261b362b15af34006e6a11974088a46d42b903418eJohann
127b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
128b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_mbv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
129b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_loop_filter_mbv vp8_loop_filter_mbv_armv6
1301b362b15af34006e6a11974088a46d42b903418eJohann
131b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
132b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_bhs_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
133b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_armv6
1341b362b15af34006e6a11974088a46d42b903418eJohann
135b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
136b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_bvs_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
137b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_armv6
1381b362b15af34006e6a11974088a46d42b903418eJohann
139b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
140b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_simple_horizontal_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
141b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_armv6
1421b362b15af34006e6a11974088a46d42b903418eJohann
143b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
144b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_loop_filter_simple_vertical_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
145b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_armv6
1461b362b15af34006e6a11974088a46d42b903418eJohann
147b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint vp8_mbblock_error_c(struct macroblock *mb, int dc);
148b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_mbblock_error vp8_mbblock_error_c
1491b362b15af34006e6a11974088a46d42b903418eJohann
150b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint vp8_mbuverror_c(struct macroblock *mb);
151b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_mbuverror vp8_mbuverror_c
1521b362b15af34006e6a11974088a46d42b903418eJohann
153b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
154b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
155b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_mse16x16 vp8_mse16x16_armv6
1561b362b15af34006e6a11974088a46d42b903418eJohann
157b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_quantize_mb_c(struct macroblock *);
158b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_quantize_mb vp8_quantize_mb_c
1591b362b15af34006e6a11974088a46d42b903418eJohann
160b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_quantize_mbuv_c(struct macroblock *);
161b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_quantize_mbuv vp8_quantize_mbuv_c
1621b362b15af34006e6a11974088a46d42b903418eJohann
163b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_quantize_mby_c(struct macroblock *);
164b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_quantize_mby vp8_quantize_mby_c
1651b362b15af34006e6a11974088a46d42b903418eJohann
166b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianint 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);
167b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_refining_search_sad vp8_refining_search_sad_c
1681b362b15af34006e6a11974088a46d42b903418eJohann
169b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_regular_quantize_b_c(struct block *, struct blockd *);
170b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_regular_quantize_b vp8_regular_quantize_b_c
171b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
172b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
173b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
1741b362b15af34006e6a11974088a46d42b903418eJohann
1751b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
1761b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
1771b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x16 vp8_sad16x16_armv6
1781b362b15af34006e6a11974088a46d42b903418eJohann
179b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
180b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad16x16x3 vp8_sad16x16x3_c
1811b362b15af34006e6a11974088a46d42b903418eJohann
182b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
183b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad16x16x4d vp8_sad16x16x4d_c
1841b362b15af34006e6a11974088a46d42b903418eJohann
185b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
186b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad16x16x8 vp8_sad16x16x8_c
187b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
188b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
189b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad16x8 vp8_sad16x8_c
1901b362b15af34006e6a11974088a46d42b903418eJohann
1911b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
1921b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x8x3 vp8_sad16x8x3_c
1931b362b15af34006e6a11974088a46d42b903418eJohann
194b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
195b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad16x8x4d vp8_sad16x8x4d_c
1961b362b15af34006e6a11974088a46d42b903418eJohann
1971b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
1981b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x8x8 vp8_sad16x8x8_c
1991b362b15af34006e6a11974088a46d42b903418eJohann
200b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
201b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad4x4 vp8_sad4x4_c
202b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
203b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
204b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad4x4x3 vp8_sad4x4x3_c
2051b362b15af34006e6a11974088a46d42b903418eJohann
2061b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
2071b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad4x4x4d vp8_sad4x4x4d_c
2081b362b15af34006e6a11974088a46d42b903418eJohann
209b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
210b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad4x4x8 vp8_sad4x4x8_c
211b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
212b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
213b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad8x16 vp8_sad8x16_c
214b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
215b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
216b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad8x16x3 vp8_sad8x16x3_c
2171b362b15af34006e6a11974088a46d42b903418eJohann
2181b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
2191b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad8x16x4d vp8_sad8x16x4d_c
2201b362b15af34006e6a11974088a46d42b903418eJohann
221b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
222b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad8x16x8 vp8_sad8x16x8_c
2231b362b15af34006e6a11974088a46d42b903418eJohann
224b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
225b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad8x8 vp8_sad8x8_c
226ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
227b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
228b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad8x8x3 vp8_sad8x8x3_c
229ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
230b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
231b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad8x8x4d vp8_sad8x8x4d_c
232ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
233b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
234b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sad8x8x8 vp8_sad8x8x8_c
235ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
236ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_fdct4x4_c(short *input, short *output, int pitch);
237ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_fdct4x4_armv6(short *input, short *output, int pitch);
238ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_short_fdct4x4 vp8_short_fdct4x4_armv6
239ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
240ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_fdct8x4_c(short *input, short *output, int pitch);
241ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_fdct8x4_armv6(short *input, short *output, int pitch);
242ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_short_fdct8x4 vp8_short_fdct8x4_armv6
243ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
244b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
245b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_short_idct4x4llm_v6_dual(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
246b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_short_idct4x4llm vp8_short_idct4x4llm_v6_dual
247b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
248b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_short_inv_walsh4x4_c(short *input, short *output);
249b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_short_inv_walsh4x4_v6(short *input, short *output);
250b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_v6
251b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
252b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_short_inv_walsh4x4_1_c(short *input, short *output);
253b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
254b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
255ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_walsh4x4_c(short *input, short *output, int pitch);
256ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_walsh4x4_armv6(short *input, short *output, int pitch);
257ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_short_walsh4x4 vp8_short_walsh4x4_armv6
258ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
259b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
260b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sixtap_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
261b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_armv6
262ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
263b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
264b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sixtap_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
265b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_armv6
266ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
267b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
268b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sixtap_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
269b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_armv6
270ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
271b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
272b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_sixtap_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
273b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_armv6
274ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
275b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
276b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c
277ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
278b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
279b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_sub_pixel_variance16x16_armv6(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
280b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_armv6
281ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
282b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
283b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c
284ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
285b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
286b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c
287ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
288b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
289b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c
290ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
291b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
292b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_sub_pixel_variance8x8_armv6(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
293b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_armv6
294ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
295ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
296ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch);
297ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_subtract_b vp8_subtract_b_armv6
298ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
299b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
300b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianvoid vp8_subtract_mbuv_armv6(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
301b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_subtract_mbuv vp8_subtract_mbuv_armv6
302b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
303ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
304ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
305ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_subtract_mby vp8_subtract_mby_armv6
306ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
307b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
308b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
309b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_variance16x16 vp8_variance16x16_armv6
310ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
311b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
312b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_variance16x8 vp8_variance16x8_c
313ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
314b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
315b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_variance4x4 vp8_variance4x4_c
316ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
317b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
318b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_variance8x16 vp8_variance8x16_c
319b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
320b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
321b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
322b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_variance8x8 vp8_variance8x8_armv6
323b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
324b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
325b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance_halfpixvar16x16_h_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
326b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_armv6
327b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
328b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
329b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance_halfpixvar16x16_hv_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
330b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_armv6
331b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
332b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned 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);
333b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianunsigned int vp8_variance_halfpixvar16x16_v_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
334b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_armv6
335ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
336ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
337ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c
338ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
339ba164dffc5a6795bce97fae02b51ccf3330e15e4hkuangvoid vp8_rtcd(void);
340b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
3411b362b15af34006e6a11974088a46d42b903418eJohann#include "vpx_config.h"
3421b362b15af34006e6a11974088a46d42b903418eJohann
3431b362b15af34006e6a11974088a46d42b903418eJohann#ifdef RTCD_C
3441b362b15af34006e6a11974088a46d42b903418eJohann#include "vpx_ports/arm.h"
3451b362b15af34006e6a11974088a46d42b903418eJohannstatic void setup_rtcd_internal(void)
3461b362b15af34006e6a11974088a46d42b903418eJohann{
3471b362b15af34006e6a11974088a46d42b903418eJohann    int flags = arm_cpu_caps();
3481b362b15af34006e6a11974088a46d42b903418eJohann
3491b362b15af34006e6a11974088a46d42b903418eJohann    (void)flags;
3501b362b15af34006e6a11974088a46d42b903418eJohann
3511b362b15af34006e6a11974088a46d42b903418eJohann}
3521b362b15af34006e6a11974088a46d42b903418eJohann#endif
353b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
354b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus
355b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian}  // extern "C"
356b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif
357b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian
3581b362b15af34006e6a11974088a46d42b903418eJohann#endif
359