11b362b15af34006e6a11974088a46d42b903418eJohann#ifndef VPX_RTCD_
21b362b15af34006e6a11974088a46d42b903418eJohann#define VPX_RTCD_
31b362b15af34006e6a11974088a46d42b903418eJohann
41b362b15af34006e6a11974088a46d42b903418eJohann#ifdef RTCD_C
51b362b15af34006e6a11974088a46d42b903418eJohann#define RTCD_EXTERN
61b362b15af34006e6a11974088a46d42b903418eJohann#else
71b362b15af34006e6a11974088a46d42b903418eJohann#define RTCD_EXTERN extern
81b362b15af34006e6a11974088a46d42b903418eJohann#endif
91b362b15af34006e6a11974088a46d42b903418eJohann
101b362b15af34006e6a11974088a46d42b903418eJohann#include "vp8/common/blockd.h"
111b362b15af34006e6a11974088a46d42b903418eJohann
121b362b15af34006e6a11974088a46d42b903418eJohannstruct blockd;
131b362b15af34006e6a11974088a46d42b903418eJohannstruct macroblockd;
141b362b15af34006e6a11974088a46d42b903418eJohannstruct loop_filter_info;
151b362b15af34006e6a11974088a46d42b903418eJohann
161b362b15af34006e6a11974088a46d42b903418eJohann/* Encoder forward decls */
171b362b15af34006e6a11974088a46d42b903418eJohannstruct block;
181b362b15af34006e6a11974088a46d42b903418eJohannstruct macroblock;
191b362b15af34006e6a11974088a46d42b903418eJohannstruct variance_vtable;
201b362b15af34006e6a11974088a46d42b903418eJohannunion int_mv;
211b362b15af34006e6a11974088a46d42b903418eJohannstruct yv12_buffer_config;
221b362b15af34006e6a11974088a46d42b903418eJohann
231b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dequantize_b_c(struct blockd*, short *dqc);
241b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_dequantize_b vp8_dequantize_b_c
251b362b15af34006e6a11974088a46d42b903418eJohann
261b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
271b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dequant_idct_add_dspr2(short *input, short *dq, unsigned char *output, int stride);
281b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_dequant_idct_add vp8_dequant_idct_add_dspr2
291b362b15af34006e6a11974088a46d42b903418eJohann
301b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
311b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dequant_idct_add_y_block_dspr2(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
321b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_dspr2
331b362b15af34006e6a11974088a46d42b903418eJohann
341b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
351b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dequant_idct_add_uv_block_dspr2(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
361b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_dspr2
371b362b15af34006e6a11974088a46d42b903418eJohann
381b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
391b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_mbv_dspr2(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
401b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_loop_filter_mbv vp8_loop_filter_mbv_dspr2
411b362b15af34006e6a11974088a46d42b903418eJohann
421b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
431b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_bv_dspr2(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
441b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_loop_filter_bv vp8_loop_filter_bv_dspr2
451b362b15af34006e6a11974088a46d42b903418eJohann
461b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
471b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_mbh_dspr2(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
481b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_loop_filter_mbh vp8_loop_filter_mbh_dspr2
491b362b15af34006e6a11974088a46d42b903418eJohann
501b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
511b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_bh_dspr2(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
521b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_loop_filter_bh vp8_loop_filter_bh_dspr2
531b362b15af34006e6a11974088a46d42b903418eJohann
541b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
551b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_c
561b362b15af34006e6a11974088a46d42b903418eJohann
571b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
581b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_c
591b362b15af34006e6a11974088a46d42b903418eJohann
601b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
611b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_c
621b362b15af34006e6a11974088a46d42b903418eJohann
631b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
641b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_c
651b362b15af34006e6a11974088a46d42b903418eJohann
661b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
671b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_short_idct4x4llm_dspr2(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
681b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_short_idct4x4llm vp8_short_idct4x4llm_dspr2
691b362b15af34006e6a11974088a46d42b903418eJohann
701b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_short_inv_walsh4x4_1_c(short *input, short *output);
711b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_short_inv_walsh4x4_1_dspr2(short *input, short *output);
721b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_dspr2
731b362b15af34006e6a11974088a46d42b903418eJohann
741b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_short_inv_walsh4x4_c(short *input, short *output);
751b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_short_inv_walsh4x4_dspr2(short *input, short *output);
761b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_dspr2
771b362b15af34006e6a11974088a46d42b903418eJohann
781b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
791b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_dc_only_idct_add_dspr2(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
801b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_dc_only_idct_add vp8_dc_only_idct_add_dspr2
811b362b15af34006e6a11974088a46d42b903418eJohann
821b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
831b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem16x16_dspr2(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
841b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_copy_mem16x16 vp8_copy_mem16x16_dspr2
851b362b15af34006e6a11974088a46d42b903418eJohann
861b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
871b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem8x8_dspr2(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
881b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_copy_mem8x8 vp8_copy_mem8x8_dspr2
891b362b15af34006e6a11974088a46d42b903418eJohann
901b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
911b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_copy_mem8x4_dspr2(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
921b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_copy_mem8x4 vp8_copy_mem8x4_dspr2
931b362b15af34006e6a11974088a46d42b903418eJohann
941b362b15af34006e6a11974088a46d42b903418eJohannvoid 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);
951b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c
961b362b15af34006e6a11974088a46d42b903418eJohann
971b362b15af34006e6a11974088a46d42b903418eJohannvoid 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);
981b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c
991b362b15af34006e6a11974088a46d42b903418eJohann
1001b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
1011b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_intra4x4_predict vp8_intra4x4_predict_c
1021b362b15af34006e6a11974088a46d42b903418eJohann
1031b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1041b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sixtap_predict16x16_dspr2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1051b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_dspr2
1061b362b15af34006e6a11974088a46d42b903418eJohann
1071b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1081b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sixtap_predict8x8_dspr2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1091b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_dspr2
1101b362b15af34006e6a11974088a46d42b903418eJohann
1111b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1121b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sixtap_predict8x4_dspr2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1131b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_dspr2
1141b362b15af34006e6a11974088a46d42b903418eJohann
1151b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1161b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sixtap_predict4x4_dspr2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1171b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_dspr2
1181b362b15af34006e6a11974088a46d42b903418eJohann
1191b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1201b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_c
1211b362b15af34006e6a11974088a46d42b903418eJohann
1221b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1231b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_c
1241b362b15af34006e6a11974088a46d42b903418eJohann
1251b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1261b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_c
1271b362b15af34006e6a11974088a46d42b903418eJohann
1281b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
1291b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
1301b362b15af34006e6a11974088a46d42b903418eJohann
1311b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
1321b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_variance4x4 vp8_variance4x4_c
1331b362b15af34006e6a11974088a46d42b903418eJohann
1341b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
1351b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_variance8x8 vp8_variance8x8_c
1361b362b15af34006e6a11974088a46d42b903418eJohann
1371b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
1381b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_variance8x16 vp8_variance8x16_c
1391b362b15af34006e6a11974088a46d42b903418eJohann
1401b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
1411b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_variance16x8 vp8_variance16x8_c
1421b362b15af34006e6a11974088a46d42b903418eJohann
1431b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
1441b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_variance16x16 vp8_variance16x16_c
1451b362b15af34006e6a11974088a46d42b903418eJohann
1461b362b15af34006e6a11974088a46d42b903418eJohannunsigned 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);
1471b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c
1481b362b15af34006e6a11974088a46d42b903418eJohann
1491b362b15af34006e6a11974088a46d42b903418eJohannunsigned 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);
1501b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_c
1511b362b15af34006e6a11974088a46d42b903418eJohann
1521b362b15af34006e6a11974088a46d42b903418eJohannunsigned 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);
1531b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c
1541b362b15af34006e6a11974088a46d42b903418eJohann
1551b362b15af34006e6a11974088a46d42b903418eJohannunsigned 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);
1561b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c
1571b362b15af34006e6a11974088a46d42b903418eJohann
1581b362b15af34006e6a11974088a46d42b903418eJohannunsigned 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);
1591b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_c
1601b362b15af34006e6a11974088a46d42b903418eJohann
1611b362b15af34006e6a11974088a46d42b903418eJohannunsigned 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);
1621b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_c
1631b362b15af34006e6a11974088a46d42b903418eJohann
1641b362b15af34006e6a11974088a46d42b903418eJohannunsigned 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);
1651b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_c
1661b362b15af34006e6a11974088a46d42b903418eJohann
1671b362b15af34006e6a11974088a46d42b903418eJohannunsigned 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);
1681b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_c
1691b362b15af34006e6a11974088a46d42b903418eJohann
1701b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
1711b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad4x4 vp8_sad4x4_c
1721b362b15af34006e6a11974088a46d42b903418eJohann
1731b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
1741b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad8x8 vp8_sad8x8_c
1751b362b15af34006e6a11974088a46d42b903418eJohann
1761b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
1771b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad8x16 vp8_sad8x16_c
1781b362b15af34006e6a11974088a46d42b903418eJohann
1791b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
1801b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x8 vp8_sad16x8_c
1811b362b15af34006e6a11974088a46d42b903418eJohann
1821b362b15af34006e6a11974088a46d42b903418eJohannunsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
1831b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x16 vp8_sad16x16_c
1841b362b15af34006e6a11974088a46d42b903418eJohann
1851b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
1861b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad4x4x3 vp8_sad4x4x3_c
1871b362b15af34006e6a11974088a46d42b903418eJohann
1881b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
1891b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad8x8x3 vp8_sad8x8x3_c
1901b362b15af34006e6a11974088a46d42b903418eJohann
1911b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
1921b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad8x16x3 vp8_sad8x16x3_c
1931b362b15af34006e6a11974088a46d42b903418eJohann
1941b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
1951b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x8x3 vp8_sad16x8x3_c
1961b362b15af34006e6a11974088a46d42b903418eJohann
1971b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
1981b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x16x3 vp8_sad16x16x3_c
1991b362b15af34006e6a11974088a46d42b903418eJohann
2001b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
2011b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad4x4x8 vp8_sad4x4x8_c
2021b362b15af34006e6a11974088a46d42b903418eJohann
2031b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
2041b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad8x8x8 vp8_sad8x8x8_c
2051b362b15af34006e6a11974088a46d42b903418eJohann
2061b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
2071b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad8x16x8 vp8_sad8x16x8_c
2081b362b15af34006e6a11974088a46d42b903418eJohann
2091b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
2101b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x8x8 vp8_sad16x8x8_c
2111b362b15af34006e6a11974088a46d42b903418eJohann
2121b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
2131b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x16x8 vp8_sad16x16x8_c
2141b362b15af34006e6a11974088a46d42b903418eJohann
2151b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
2161b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad4x4x4d vp8_sad4x4x4d_c
2171b362b15af34006e6a11974088a46d42b903418eJohann
2181b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad8x8x4d_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_sad8x8x4d vp8_sad8x8x4d_c
2201b362b15af34006e6a11974088a46d42b903418eJohann
2211b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
2221b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad8x16x4d vp8_sad8x16x4d_c
2231b362b15af34006e6a11974088a46d42b903418eJohann
2241b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
2251b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x8x4d vp8_sad16x8x4d_c
2261b362b15af34006e6a11974088a46d42b903418eJohann
2271b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
2281b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_sad16x16x4d vp8_sad16x16x4d_c
2291b362b15af34006e6a11974088a46d42b903418eJohann
230ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinunsigned int vp8_get_mb_ss_c(const short *);
231ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_get_mb_ss vp8_get_mb_ss_c
232ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
233ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinunsigned 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);
234ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c
235ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
236ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinunsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
237ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_mse16x16 vp8_mse16x16_c
238ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
239ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinunsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
240ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_get4x4sse_cs vp8_get4x4sse_cs_c
241ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
242ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_fdct4x4_c(short *input, short *output, int pitch);
243ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_short_fdct4x4 vp8_short_fdct4x4_c
244ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
245ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_fdct8x4_c(short *input, short *output, int pitch);
246ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_short_fdct8x4 vp8_short_fdct8x4_c
247ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
248ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_short_walsh4x4_c(short *input, short *output, int pitch);
249ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_short_walsh4x4 vp8_short_walsh4x4_c
250ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
251ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_regular_quantize_b_c(struct block *, struct blockd *);
252ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_regular_quantize_b vp8_regular_quantize_b_c
253ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
254ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_fast_quantize_b_c(struct block *, struct blockd *);
255ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_fast_quantize_b vp8_fast_quantize_b_c
256ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
257ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
258ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
259ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
260ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
261ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c
262ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
263ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_quantize_mb_c(struct macroblock *);
264ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_quantize_mb vp8_quantize_mb_c
265ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
266ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_quantize_mby_c(struct macroblock *);
267ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_quantize_mby vp8_quantize_mby_c
268ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
269ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_quantize_mbuv_c(struct macroblock *);
270ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_quantize_mbuv vp8_quantize_mbuv_c
271ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
272ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinint vp8_block_error_c(short *coeff, short *dqcoeff);
273ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_block_error vp8_block_error_c
274ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
275ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinint vp8_mbblock_error_c(struct macroblock *mb, int dc);
276ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_mbblock_error vp8_mbblock_error_c
277ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
278ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinint vp8_mbuverror_c(struct macroblock *mb);
279ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_mbuverror vp8_mbuverror_c
280ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
281ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
282ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_subtract_b vp8_subtract_b_c
283ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
284ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
285ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_subtract_mby vp8_subtract_mby_c
286ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
287ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
288ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_subtract_mbuv vp8_subtract_mbuv_c
289ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
290ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinint 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);
291ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_full_search_sad vp8_full_search_sad_c
292ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
293ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinint 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);
294ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_refining_search_sad vp8_refining_search_sad_c
295ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
296ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinint 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);
297ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_diamond_search_sad vp8_diamond_search_sad_c
298ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
299ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinvoid vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
300ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c
301ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
302ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekinint 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);
303ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin#define vp8_denoiser_filter vp8_denoiser_filter_c
304ca15b5fc158a9df465aaf1acfe38d8cb5042c81bKunter Gultekin
3051b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
3061b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_horizontal_line_4_5_scale vp8_horizontal_line_4_5_scale_c
3071b362b15af34006e6a11974088a46d42b903418eJohann
3081b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3091b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_4_5_scale vp8_vertical_band_4_5_scale_c
3101b362b15af34006e6a11974088a46d42b903418eJohann
3111b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_last_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3121b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_last_vertical_band_4_5_scale vp8_last_vertical_band_4_5_scale_c
3131b362b15af34006e6a11974088a46d42b903418eJohann
3141b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
3151b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_horizontal_line_2_3_scale vp8_horizontal_line_2_3_scale_c
3161b362b15af34006e6a11974088a46d42b903418eJohann
3171b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3181b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_2_3_scale vp8_vertical_band_2_3_scale_c
3191b362b15af34006e6a11974088a46d42b903418eJohann
3201b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_last_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3211b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_last_vertical_band_2_3_scale vp8_last_vertical_band_2_3_scale_c
3221b362b15af34006e6a11974088a46d42b903418eJohann
3231b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
3241b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_horizontal_line_3_5_scale vp8_horizontal_line_3_5_scale_c
3251b362b15af34006e6a11974088a46d42b903418eJohann
3261b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3271b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_3_5_scale vp8_vertical_band_3_5_scale_c
3281b362b15af34006e6a11974088a46d42b903418eJohann
3291b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_last_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3301b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_last_vertical_band_3_5_scale vp8_last_vertical_band_3_5_scale_c
3311b362b15af34006e6a11974088a46d42b903418eJohann
3321b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_horizontal_line_3_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
3331b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_horizontal_line_3_4_scale vp8_horizontal_line_3_4_scale_c
3341b362b15af34006e6a11974088a46d42b903418eJohann
3351b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3361b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_3_4_scale vp8_vertical_band_3_4_scale_c
3371b362b15af34006e6a11974088a46d42b903418eJohann
3381b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_last_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3391b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_last_vertical_band_3_4_scale vp8_last_vertical_band_3_4_scale_c
3401b362b15af34006e6a11974088a46d42b903418eJohann
3411b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
3421b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_horizontal_line_1_2_scale vp8_horizontal_line_1_2_scale_c
3431b362b15af34006e6a11974088a46d42b903418eJohann
3441b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3451b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_1_2_scale vp8_vertical_band_1_2_scale_c
3461b362b15af34006e6a11974088a46d42b903418eJohann
3471b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_last_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3481b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_last_vertical_band_1_2_scale vp8_last_vertical_band_1_2_scale_c
3491b362b15af34006e6a11974088a46d42b903418eJohann
3501b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
3511b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
3521b362b15af34006e6a11974088a46d42b903418eJohann
3531b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3541b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
3551b362b15af34006e6a11974088a46d42b903418eJohann
3561b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
3571b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
3581b362b15af34006e6a11974088a46d42b903418eJohann
3591b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3601b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
3611b362b15af34006e6a11974088a46d42b903418eJohann
3621b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
3631b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
3641b362b15af34006e6a11974088a46d42b903418eJohann
3651b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3661b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
3671b362b15af34006e6a11974088a46d42b903418eJohann
3681b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
3691b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
3701b362b15af34006e6a11974088a46d42b903418eJohann
3711b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
3721b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
3731b362b15af34006e6a11974088a46d42b903418eJohann
3741b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_yv12_copy_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
3751b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
3761b362b15af34006e6a11974088a46d42b903418eJohann
3771b362b15af34006e6a11974088a46d42b903418eJohannvoid vp8_yv12_copy_y_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
3781b362b15af34006e6a11974088a46d42b903418eJohann#define vp8_yv12_copy_y vp8_yv12_copy_y_c
3791b362b15af34006e6a11974088a46d42b903418eJohann
3801b362b15af34006e6a11974088a46d42b903418eJohannvoid vpx_rtcd(void);
3811b362b15af34006e6a11974088a46d42b903418eJohann#include "vpx_config.h"
3821b362b15af34006e6a11974088a46d42b903418eJohann
3831b362b15af34006e6a11974088a46d42b903418eJohann#ifdef RTCD_C
3841b362b15af34006e6a11974088a46d42b903418eJohannstatic void setup_rtcd_internal(void)
3851b362b15af34006e6a11974088a46d42b903418eJohann{
3861b362b15af34006e6a11974088a46d42b903418eJohann
3871b362b15af34006e6a11974088a46d42b903418eJohann#if HAVE_DSPR2
3881b362b15af34006e6a11974088a46d42b903418eJohannvoid dsputil_static_init();
3891b362b15af34006e6a11974088a46d42b903418eJohanndsputil_static_init();
3901b362b15af34006e6a11974088a46d42b903418eJohann#endif
3911b362b15af34006e6a11974088a46d42b903418eJohann}
3921b362b15af34006e6a11974088a46d42b903418eJohann#endif
3931b362b15af34006e6a11974088a46d42b903418eJohann#endif
394