1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vpx_rtcd_armv7-android-gcc.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,745 @@ 1.4 +#ifndef VPX_RTCD_ 1.5 +#define VPX_RTCD_ 1.6 + 1.7 +#ifdef RTCD_C 1.8 +#define RTCD_EXTERN 1.9 +#else 1.10 +#define RTCD_EXTERN extern 1.11 +#endif 1.12 + 1.13 +#include "vp8/common/blockd.h" 1.14 + 1.15 +struct blockd; 1.16 +struct macroblockd; 1.17 +struct loop_filter_info; 1.18 + 1.19 +/* Encoder forward decls */ 1.20 +struct block; 1.21 +struct macroblock; 1.22 +struct variance_vtable; 1.23 +union int_mv; 1.24 +struct yv12_buffer_config; 1.25 + 1.26 +void vp8_dequantize_b_c(struct blockd*, short *dqc); 1.27 +void vp8_dequantize_b_v6(struct blockd*, short *dqc); 1.28 +void vp8_dequantize_b_neon(struct blockd*, short *dqc); 1.29 +RTCD_EXTERN void (*vp8_dequantize_b)(struct blockd*, short *dqc); 1.30 + 1.31 +void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride); 1.32 +void vp8_dequant_idct_add_v6(short *input, short *dq, unsigned char *output, int stride); 1.33 +void vp8_dequant_idct_add_neon(short *input, short *dq, unsigned char *output, int stride); 1.34 +RTCD_EXTERN void (*vp8_dequant_idct_add)(short *input, short *dq, unsigned char *output, int stride); 1.35 + 1.36 +void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs); 1.37 +void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, int stride, char *eobs); 1.38 +void vp8_dequant_idct_add_y_block_neon(short *q, short *dq, unsigned char *dst, int stride, char *eobs); 1.39 +RTCD_EXTERN void (*vp8_dequant_idct_add_y_block)(short *q, short *dq, unsigned char *dst, int stride, char *eobs); 1.40 + 1.41 +void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); 1.42 +void vp8_dequant_idct_add_uv_block_v6(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); 1.43 +void vp8_dequant_idct_add_uv_block_neon(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); 1.44 +RTCD_EXTERN void (*vp8_dequant_idct_add_uv_block)(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); 1.45 + 1.46 +void vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.47 +void vp8_loop_filter_mbv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.48 +void vp8_loop_filter_mbv_neon(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.49 +RTCD_EXTERN void (*vp8_loop_filter_mbv)(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.50 + 1.51 +void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.52 +void vp8_loop_filter_bv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.53 +void vp8_loop_filter_bv_neon(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.54 +RTCD_EXTERN void (*vp8_loop_filter_bv)(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.55 + 1.56 +void vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.57 +void vp8_loop_filter_mbh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.58 +void vp8_loop_filter_mbh_neon(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.59 +RTCD_EXTERN void (*vp8_loop_filter_mbh)(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.60 + 1.61 +void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.62 +void vp8_loop_filter_bh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.63 +void vp8_loop_filter_bh_neon(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.64 +RTCD_EXTERN void (*vp8_loop_filter_bh)(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.65 + 1.66 +void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit); 1.67 +void vp8_loop_filter_simple_vertical_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit); 1.68 +void vp8_loop_filter_mbvs_neon(unsigned char *y, int ystride, const unsigned char *blimit); 1.69 +RTCD_EXTERN void (*vp8_loop_filter_simple_mbv)(unsigned char *y, int ystride, const unsigned char *blimit); 1.70 + 1.71 +void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit); 1.72 +void vp8_loop_filter_simple_horizontal_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit); 1.73 +void vp8_loop_filter_mbhs_neon(unsigned char *y, int ystride, const unsigned char *blimit); 1.74 +RTCD_EXTERN void (*vp8_loop_filter_simple_mbh)(unsigned char *y, int ystride, const unsigned char *blimit); 1.75 + 1.76 +void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit); 1.77 +void vp8_loop_filter_bvs_armv6(unsigned char *y, int ystride, const unsigned char *blimit); 1.78 +void vp8_loop_filter_bvs_neon(unsigned char *y, int ystride, const unsigned char *blimit); 1.79 +RTCD_EXTERN void (*vp8_loop_filter_simple_bv)(unsigned char *y, int ystride, const unsigned char *blimit); 1.80 + 1.81 +void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit); 1.82 +void vp8_loop_filter_bhs_armv6(unsigned char *y, int ystride, const unsigned char *blimit); 1.83 +void vp8_loop_filter_bhs_neon(unsigned char *y, int ystride, const unsigned char *blimit); 1.84 +RTCD_EXTERN void (*vp8_loop_filter_simple_bh)(unsigned char *y, int ystride, const unsigned char *blimit); 1.85 + 1.86 +void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 1.87 +void vp8_short_idct4x4llm_v6_dual(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 1.88 +void vp8_short_idct4x4llm_neon(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 1.89 +RTCD_EXTERN void (*vp8_short_idct4x4llm)(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 1.90 + 1.91 +void vp8_short_inv_walsh4x4_1_c(short *input, short *output); 1.92 +#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c 1.93 + 1.94 +void vp8_short_inv_walsh4x4_c(short *input, short *output); 1.95 +void vp8_short_inv_walsh4x4_v6(short *input, short *output); 1.96 +void vp8_short_inv_walsh4x4_neon(short *input, short *output); 1.97 +RTCD_EXTERN void (*vp8_short_inv_walsh4x4)(short *input, short *output); 1.98 + 1.99 +void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); 1.100 +void vp8_dc_only_idct_add_v6(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); 1.101 +void vp8_dc_only_idct_add_neon(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); 1.102 +RTCD_EXTERN void (*vp8_dc_only_idct_add)(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); 1.103 + 1.104 +void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.105 +void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.106 +void vp8_copy_mem16x16_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.107 +RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.108 + 1.109 +void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.110 +void vp8_copy_mem8x8_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.111 +void vp8_copy_mem8x8_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.112 +RTCD_EXTERN void (*vp8_copy_mem8x8)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.113 + 1.114 +void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.115 +void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.116 +void vp8_copy_mem8x4_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.117 +RTCD_EXTERN void (*vp8_copy_mem8x4)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.118 + 1.119 +void 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); 1.120 +#define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c 1.121 + 1.122 +void 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); 1.123 +#define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c 1.124 + 1.125 +void 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); 1.126 +void vp8_intra4x4_predict_armv6(unsigned char *Above, unsigned char *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned char top_left); 1.127 +RTCD_EXTERN void (*vp8_intra4x4_predict)(unsigned char *Above, unsigned char *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned char top_left); 1.128 + 1.129 +void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.130 +void vp8_sixtap_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.131 +void vp8_sixtap_predict16x16_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.132 +RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.133 + 1.134 +void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.135 +void vp8_sixtap_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.136 +void vp8_sixtap_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.137 +RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.138 + 1.139 +void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.140 +void vp8_sixtap_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.141 +void vp8_sixtap_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.142 +RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.143 + 1.144 +void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.145 +void vp8_sixtap_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.146 +void vp8_sixtap_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.147 +RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.148 + 1.149 +void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.150 +void vp8_bilinear_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.151 +void vp8_bilinear_predict16x16_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.152 +RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.153 + 1.154 +void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.155 +void vp8_bilinear_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.156 +void vp8_bilinear_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.157 +RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.158 + 1.159 +void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.160 +void vp8_bilinear_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.161 +void vp8_bilinear_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.162 +RTCD_EXTERN void (*vp8_bilinear_predict8x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.163 + 1.164 +void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.165 +void vp8_bilinear_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.166 +void vp8_bilinear_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.167 +RTCD_EXTERN void (*vp8_bilinear_predict4x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.168 + 1.169 +unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.170 +#define vp8_variance4x4 vp8_variance4x4_c 1.171 + 1.172 +unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.173 +unsigned int vp8_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.174 +unsigned int vp8_variance8x8_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.175 +RTCD_EXTERN unsigned int (*vp8_variance8x8)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.176 + 1.177 +unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.178 +unsigned int vp8_variance8x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.179 +RTCD_EXTERN unsigned int (*vp8_variance8x16)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.180 + 1.181 +unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.182 +unsigned int vp8_variance16x8_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.183 +RTCD_EXTERN unsigned int (*vp8_variance16x8)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.184 + 1.185 +unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.186 +unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.187 +unsigned int vp8_variance16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.188 +RTCD_EXTERN unsigned int (*vp8_variance16x16)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.189 + 1.190 +unsigned 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); 1.191 +#define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c 1.192 + 1.193 +unsigned 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); 1.194 +unsigned 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); 1.195 +unsigned int vp8_sub_pixel_variance8x8_neon(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.196 +RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance8x8)(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.197 + 1.198 +unsigned 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); 1.199 +#define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c 1.200 + 1.201 +unsigned 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); 1.202 +#define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c 1.203 + 1.204 +unsigned 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); 1.205 +unsigned 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); 1.206 +unsigned int vp8_sub_pixel_variance16x16_neon(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.207 +RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance16x16)(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.208 + 1.209 +unsigned 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); 1.210 +unsigned 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); 1.211 +unsigned int vp8_variance_halfpixvar16x16_h_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.212 +RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_h)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.213 + 1.214 +unsigned 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); 1.215 +unsigned 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); 1.216 +unsigned int vp8_variance_halfpixvar16x16_v_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.217 +RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_v)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.218 + 1.219 +unsigned 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); 1.220 +unsigned 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); 1.221 +unsigned int vp8_variance_halfpixvar16x16_hv_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.222 +RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_hv)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.223 + 1.224 +unsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.225 +unsigned int vp8_sad4x4_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.226 +RTCD_EXTERN unsigned int (*vp8_sad4x4)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.227 + 1.228 +unsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.229 +unsigned int vp8_sad8x8_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.230 +RTCD_EXTERN unsigned int (*vp8_sad8x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.231 + 1.232 +unsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.233 +unsigned int vp8_sad8x16_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.234 +RTCD_EXTERN unsigned int (*vp8_sad8x16)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.235 + 1.236 +unsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.237 +unsigned int vp8_sad16x8_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.238 +RTCD_EXTERN unsigned int (*vp8_sad16x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.239 + 1.240 +unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.241 +unsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.242 +unsigned int vp8_sad16x16_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.243 +RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.244 + 1.245 +void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.246 +#define vp8_sad4x4x3 vp8_sad4x4x3_c 1.247 + 1.248 +void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.249 +#define vp8_sad8x8x3 vp8_sad8x8x3_c 1.250 + 1.251 +void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.252 +#define vp8_sad8x16x3 vp8_sad8x16x3_c 1.253 + 1.254 +void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.255 +#define vp8_sad16x8x3 vp8_sad16x8x3_c 1.256 + 1.257 +void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.258 +#define vp8_sad16x16x3 vp8_sad16x16x3_c 1.259 + 1.260 +void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.261 +#define vp8_sad4x4x8 vp8_sad4x4x8_c 1.262 + 1.263 +void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.264 +#define vp8_sad8x8x8 vp8_sad8x8x8_c 1.265 + 1.266 +void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.267 +#define vp8_sad8x16x8 vp8_sad8x16x8_c 1.268 + 1.269 +void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.270 +#define vp8_sad16x8x8 vp8_sad16x8x8_c 1.271 + 1.272 +void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.273 +#define vp8_sad16x16x8 vp8_sad16x16x8_c 1.274 + 1.275 +void vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.276 +#define vp8_sad4x4x4d vp8_sad4x4x4d_c 1.277 + 1.278 +void vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.279 +#define vp8_sad8x8x4d vp8_sad8x8x4d_c 1.280 + 1.281 +void vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.282 +#define vp8_sad8x16x4d vp8_sad8x16x4d_c 1.283 + 1.284 +void vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.285 +#define vp8_sad16x8x4d vp8_sad16x8x4d_c 1.286 + 1.287 +void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.288 +#define vp8_sad16x16x4d vp8_sad16x16x4d_c 1.289 + 1.290 +unsigned int vp8_get_mb_ss_c(const short *); 1.291 +#define vp8_get_mb_ss vp8_get_mb_ss_c 1.292 + 1.293 +unsigned 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); 1.294 +#define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c 1.295 + 1.296 +unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.297 +unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.298 +unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.299 +RTCD_EXTERN unsigned int (*vp8_mse16x16)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.300 + 1.301 +unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 1.302 +unsigned int vp8_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 1.303 +RTCD_EXTERN unsigned int (*vp8_get4x4sse_cs)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 1.304 + 1.305 +void vp8_short_fdct4x4_c(short *input, short *output, int pitch); 1.306 +void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch); 1.307 +void vp8_short_fdct4x4_neon(short *input, short *output, int pitch); 1.308 +RTCD_EXTERN void (*vp8_short_fdct4x4)(short *input, short *output, int pitch); 1.309 + 1.310 +void vp8_short_fdct8x4_c(short *input, short *output, int pitch); 1.311 +void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch); 1.312 +void vp8_short_fdct8x4_neon(short *input, short *output, int pitch); 1.313 +RTCD_EXTERN void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); 1.314 + 1.315 +void vp8_short_walsh4x4_c(short *input, short *output, int pitch); 1.316 +void vp8_short_walsh4x4_armv6(short *input, short *output, int pitch); 1.317 +void vp8_short_walsh4x4_neon(short *input, short *output, int pitch); 1.318 +RTCD_EXTERN void (*vp8_short_walsh4x4)(short *input, short *output, int pitch); 1.319 + 1.320 +void vp8_regular_quantize_b_c(struct block *, struct blockd *); 1.321 +#define vp8_regular_quantize_b vp8_regular_quantize_b_c 1.322 + 1.323 +void vp8_fast_quantize_b_c(struct block *, struct blockd *); 1.324 +void vp8_fast_quantize_b_armv6(struct block *, struct blockd *); 1.325 +void vp8_fast_quantize_b_neon(struct block *, struct blockd *); 1.326 +RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); 1.327 + 1.328 +void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); 1.329 +#define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c 1.330 + 1.331 +void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); 1.332 +void vp8_fast_quantize_b_pair_neon(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); 1.333 +RTCD_EXTERN void (*vp8_fast_quantize_b_pair)(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); 1.334 + 1.335 +void vp8_quantize_mb_c(struct macroblock *); 1.336 +void vp8_quantize_mb_neon(struct macroblock *); 1.337 +RTCD_EXTERN void (*vp8_quantize_mb)(struct macroblock *); 1.338 + 1.339 +void vp8_quantize_mby_c(struct macroblock *); 1.340 +void vp8_quantize_mby_neon(struct macroblock *); 1.341 +RTCD_EXTERN void (*vp8_quantize_mby)(struct macroblock *); 1.342 + 1.343 +void vp8_quantize_mbuv_c(struct macroblock *); 1.344 +void vp8_quantize_mbuv_neon(struct macroblock *); 1.345 +RTCD_EXTERN void (*vp8_quantize_mbuv)(struct macroblock *); 1.346 + 1.347 +int vp8_block_error_c(short *coeff, short *dqcoeff); 1.348 +#define vp8_block_error vp8_block_error_c 1.349 + 1.350 +int vp8_mbblock_error_c(struct macroblock *mb, int dc); 1.351 +#define vp8_mbblock_error vp8_mbblock_error_c 1.352 + 1.353 +int vp8_mbuverror_c(struct macroblock *mb); 1.354 +#define vp8_mbuverror vp8_mbuverror_c 1.355 + 1.356 +void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); 1.357 +void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch); 1.358 +void vp8_subtract_b_neon(struct block *be, struct blockd *bd, int pitch); 1.359 +RTCD_EXTERN void (*vp8_subtract_b)(struct block *be, struct blockd *bd, int pitch); 1.360 + 1.361 +void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); 1.362 +void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); 1.363 +void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); 1.364 +RTCD_EXTERN void (*vp8_subtract_mby)(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); 1.365 + 1.366 +void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 1.367 +void vp8_subtract_mbuv_armv6(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 1.368 +void vp8_subtract_mbuv_neon(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 1.369 +RTCD_EXTERN void (*vp8_subtract_mbuv)(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 1.370 + 1.371 +int 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); 1.372 +#define vp8_full_search_sad vp8_full_search_sad_c 1.373 + 1.374 +int 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); 1.375 +#define vp8_refining_search_sad vp8_refining_search_sad_c 1.376 + 1.377 +int 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); 1.378 +#define vp8_diamond_search_sad vp8_diamond_search_sad_c 1.379 + 1.380 +void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.381 +void vp8_yv12_copy_partial_frame_neon(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.382 +RTCD_EXTERN void (*vp8_yv12_copy_partial_frame)(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.383 + 1.384 +int 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); 1.385 +#define vp8_denoiser_filter vp8_denoiser_filter_c 1.386 + 1.387 +void vp8_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 1.388 +#define vp8_horizontal_line_4_5_scale vp8_horizontal_line_4_5_scale_c 1.389 + 1.390 +void vp8_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.391 +#define vp8_vertical_band_4_5_scale vp8_vertical_band_4_5_scale_c 1.392 + 1.393 +void vp8_last_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.394 +#define vp8_last_vertical_band_4_5_scale vp8_last_vertical_band_4_5_scale_c 1.395 + 1.396 +void vp8_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 1.397 +#define vp8_horizontal_line_2_3_scale vp8_horizontal_line_2_3_scale_c 1.398 + 1.399 +void vp8_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.400 +#define vp8_vertical_band_2_3_scale vp8_vertical_band_2_3_scale_c 1.401 + 1.402 +void vp8_last_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.403 +#define vp8_last_vertical_band_2_3_scale vp8_last_vertical_band_2_3_scale_c 1.404 + 1.405 +void vp8_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 1.406 +#define vp8_horizontal_line_3_5_scale vp8_horizontal_line_3_5_scale_c 1.407 + 1.408 +void vp8_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.409 +#define vp8_vertical_band_3_5_scale vp8_vertical_band_3_5_scale_c 1.410 + 1.411 +void vp8_last_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.412 +#define vp8_last_vertical_band_3_5_scale vp8_last_vertical_band_3_5_scale_c 1.413 + 1.414 +void vp8_horizontal_line_3_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 1.415 +#define vp8_horizontal_line_3_4_scale vp8_horizontal_line_3_4_scale_c 1.416 + 1.417 +void vp8_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.418 +#define vp8_vertical_band_3_4_scale vp8_vertical_band_3_4_scale_c 1.419 + 1.420 +void vp8_last_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.421 +#define vp8_last_vertical_band_3_4_scale vp8_last_vertical_band_3_4_scale_c 1.422 + 1.423 +void vp8_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 1.424 +#define vp8_horizontal_line_1_2_scale vp8_horizontal_line_1_2_scale_c 1.425 + 1.426 +void vp8_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.427 +#define vp8_vertical_band_1_2_scale vp8_vertical_band_1_2_scale_c 1.428 + 1.429 +void vp8_last_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 1.430 +#define vp8_last_vertical_band_1_2_scale vp8_last_vertical_band_1_2_scale_c 1.431 + 1.432 +void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 1.433 +#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c 1.434 + 1.435 +void 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); 1.436 +#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c 1.437 + 1.438 +void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 1.439 +#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c 1.440 + 1.441 +void 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); 1.442 +#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c 1.443 + 1.444 +void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 1.445 +#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c 1.446 + 1.447 +void 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); 1.448 +#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c 1.449 + 1.450 +void 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); 1.451 +#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c 1.452 + 1.453 +void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); 1.454 +void vp8_yv12_extend_frame_borders_neon(struct yv12_buffer_config *ybf); 1.455 +RTCD_EXTERN void (*vp8_yv12_extend_frame_borders)(struct yv12_buffer_config *ybf); 1.456 + 1.457 +void vp8_yv12_copy_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.458 +void vp8_yv12_copy_frame_neon(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.459 +RTCD_EXTERN void (*vp8_yv12_copy_frame)(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.460 + 1.461 +void vp8_yv12_copy_y_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.462 +void vp8_yv12_copy_y_neon(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.463 +RTCD_EXTERN void (*vp8_yv12_copy_y)(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.464 + 1.465 +void vpx_rtcd(void); 1.466 +#include "vpx_config.h" 1.467 + 1.468 +#ifdef RTCD_C 1.469 +#include "vpx_ports/arm.h" 1.470 +static void setup_rtcd_internal(void) 1.471 +{ 1.472 + int flags = arm_cpu_caps(); 1.473 + 1.474 + (void)flags; 1.475 + 1.476 + vp8_dequantize_b = vp8_dequantize_b_c; 1.477 + if (flags & HAS_MEDIA) vp8_dequantize_b = vp8_dequantize_b_v6; 1.478 + if (flags & HAS_NEON) vp8_dequantize_b = vp8_dequantize_b_neon; 1.479 + 1.480 + vp8_dequant_idct_add = vp8_dequant_idct_add_c; 1.481 + if (flags & HAS_MEDIA) vp8_dequant_idct_add = vp8_dequant_idct_add_v6; 1.482 + if (flags & HAS_NEON) vp8_dequant_idct_add = vp8_dequant_idct_add_neon; 1.483 + 1.484 + vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_c; 1.485 + if (flags & HAS_MEDIA) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_v6; 1.486 + if (flags & HAS_NEON) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_neon; 1.487 + 1.488 + vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_c; 1.489 + if (flags & HAS_MEDIA) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_v6; 1.490 + if (flags & HAS_NEON) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_neon; 1.491 + 1.492 + vp8_loop_filter_mbv = vp8_loop_filter_mbv_c; 1.493 + if (flags & HAS_MEDIA) vp8_loop_filter_mbv = vp8_loop_filter_mbv_armv6; 1.494 + if (flags & HAS_NEON) vp8_loop_filter_mbv = vp8_loop_filter_mbv_neon; 1.495 + 1.496 + vp8_loop_filter_bv = vp8_loop_filter_bv_c; 1.497 + if (flags & HAS_MEDIA) vp8_loop_filter_bv = vp8_loop_filter_bv_armv6; 1.498 + if (flags & HAS_NEON) vp8_loop_filter_bv = vp8_loop_filter_bv_neon; 1.499 + 1.500 + vp8_loop_filter_mbh = vp8_loop_filter_mbh_c; 1.501 + if (flags & HAS_MEDIA) vp8_loop_filter_mbh = vp8_loop_filter_mbh_armv6; 1.502 + if (flags & HAS_NEON) vp8_loop_filter_mbh = vp8_loop_filter_mbh_neon; 1.503 + 1.504 + vp8_loop_filter_bh = vp8_loop_filter_bh_c; 1.505 + if (flags & HAS_MEDIA) vp8_loop_filter_bh = vp8_loop_filter_bh_armv6; 1.506 + if (flags & HAS_NEON) vp8_loop_filter_bh = vp8_loop_filter_bh_neon; 1.507 + 1.508 + vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_c; 1.509 + if (flags & HAS_MEDIA) vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_armv6; 1.510 + if (flags & HAS_NEON) vp8_loop_filter_simple_mbv = vp8_loop_filter_mbvs_neon; 1.511 + 1.512 + vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_c; 1.513 + if (flags & HAS_MEDIA) vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_armv6; 1.514 + if (flags & HAS_NEON) vp8_loop_filter_simple_mbh = vp8_loop_filter_mbhs_neon; 1.515 + 1.516 + vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_c; 1.517 + if (flags & HAS_MEDIA) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_armv6; 1.518 + if (flags & HAS_NEON) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_neon; 1.519 + 1.520 + vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_c; 1.521 + if (flags & HAS_MEDIA) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_armv6; 1.522 + if (flags & HAS_NEON) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_neon; 1.523 + 1.524 + vp8_short_idct4x4llm = vp8_short_idct4x4llm_c; 1.525 + if (flags & HAS_MEDIA) vp8_short_idct4x4llm = vp8_short_idct4x4llm_v6_dual; 1.526 + if (flags & HAS_NEON) vp8_short_idct4x4llm = vp8_short_idct4x4llm_neon; 1.527 + 1.528 + 1.529 + vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_c; 1.530 + if (flags & HAS_MEDIA) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_v6; 1.531 + if (flags & HAS_NEON) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_neon; 1.532 + 1.533 + vp8_dc_only_idct_add = vp8_dc_only_idct_add_c; 1.534 + if (flags & HAS_MEDIA) vp8_dc_only_idct_add = vp8_dc_only_idct_add_v6; 1.535 + if (flags & HAS_NEON) vp8_dc_only_idct_add = vp8_dc_only_idct_add_neon; 1.536 + 1.537 + vp8_copy_mem16x16 = vp8_copy_mem16x16_c; 1.538 + if (flags & HAS_MEDIA) vp8_copy_mem16x16 = vp8_copy_mem16x16_v6; 1.539 + if (flags & HAS_NEON) vp8_copy_mem16x16 = vp8_copy_mem16x16_neon; 1.540 + 1.541 + vp8_copy_mem8x8 = vp8_copy_mem8x8_c; 1.542 + if (flags & HAS_MEDIA) vp8_copy_mem8x8 = vp8_copy_mem8x8_v6; 1.543 + if (flags & HAS_NEON) vp8_copy_mem8x8 = vp8_copy_mem8x8_neon; 1.544 + 1.545 + vp8_copy_mem8x4 = vp8_copy_mem8x4_c; 1.546 + if (flags & HAS_MEDIA) vp8_copy_mem8x4 = vp8_copy_mem8x4_v6; 1.547 + if (flags & HAS_NEON) vp8_copy_mem8x4 = vp8_copy_mem8x4_neon; 1.548 + 1.549 + 1.550 + 1.551 + vp8_intra4x4_predict = vp8_intra4x4_predict_c; 1.552 + if (flags & HAS_MEDIA) vp8_intra4x4_predict = vp8_intra4x4_predict_armv6; 1.553 + 1.554 + vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_c; 1.555 + if (flags & HAS_MEDIA) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_armv6; 1.556 + if (flags & HAS_NEON) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_neon; 1.557 + 1.558 + vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_c; 1.559 + if (flags & HAS_MEDIA) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_armv6; 1.560 + if (flags & HAS_NEON) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon; 1.561 + 1.562 + vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_c; 1.563 + if (flags & HAS_MEDIA) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_armv6; 1.564 + if (flags & HAS_NEON) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_neon; 1.565 + 1.566 + vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_c; 1.567 + if (flags & HAS_MEDIA) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_armv6; 1.568 + if (flags & HAS_NEON) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_neon; 1.569 + 1.570 + vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_c; 1.571 + if (flags & HAS_MEDIA) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_armv6; 1.572 + if (flags & HAS_NEON) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_neon; 1.573 + 1.574 + vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_c; 1.575 + if (flags & HAS_MEDIA) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_armv6; 1.576 + if (flags & HAS_NEON) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_neon; 1.577 + 1.578 + vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_c; 1.579 + if (flags & HAS_MEDIA) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_armv6; 1.580 + if (flags & HAS_NEON) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_neon; 1.581 + 1.582 + vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_c; 1.583 + if (flags & HAS_MEDIA) vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_armv6; 1.584 + if (flags & HAS_NEON) vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_neon; 1.585 + 1.586 + 1.587 + vp8_variance8x8 = vp8_variance8x8_c; 1.588 + if (flags & HAS_MEDIA) vp8_variance8x8 = vp8_variance8x8_armv6; 1.589 + if (flags & HAS_NEON) vp8_variance8x8 = vp8_variance8x8_neon; 1.590 + 1.591 + vp8_variance8x16 = vp8_variance8x16_c; 1.592 + if (flags & HAS_NEON) vp8_variance8x16 = vp8_variance8x16_neon; 1.593 + 1.594 + vp8_variance16x8 = vp8_variance16x8_c; 1.595 + if (flags & HAS_NEON) vp8_variance16x8 = vp8_variance16x8_neon; 1.596 + 1.597 + vp8_variance16x16 = vp8_variance16x16_c; 1.598 + if (flags & HAS_MEDIA) vp8_variance16x16 = vp8_variance16x16_armv6; 1.599 + if (flags & HAS_NEON) vp8_variance16x16 = vp8_variance16x16_neon; 1.600 + 1.601 + 1.602 + vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_c; 1.603 + if (flags & HAS_MEDIA) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_armv6; 1.604 + if (flags & HAS_NEON) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_neon; 1.605 + 1.606 + 1.607 + 1.608 + vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_c; 1.609 + if (flags & HAS_MEDIA) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_armv6; 1.610 + if (flags & HAS_NEON) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_neon; 1.611 + 1.612 + vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_c; 1.613 + if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_armv6; 1.614 + if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_neon; 1.615 + 1.616 + vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_c; 1.617 + if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_armv6; 1.618 + if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_neon; 1.619 + 1.620 + vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_c; 1.621 + if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_armv6; 1.622 + if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_neon; 1.623 + 1.624 + vp8_sad4x4 = vp8_sad4x4_c; 1.625 + if (flags & HAS_NEON) vp8_sad4x4 = vp8_sad4x4_neon; 1.626 + 1.627 + vp8_sad8x8 = vp8_sad8x8_c; 1.628 + if (flags & HAS_NEON) vp8_sad8x8 = vp8_sad8x8_neon; 1.629 + 1.630 + vp8_sad8x16 = vp8_sad8x16_c; 1.631 + if (flags & HAS_NEON) vp8_sad8x16 = vp8_sad8x16_neon; 1.632 + 1.633 + vp8_sad16x8 = vp8_sad16x8_c; 1.634 + if (flags & HAS_NEON) vp8_sad16x8 = vp8_sad16x8_neon; 1.635 + 1.636 + vp8_sad16x16 = vp8_sad16x16_c; 1.637 + if (flags & HAS_MEDIA) vp8_sad16x16 = vp8_sad16x16_armv6; 1.638 + if (flags & HAS_NEON) vp8_sad16x16 = vp8_sad16x16_neon; 1.639 + 1.640 + 1.641 + 1.642 + 1.643 + 1.644 + 1.645 + 1.646 + 1.647 + 1.648 + 1.649 + 1.650 + 1.651 + 1.652 + 1.653 + 1.654 + 1.655 + 1.656 + 1.657 + vp8_mse16x16 = vp8_mse16x16_c; 1.658 + if (flags & HAS_MEDIA) vp8_mse16x16 = vp8_mse16x16_armv6; 1.659 + if (flags & HAS_NEON) vp8_mse16x16 = vp8_mse16x16_neon; 1.660 + 1.661 + vp8_get4x4sse_cs = vp8_get4x4sse_cs_c; 1.662 + if (flags & HAS_NEON) vp8_get4x4sse_cs = vp8_get4x4sse_cs_neon; 1.663 + 1.664 + vp8_short_fdct4x4 = vp8_short_fdct4x4_c; 1.665 + if (flags & HAS_MEDIA) vp8_short_fdct4x4 = vp8_short_fdct4x4_armv6; 1.666 + if (flags & HAS_NEON) vp8_short_fdct4x4 = vp8_short_fdct4x4_neon; 1.667 + 1.668 + vp8_short_fdct8x4 = vp8_short_fdct8x4_c; 1.669 + if (flags & HAS_MEDIA) vp8_short_fdct8x4 = vp8_short_fdct8x4_armv6; 1.670 + if (flags & HAS_NEON) vp8_short_fdct8x4 = vp8_short_fdct8x4_neon; 1.671 + 1.672 + vp8_short_walsh4x4 = vp8_short_walsh4x4_c; 1.673 + if (flags & HAS_MEDIA) vp8_short_walsh4x4 = vp8_short_walsh4x4_armv6; 1.674 + if (flags & HAS_NEON) vp8_short_walsh4x4 = vp8_short_walsh4x4_neon; 1.675 + 1.676 + 1.677 + vp8_fast_quantize_b = vp8_fast_quantize_b_c; 1.678 + if (flags & HAS_MEDIA) vp8_fast_quantize_b = vp8_fast_quantize_b_armv6; 1.679 + if (flags & HAS_NEON) vp8_fast_quantize_b = vp8_fast_quantize_b_neon; 1.680 + 1.681 + 1.682 + vp8_fast_quantize_b_pair = vp8_fast_quantize_b_pair_c; 1.683 + if (flags & HAS_NEON) vp8_fast_quantize_b_pair = vp8_fast_quantize_b_pair_neon; 1.684 + 1.685 + vp8_quantize_mb = vp8_quantize_mb_c; 1.686 + if (flags & HAS_NEON) vp8_quantize_mb = vp8_quantize_mb_neon; 1.687 + 1.688 + vp8_quantize_mby = vp8_quantize_mby_c; 1.689 + if (flags & HAS_NEON) vp8_quantize_mby = vp8_quantize_mby_neon; 1.690 + 1.691 + vp8_quantize_mbuv = vp8_quantize_mbuv_c; 1.692 + if (flags & HAS_NEON) vp8_quantize_mbuv = vp8_quantize_mbuv_neon; 1.693 + 1.694 + 1.695 + 1.696 + 1.697 + vp8_subtract_b = vp8_subtract_b_c; 1.698 + if (flags & HAS_MEDIA) vp8_subtract_b = vp8_subtract_b_armv6; 1.699 + if (flags & HAS_NEON) vp8_subtract_b = vp8_subtract_b_neon; 1.700 + 1.701 + vp8_subtract_mby = vp8_subtract_mby_c; 1.702 + if (flags & HAS_MEDIA) vp8_subtract_mby = vp8_subtract_mby_armv6; 1.703 + if (flags & HAS_NEON) vp8_subtract_mby = vp8_subtract_mby_neon; 1.704 + 1.705 + vp8_subtract_mbuv = vp8_subtract_mbuv_c; 1.706 + if (flags & HAS_MEDIA) vp8_subtract_mbuv = vp8_subtract_mbuv_armv6; 1.707 + if (flags & HAS_NEON) vp8_subtract_mbuv = vp8_subtract_mbuv_neon; 1.708 + 1.709 + 1.710 + 1.711 + 1.712 + vp8_yv12_copy_partial_frame = vp8_yv12_copy_partial_frame_c; 1.713 + if (flags & HAS_NEON) vp8_yv12_copy_partial_frame = vp8_yv12_copy_partial_frame_neon; 1.714 + 1.715 + 1.716 + 1.717 + 1.718 + 1.719 + 1.720 + 1.721 + 1.722 + 1.723 + 1.724 + 1.725 + 1.726 + 1.727 + 1.728 + 1.729 + 1.730 + 1.731 + 1.732 + 1.733 + 1.734 + 1.735 + 1.736 + 1.737 + 1.738 + vp8_yv12_extend_frame_borders = vp8_yv12_extend_frame_borders_c; 1.739 + if (flags & HAS_NEON) vp8_yv12_extend_frame_borders = vp8_yv12_extend_frame_borders_neon; 1.740 + 1.741 + vp8_yv12_copy_frame = vp8_yv12_copy_frame_c; 1.742 + if (flags & HAS_NEON) vp8_yv12_copy_frame = vp8_yv12_copy_frame_neon; 1.743 + 1.744 + vp8_yv12_copy_y = vp8_yv12_copy_y_c; 1.745 + if (flags & HAS_NEON) vp8_yv12_copy_y = vp8_yv12_copy_y_neon; 1.746 +} 1.747 +#endif 1.748 +#endif