media/libvpx/vp8_rtcd_armv7-android-gcc.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp8_rtcd_armv7-android-gcc.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,641 @@
     1.4 +#ifndef VP8_RTCD_H_
     1.5 +#define VP8_RTCD_H_
     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 +/*
    1.14 + * VP8
    1.15 + */
    1.16 +
    1.17 +struct blockd;
    1.18 +struct macroblockd;
    1.19 +struct loop_filter_info;
    1.20 +
    1.21 +/* Encoder forward decls */
    1.22 +struct block;
    1.23 +struct macroblock;
    1.24 +struct variance_vtable;
    1.25 +union int_mv;
    1.26 +struct yv12_buffer_config;
    1.27 +
    1.28 +void vp8_clear_system_state_c();
    1.29 +#define vp8_clear_system_state vp8_clear_system_state_c
    1.30 +
    1.31 +void vp8_dequantize_b_c(struct blockd*, short *dqc);
    1.32 +void vp8_dequantize_b_v6(struct blockd*, short *dqc);
    1.33 +void vp8_dequantize_b_neon(struct blockd*, short *dqc);
    1.34 +RTCD_EXTERN void (*vp8_dequantize_b)(struct blockd*, short *dqc);
    1.35 +
    1.36 +void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
    1.37 +void vp8_dequant_idct_add_v6(short *input, short *dq, unsigned char *output, int stride);
    1.38 +void vp8_dequant_idct_add_neon(short *input, short *dq, unsigned char *output, int stride);
    1.39 +RTCD_EXTERN void (*vp8_dequant_idct_add)(short *input, short *dq, unsigned char *output, int stride);
    1.40 +
    1.41 +void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
    1.42 +void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
    1.43 +void vp8_dequant_idct_add_y_block_neon(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
    1.44 +RTCD_EXTERN void (*vp8_dequant_idct_add_y_block)(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
    1.45 +
    1.46 +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.47 +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.48 +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.49 +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.50 +
    1.51 +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.52 +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.53 +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.54 +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.55 +
    1.56 +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.57 +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.58 +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.59 +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.60 +
    1.61 +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.62 +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.63 +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.64 +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.65 +
    1.66 +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.67 +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.68 +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.69 +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.70 +
    1.71 +void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
    1.72 +void vp8_loop_filter_simple_vertical_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
    1.73 +void vp8_loop_filter_mbvs_neon(unsigned char *y, int ystride, const unsigned char *blimit);
    1.74 +RTCD_EXTERN void (*vp8_loop_filter_simple_mbv)(unsigned char *y, int ystride, const unsigned char *blimit);
    1.75 +
    1.76 +void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
    1.77 +void vp8_loop_filter_simple_horizontal_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
    1.78 +void vp8_loop_filter_mbhs_neon(unsigned char *y, int ystride, const unsigned char *blimit);
    1.79 +RTCD_EXTERN void (*vp8_loop_filter_simple_mbh)(unsigned char *y, int ystride, const unsigned char *blimit);
    1.80 +
    1.81 +void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
    1.82 +void vp8_loop_filter_bvs_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
    1.83 +void vp8_loop_filter_bvs_neon(unsigned char *y, int ystride, const unsigned char *blimit);
    1.84 +RTCD_EXTERN void (*vp8_loop_filter_simple_bv)(unsigned char *y, int ystride, const unsigned char *blimit);
    1.85 +
    1.86 +void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
    1.87 +void vp8_loop_filter_bhs_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
    1.88 +void vp8_loop_filter_bhs_neon(unsigned char *y, int ystride, const unsigned char *blimit);
    1.89 +RTCD_EXTERN void (*vp8_loop_filter_simple_bh)(unsigned char *y, int ystride, const unsigned char *blimit);
    1.90 +
    1.91 +void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
    1.92 +void vp8_short_idct4x4llm_v6_dual(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
    1.93 +void vp8_short_idct4x4llm_neon(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
    1.94 +RTCD_EXTERN void (*vp8_short_idct4x4llm)(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
    1.95 +
    1.96 +void vp8_short_inv_walsh4x4_1_c(short *input, short *output);
    1.97 +#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
    1.98 +
    1.99 +void vp8_short_inv_walsh4x4_c(short *input, short *output);
   1.100 +void vp8_short_inv_walsh4x4_v6(short *input, short *output);
   1.101 +void vp8_short_inv_walsh4x4_neon(short *input, short *output);
   1.102 +RTCD_EXTERN void (*vp8_short_inv_walsh4x4)(short *input, short *output);
   1.103 +
   1.104 +void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
   1.105 +void vp8_dc_only_idct_add_v6(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
   1.106 +void vp8_dc_only_idct_add_neon(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
   1.107 +RTCD_EXTERN void (*vp8_dc_only_idct_add)(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
   1.108 +
   1.109 +void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.110 +void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.111 +void vp8_copy_mem16x16_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.112 +RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.113 +
   1.114 +void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.115 +void vp8_copy_mem8x8_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.116 +void vp8_copy_mem8x8_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.117 +RTCD_EXTERN void (*vp8_copy_mem8x8)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.118 +
   1.119 +void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.120 +void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.121 +void vp8_copy_mem8x4_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.122 +RTCD_EXTERN void (*vp8_copy_mem8x4)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.123 +
   1.124 +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.125 +#define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c
   1.126 +
   1.127 +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.128 +#define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c
   1.129 +
   1.130 +void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
   1.131 +void vp8_intra4x4_predict_armv6(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
   1.132 +RTCD_EXTERN void (*vp8_intra4x4_predict)(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
   1.133 +
   1.134 +void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.135 +void vp8_sixtap_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.136 +void vp8_sixtap_predict16x16_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.137 +RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.138 +
   1.139 +void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.140 +void vp8_sixtap_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.141 +void vp8_sixtap_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.142 +RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.143 +
   1.144 +void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.145 +void vp8_sixtap_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.146 +void vp8_sixtap_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.147 +RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.148 +
   1.149 +void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.150 +void vp8_sixtap_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.151 +void vp8_sixtap_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.152 +RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.153 +
   1.154 +void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.155 +void vp8_bilinear_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.156 +void vp8_bilinear_predict16x16_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.157 +RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.158 +
   1.159 +void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.160 +void vp8_bilinear_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.161 +void vp8_bilinear_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.162 +RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.163 +
   1.164 +void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.165 +void vp8_bilinear_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.166 +void vp8_bilinear_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.167 +RTCD_EXTERN void (*vp8_bilinear_predict8x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.168 +
   1.169 +void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.170 +void vp8_bilinear_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.171 +void vp8_bilinear_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.172 +RTCD_EXTERN void (*vp8_bilinear_predict4x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.173 +
   1.174 +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.175 +#define vp8_variance4x4 vp8_variance4x4_c
   1.176 +
   1.177 +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.178 +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.179 +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.180 +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.181 +
   1.182 +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.183 +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.184 +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.185 +
   1.186 +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.187 +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.188 +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.189 +
   1.190 +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.191 +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.192 +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.193 +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.194 +
   1.195 +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.196 +#define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c
   1.197 +
   1.198 +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.199 +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.200 +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.201 +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.202 +
   1.203 +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.204 +#define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c
   1.205 +
   1.206 +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.207 +#define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c
   1.208 +
   1.209 +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.210 +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.211 +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.212 +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.213 +
   1.214 +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.215 +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.216 +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.217 +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.218 +
   1.219 +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.220 +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.221 +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.222 +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.223 +
   1.224 +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.225 +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.226 +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.227 +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.228 +
   1.229 +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.230 +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.231 +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.232 +
   1.233 +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.234 +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.235 +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.236 +
   1.237 +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.238 +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.239 +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.240 +
   1.241 +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.242 +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.243 +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.244 +
   1.245 +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.246 +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.247 +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.248 +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.249 +
   1.250 +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.251 +#define vp8_sad4x4x3 vp8_sad4x4x3_c
   1.252 +
   1.253 +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.254 +#define vp8_sad8x8x3 vp8_sad8x8x3_c
   1.255 +
   1.256 +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.257 +#define vp8_sad8x16x3 vp8_sad8x16x3_c
   1.258 +
   1.259 +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.260 +#define vp8_sad16x8x3 vp8_sad16x8x3_c
   1.261 +
   1.262 +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.263 +#define vp8_sad16x16x3 vp8_sad16x16x3_c
   1.264 +
   1.265 +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.266 +#define vp8_sad4x4x8 vp8_sad4x4x8_c
   1.267 +
   1.268 +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.269 +#define vp8_sad8x8x8 vp8_sad8x8x8_c
   1.270 +
   1.271 +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.272 +#define vp8_sad8x16x8 vp8_sad8x16x8_c
   1.273 +
   1.274 +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.275 +#define vp8_sad16x8x8 vp8_sad16x8x8_c
   1.276 +
   1.277 +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.278 +#define vp8_sad16x16x8 vp8_sad16x16x8_c
   1.279 +
   1.280 +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.281 +#define vp8_sad4x4x4d vp8_sad4x4x4d_c
   1.282 +
   1.283 +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.284 +#define vp8_sad8x8x4d vp8_sad8x8x4d_c
   1.285 +
   1.286 +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.287 +#define vp8_sad8x16x4d vp8_sad8x16x4d_c
   1.288 +
   1.289 +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.290 +#define vp8_sad16x8x4d vp8_sad16x8x4d_c
   1.291 +
   1.292 +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.293 +#define vp8_sad16x16x4d vp8_sad16x16x4d_c
   1.294 +
   1.295 +unsigned int vp8_get_mb_ss_c(const short *);
   1.296 +#define vp8_get_mb_ss vp8_get_mb_ss_c
   1.297 +
   1.298 +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.299 +#define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c
   1.300 +
   1.301 +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.302 +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.303 +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.304 +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.305 +
   1.306 +unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
   1.307 +unsigned int vp8_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
   1.308 +RTCD_EXTERN unsigned int (*vp8_get4x4sse_cs)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
   1.309 +
   1.310 +void vp8_short_fdct4x4_c(short *input, short *output, int pitch);
   1.311 +void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch);
   1.312 +void vp8_short_fdct4x4_neon(short *input, short *output, int pitch);
   1.313 +RTCD_EXTERN void (*vp8_short_fdct4x4)(short *input, short *output, int pitch);
   1.314 +
   1.315 +void vp8_short_fdct8x4_c(short *input, short *output, int pitch);
   1.316 +void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch);
   1.317 +void vp8_short_fdct8x4_neon(short *input, short *output, int pitch);
   1.318 +RTCD_EXTERN void (*vp8_short_fdct8x4)(short *input, short *output, int pitch);
   1.319 +
   1.320 +void vp8_short_walsh4x4_c(short *input, short *output, int pitch);
   1.321 +void vp8_short_walsh4x4_armv6(short *input, short *output, int pitch);
   1.322 +void vp8_short_walsh4x4_neon(short *input, short *output, int pitch);
   1.323 +RTCD_EXTERN void (*vp8_short_walsh4x4)(short *input, short *output, int pitch);
   1.324 +
   1.325 +void vp8_regular_quantize_b_c(struct block *, struct blockd *);
   1.326 +#define vp8_regular_quantize_b vp8_regular_quantize_b_c
   1.327 +
   1.328 +void vp8_fast_quantize_b_c(struct block *, struct blockd *);
   1.329 +void vp8_fast_quantize_b_armv6(struct block *, struct blockd *);
   1.330 +void vp8_fast_quantize_b_neon(struct block *, struct blockd *);
   1.331 +RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *);
   1.332 +
   1.333 +void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
   1.334 +#define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
   1.335 +
   1.336 +void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
   1.337 +void vp8_fast_quantize_b_pair_neon(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
   1.338 +RTCD_EXTERN void (*vp8_fast_quantize_b_pair)(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
   1.339 +
   1.340 +void vp8_quantize_mb_c(struct macroblock *);
   1.341 +void vp8_quantize_mb_neon(struct macroblock *);
   1.342 +RTCD_EXTERN void (*vp8_quantize_mb)(struct macroblock *);
   1.343 +
   1.344 +void vp8_quantize_mby_c(struct macroblock *);
   1.345 +void vp8_quantize_mby_neon(struct macroblock *);
   1.346 +RTCD_EXTERN void (*vp8_quantize_mby)(struct macroblock *);
   1.347 +
   1.348 +void vp8_quantize_mbuv_c(struct macroblock *);
   1.349 +void vp8_quantize_mbuv_neon(struct macroblock *);
   1.350 +RTCD_EXTERN void (*vp8_quantize_mbuv)(struct macroblock *);
   1.351 +
   1.352 +int vp8_block_error_c(short *coeff, short *dqcoeff);
   1.353 +#define vp8_block_error vp8_block_error_c
   1.354 +
   1.355 +int vp8_mbblock_error_c(struct macroblock *mb, int dc);
   1.356 +#define vp8_mbblock_error vp8_mbblock_error_c
   1.357 +
   1.358 +int vp8_mbuverror_c(struct macroblock *mb);
   1.359 +#define vp8_mbuverror vp8_mbuverror_c
   1.360 +
   1.361 +void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
   1.362 +void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch);
   1.363 +void vp8_subtract_b_neon(struct block *be, struct blockd *bd, int pitch);
   1.364 +RTCD_EXTERN void (*vp8_subtract_b)(struct block *be, struct blockd *bd, int pitch);
   1.365 +
   1.366 +void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
   1.367 +void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
   1.368 +void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
   1.369 +RTCD_EXTERN void (*vp8_subtract_mby)(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
   1.370 +
   1.371 +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.372 +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.373 +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.374 +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.375 +
   1.376 +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.377 +#define vp8_full_search_sad vp8_full_search_sad_c
   1.378 +
   1.379 +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.380 +#define vp8_refining_search_sad vp8_refining_search_sad_c
   1.381 +
   1.382 +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.383 +#define vp8_diamond_search_sad vp8_diamond_search_sad_c
   1.384 +
   1.385 +void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
   1.386 +void vp8_yv12_copy_partial_frame_neon(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
   1.387 +RTCD_EXTERN void (*vp8_yv12_copy_partial_frame)(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
   1.388 +
   1.389 +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.390 +#define vp8_denoiser_filter vp8_denoiser_filter_c
   1.391 +
   1.392 +void vp8_rtcd(void);
   1.393 +#include "vpx_config.h"
   1.394 +
   1.395 +#ifdef RTCD_C
   1.396 +#include "vpx_ports/arm.h"
   1.397 +static void setup_rtcd_internal(void)
   1.398 +{
   1.399 +    int flags = arm_cpu_caps();
   1.400 +
   1.401 +    (void)flags;
   1.402 +
   1.403 +
   1.404 +    vp8_dequantize_b = vp8_dequantize_b_c;
   1.405 +    if (flags & HAS_MEDIA) vp8_dequantize_b = vp8_dequantize_b_v6;
   1.406 +    if (flags & HAS_NEON) vp8_dequantize_b = vp8_dequantize_b_neon;
   1.407 +
   1.408 +    vp8_dequant_idct_add = vp8_dequant_idct_add_c;
   1.409 +    if (flags & HAS_MEDIA) vp8_dequant_idct_add = vp8_dequant_idct_add_v6;
   1.410 +    if (flags & HAS_NEON) vp8_dequant_idct_add = vp8_dequant_idct_add_neon;
   1.411 +
   1.412 +    vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_c;
   1.413 +    if (flags & HAS_MEDIA) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_v6;
   1.414 +    if (flags & HAS_NEON) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_neon;
   1.415 +
   1.416 +    vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_c;
   1.417 +    if (flags & HAS_MEDIA) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_v6;
   1.418 +    if (flags & HAS_NEON) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_neon;
   1.419 +
   1.420 +    vp8_loop_filter_mbv = vp8_loop_filter_mbv_c;
   1.421 +    if (flags & HAS_MEDIA) vp8_loop_filter_mbv = vp8_loop_filter_mbv_armv6;
   1.422 +    if (flags & HAS_NEON) vp8_loop_filter_mbv = vp8_loop_filter_mbv_neon;
   1.423 +
   1.424 +    vp8_loop_filter_bv = vp8_loop_filter_bv_c;
   1.425 +    if (flags & HAS_MEDIA) vp8_loop_filter_bv = vp8_loop_filter_bv_armv6;
   1.426 +    if (flags & HAS_NEON) vp8_loop_filter_bv = vp8_loop_filter_bv_neon;
   1.427 +
   1.428 +    vp8_loop_filter_mbh = vp8_loop_filter_mbh_c;
   1.429 +    if (flags & HAS_MEDIA) vp8_loop_filter_mbh = vp8_loop_filter_mbh_armv6;
   1.430 +    if (flags & HAS_NEON) vp8_loop_filter_mbh = vp8_loop_filter_mbh_neon;
   1.431 +
   1.432 +    vp8_loop_filter_bh = vp8_loop_filter_bh_c;
   1.433 +    if (flags & HAS_MEDIA) vp8_loop_filter_bh = vp8_loop_filter_bh_armv6;
   1.434 +    if (flags & HAS_NEON) vp8_loop_filter_bh = vp8_loop_filter_bh_neon;
   1.435 +
   1.436 +    vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_c;
   1.437 +    if (flags & HAS_MEDIA) vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_armv6;
   1.438 +    if (flags & HAS_NEON) vp8_loop_filter_simple_mbv = vp8_loop_filter_mbvs_neon;
   1.439 +
   1.440 +    vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_c;
   1.441 +    if (flags & HAS_MEDIA) vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_armv6;
   1.442 +    if (flags & HAS_NEON) vp8_loop_filter_simple_mbh = vp8_loop_filter_mbhs_neon;
   1.443 +
   1.444 +    vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_c;
   1.445 +    if (flags & HAS_MEDIA) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_armv6;
   1.446 +    if (flags & HAS_NEON) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_neon;
   1.447 +
   1.448 +    vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_c;
   1.449 +    if (flags & HAS_MEDIA) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_armv6;
   1.450 +    if (flags & HAS_NEON) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_neon;
   1.451 +
   1.452 +    vp8_short_idct4x4llm = vp8_short_idct4x4llm_c;
   1.453 +    if (flags & HAS_MEDIA) vp8_short_idct4x4llm = vp8_short_idct4x4llm_v6_dual;
   1.454 +    if (flags & HAS_NEON) vp8_short_idct4x4llm = vp8_short_idct4x4llm_neon;
   1.455 +
   1.456 +
   1.457 +    vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_c;
   1.458 +    if (flags & HAS_MEDIA) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_v6;
   1.459 +    if (flags & HAS_NEON) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_neon;
   1.460 +
   1.461 +    vp8_dc_only_idct_add = vp8_dc_only_idct_add_c;
   1.462 +    if (flags & HAS_MEDIA) vp8_dc_only_idct_add = vp8_dc_only_idct_add_v6;
   1.463 +    if (flags & HAS_NEON) vp8_dc_only_idct_add = vp8_dc_only_idct_add_neon;
   1.464 +
   1.465 +    vp8_copy_mem16x16 = vp8_copy_mem16x16_c;
   1.466 +    if (flags & HAS_MEDIA) vp8_copy_mem16x16 = vp8_copy_mem16x16_v6;
   1.467 +    if (flags & HAS_NEON) vp8_copy_mem16x16 = vp8_copy_mem16x16_neon;
   1.468 +
   1.469 +    vp8_copy_mem8x8 = vp8_copy_mem8x8_c;
   1.470 +    if (flags & HAS_MEDIA) vp8_copy_mem8x8 = vp8_copy_mem8x8_v6;
   1.471 +    if (flags & HAS_NEON) vp8_copy_mem8x8 = vp8_copy_mem8x8_neon;
   1.472 +
   1.473 +    vp8_copy_mem8x4 = vp8_copy_mem8x4_c;
   1.474 +    if (flags & HAS_MEDIA) vp8_copy_mem8x4 = vp8_copy_mem8x4_v6;
   1.475 +    if (flags & HAS_NEON) vp8_copy_mem8x4 = vp8_copy_mem8x4_neon;
   1.476 +
   1.477 +
   1.478 +
   1.479 +    vp8_intra4x4_predict = vp8_intra4x4_predict_c;
   1.480 +    if (flags & HAS_MEDIA) vp8_intra4x4_predict = vp8_intra4x4_predict_armv6;
   1.481 +
   1.482 +    vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_c;
   1.483 +    if (flags & HAS_MEDIA) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_armv6;
   1.484 +    if (flags & HAS_NEON) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_neon;
   1.485 +
   1.486 +    vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_c;
   1.487 +    if (flags & HAS_MEDIA) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_armv6;
   1.488 +    if (flags & HAS_NEON) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon;
   1.489 +
   1.490 +    vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_c;
   1.491 +    if (flags & HAS_MEDIA) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_armv6;
   1.492 +    if (flags & HAS_NEON) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_neon;
   1.493 +
   1.494 +    vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_c;
   1.495 +    if (flags & HAS_MEDIA) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_armv6;
   1.496 +    if (flags & HAS_NEON) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_neon;
   1.497 +
   1.498 +    vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_c;
   1.499 +    if (flags & HAS_MEDIA) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_armv6;
   1.500 +    if (flags & HAS_NEON) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_neon;
   1.501 +
   1.502 +    vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_c;
   1.503 +    if (flags & HAS_MEDIA) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_armv6;
   1.504 +    if (flags & HAS_NEON) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_neon;
   1.505 +
   1.506 +    vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_c;
   1.507 +    if (flags & HAS_MEDIA) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_armv6;
   1.508 +    if (flags & HAS_NEON) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_neon;
   1.509 +
   1.510 +    vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_c;
   1.511 +    if (flags & HAS_MEDIA) vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_armv6;
   1.512 +    if (flags & HAS_NEON) vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_neon;
   1.513 +
   1.514 +
   1.515 +    vp8_variance8x8 = vp8_variance8x8_c;
   1.516 +    if (flags & HAS_MEDIA) vp8_variance8x8 = vp8_variance8x8_armv6;
   1.517 +    if (flags & HAS_NEON) vp8_variance8x8 = vp8_variance8x8_neon;
   1.518 +
   1.519 +    vp8_variance8x16 = vp8_variance8x16_c;
   1.520 +    if (flags & HAS_NEON) vp8_variance8x16 = vp8_variance8x16_neon;
   1.521 +
   1.522 +    vp8_variance16x8 = vp8_variance16x8_c;
   1.523 +    if (flags & HAS_NEON) vp8_variance16x8 = vp8_variance16x8_neon;
   1.524 +
   1.525 +    vp8_variance16x16 = vp8_variance16x16_c;
   1.526 +    if (flags & HAS_MEDIA) vp8_variance16x16 = vp8_variance16x16_armv6;
   1.527 +    if (flags & HAS_NEON) vp8_variance16x16 = vp8_variance16x16_neon;
   1.528 +
   1.529 +
   1.530 +    vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_c;
   1.531 +    if (flags & HAS_MEDIA) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_armv6;
   1.532 +    if (flags & HAS_NEON) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_neon;
   1.533 +
   1.534 +
   1.535 +
   1.536 +    vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_c;
   1.537 +    if (flags & HAS_MEDIA) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_armv6;
   1.538 +    if (flags & HAS_NEON) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_neon;
   1.539 +
   1.540 +    vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_c;
   1.541 +    if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_armv6;
   1.542 +    if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_neon;
   1.543 +
   1.544 +    vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_c;
   1.545 +    if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_armv6;
   1.546 +    if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_neon;
   1.547 +
   1.548 +    vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_c;
   1.549 +    if (flags & HAS_MEDIA) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_armv6;
   1.550 +    if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_neon;
   1.551 +
   1.552 +    vp8_sad4x4 = vp8_sad4x4_c;
   1.553 +    if (flags & HAS_NEON) vp8_sad4x4 = vp8_sad4x4_neon;
   1.554 +
   1.555 +    vp8_sad8x8 = vp8_sad8x8_c;
   1.556 +    if (flags & HAS_NEON) vp8_sad8x8 = vp8_sad8x8_neon;
   1.557 +
   1.558 +    vp8_sad8x16 = vp8_sad8x16_c;
   1.559 +    if (flags & HAS_NEON) vp8_sad8x16 = vp8_sad8x16_neon;
   1.560 +
   1.561 +    vp8_sad16x8 = vp8_sad16x8_c;
   1.562 +    if (flags & HAS_NEON) vp8_sad16x8 = vp8_sad16x8_neon;
   1.563 +
   1.564 +    vp8_sad16x16 = vp8_sad16x16_c;
   1.565 +    if (flags & HAS_MEDIA) vp8_sad16x16 = vp8_sad16x16_armv6;
   1.566 +    if (flags & HAS_NEON) vp8_sad16x16 = vp8_sad16x16_neon;
   1.567 +
   1.568 +
   1.569 +
   1.570 +
   1.571 +
   1.572 +
   1.573 +
   1.574 +
   1.575 +
   1.576 +
   1.577 +
   1.578 +
   1.579 +
   1.580 +
   1.581 +
   1.582 +
   1.583 +
   1.584 +
   1.585 +    vp8_mse16x16 = vp8_mse16x16_c;
   1.586 +    if (flags & HAS_MEDIA) vp8_mse16x16 = vp8_mse16x16_armv6;
   1.587 +    if (flags & HAS_NEON) vp8_mse16x16 = vp8_mse16x16_neon;
   1.588 +
   1.589 +    vp8_get4x4sse_cs = vp8_get4x4sse_cs_c;
   1.590 +    if (flags & HAS_NEON) vp8_get4x4sse_cs = vp8_get4x4sse_cs_neon;
   1.591 +
   1.592 +    vp8_short_fdct4x4 = vp8_short_fdct4x4_c;
   1.593 +    if (flags & HAS_MEDIA) vp8_short_fdct4x4 = vp8_short_fdct4x4_armv6;
   1.594 +    if (flags & HAS_NEON) vp8_short_fdct4x4 = vp8_short_fdct4x4_neon;
   1.595 +
   1.596 +    vp8_short_fdct8x4 = vp8_short_fdct8x4_c;
   1.597 +    if (flags & HAS_MEDIA) vp8_short_fdct8x4 = vp8_short_fdct8x4_armv6;
   1.598 +    if (flags & HAS_NEON) vp8_short_fdct8x4 = vp8_short_fdct8x4_neon;
   1.599 +
   1.600 +    vp8_short_walsh4x4 = vp8_short_walsh4x4_c;
   1.601 +    if (flags & HAS_MEDIA) vp8_short_walsh4x4 = vp8_short_walsh4x4_armv6;
   1.602 +    if (flags & HAS_NEON) vp8_short_walsh4x4 = vp8_short_walsh4x4_neon;
   1.603 +
   1.604 +
   1.605 +    vp8_fast_quantize_b = vp8_fast_quantize_b_c;
   1.606 +    if (flags & HAS_MEDIA) vp8_fast_quantize_b = vp8_fast_quantize_b_armv6;
   1.607 +    if (flags & HAS_NEON) vp8_fast_quantize_b = vp8_fast_quantize_b_neon;
   1.608 +
   1.609 +
   1.610 +    vp8_fast_quantize_b_pair = vp8_fast_quantize_b_pair_c;
   1.611 +    if (flags & HAS_NEON) vp8_fast_quantize_b_pair = vp8_fast_quantize_b_pair_neon;
   1.612 +
   1.613 +    vp8_quantize_mb = vp8_quantize_mb_c;
   1.614 +    if (flags & HAS_NEON) vp8_quantize_mb = vp8_quantize_mb_neon;
   1.615 +
   1.616 +    vp8_quantize_mby = vp8_quantize_mby_c;
   1.617 +    if (flags & HAS_NEON) vp8_quantize_mby = vp8_quantize_mby_neon;
   1.618 +
   1.619 +    vp8_quantize_mbuv = vp8_quantize_mbuv_c;
   1.620 +    if (flags & HAS_NEON) vp8_quantize_mbuv = vp8_quantize_mbuv_neon;
   1.621 +
   1.622 +
   1.623 +
   1.624 +
   1.625 +    vp8_subtract_b = vp8_subtract_b_c;
   1.626 +    if (flags & HAS_MEDIA) vp8_subtract_b = vp8_subtract_b_armv6;
   1.627 +    if (flags & HAS_NEON) vp8_subtract_b = vp8_subtract_b_neon;
   1.628 +
   1.629 +    vp8_subtract_mby = vp8_subtract_mby_c;
   1.630 +    if (flags & HAS_MEDIA) vp8_subtract_mby = vp8_subtract_mby_armv6;
   1.631 +    if (flags & HAS_NEON) vp8_subtract_mby = vp8_subtract_mby_neon;
   1.632 +
   1.633 +    vp8_subtract_mbuv = vp8_subtract_mbuv_c;
   1.634 +    if (flags & HAS_MEDIA) vp8_subtract_mbuv = vp8_subtract_mbuv_armv6;
   1.635 +    if (flags & HAS_NEON) vp8_subtract_mbuv = vp8_subtract_mbuv_neon;
   1.636 +
   1.637 +
   1.638 +
   1.639 +
   1.640 +    vp8_yv12_copy_partial_frame = vp8_yv12_copy_partial_frame_c;
   1.641 +    if (flags & HAS_NEON) vp8_yv12_copy_partial_frame = vp8_yv12_copy_partial_frame_neon;
   1.642 +}
   1.643 +#endif
   1.644 +#endif

mercurial