OLD | NEW |
(Empty) | |
| 1 #ifndef VP__RTCD_ |
| 2 #define VP__RTCD_ |
| 3 |
| 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN |
| 6 #else |
| 7 #define RTCD_EXTERN extern |
| 8 #endif |
| 9 |
| 10 /* |
| 11 * VP8 |
| 12 */ |
| 13 |
| 14 struct blockd; |
| 15 struct macroblockd; |
| 16 struct loop_filter_info; |
| 17 |
| 18 /* Encoder forward decls */ |
| 19 struct block; |
| 20 struct macroblock; |
| 21 struct variance_vtable; |
| 22 union int_mv; |
| 23 struct yv12_buffer_config; |
| 24 |
| 25 void vp8_dequantize_b_c(struct blockd*, short *dqc); |
| 26 void vp8_dequantize_b_v6(struct blockd*, short *dqc); |
| 27 void vp8_dequantize_b_neon(struct blockd*, short *dqc); |
| 28 #define vp8_dequantize_b vp8_dequantize_b_neon |
| 29 |
| 30 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int
stride); |
| 31 void vp8_dequant_idct_add_v6(short *input, short *dq, unsigned char *output, int
stride); |
| 32 void vp8_dequant_idct_add_neon(short *input, short *dq, unsigned char *output, i
nt stride); |
| 33 #define vp8_dequant_idct_add vp8_dequant_idct_add_neon |
| 34 |
| 35 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int
stride, char *eobs); |
| 36 void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, in
t stride, char *eobs); |
| 37 void vp8_dequant_idct_add_y_block_neon(short *q, short *dq, unsigned char *dst,
int stride, char *eobs); |
| 38 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_neon |
| 39 |
| 40 void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u,
unsigned char *dst_v, int stride, char *eobs); |
| 41 void vp8_dequant_idct_add_uv_block_v6(short *q, short *dq, unsigned char *dst_u,
unsigned char *dst_v, int stride, char *eobs); |
| 42 void vp8_dequant_idct_add_uv_block_neon(short *q, short *dq, unsigned char *dst_
u, unsigned char *dst_v, int stride, char *eobs); |
| 43 #define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_neon |
| 44 |
| 45 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); |
| 46 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); |
| 47 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); |
| 48 #define vp8_loop_filter_mbv vp8_loop_filter_mbv_neon |
| 49 |
| 50 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); |
| 51 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); |
| 52 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); |
| 53 #define vp8_loop_filter_bv vp8_loop_filter_bv_neon |
| 54 |
| 55 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); |
| 56 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); |
| 57 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); |
| 58 #define vp8_loop_filter_mbh vp8_loop_filter_mbh_neon |
| 59 |
| 60 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); |
| 61 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); |
| 62 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); |
| 63 #define vp8_loop_filter_bh vp8_loop_filter_bh_neon |
| 64 |
| 65 void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const
unsigned char *blimit); |
| 66 void vp8_loop_filter_simple_vertical_edge_armv6(unsigned char *y, int ystride, c
onst unsigned char *blimit); |
| 67 void vp8_loop_filter_mbvs_neon(unsigned char *y, int ystride, const unsigned cha
r *blimit); |
| 68 #define vp8_loop_filter_simple_mbv vp8_loop_filter_mbvs_neon |
| 69 |
| 70 void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, con
st unsigned char *blimit); |
| 71 void vp8_loop_filter_simple_horizontal_edge_armv6(unsigned char *y, int ystride,
const unsigned char *blimit); |
| 72 void vp8_loop_filter_mbhs_neon(unsigned char *y, int ystride, const unsigned cha
r *blimit); |
| 73 #define vp8_loop_filter_simple_mbh vp8_loop_filter_mbhs_neon |
| 74 |
| 75 void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *b
limit); |
| 76 void vp8_loop_filter_bvs_armv6(unsigned char *y, int ystride, const unsigned cha
r *blimit); |
| 77 void vp8_loop_filter_bvs_neon(unsigned char *y, int ystride, const unsigned char
*blimit); |
| 78 #define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_neon |
| 79 |
| 80 void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *b
limit); |
| 81 void vp8_loop_filter_bhs_armv6(unsigned char *y, int ystride, const unsigned cha
r *blimit); |
| 82 void vp8_loop_filter_bhs_neon(unsigned char *y, int ystride, const unsigned char
*blimit); |
| 83 #define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_neon |
| 84 |
| 85 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsign
ed char *dst, int dst_stride); |
| 86 void vp8_short_idct4x4llm_v6_dual(short *input, unsigned char *pred, int pitch,
unsigned char *dst, int dst_stride); |
| 87 void vp8_short_idct4x4llm_neon(short *input, unsigned char *pred, int pitch, uns
igned char *dst, int dst_stride); |
| 88 #define vp8_short_idct4x4llm vp8_short_idct4x4llm_neon |
| 89 |
| 90 void vp8_short_inv_walsh4x4_1_c(short *input, short *output); |
| 91 #define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c |
| 92 |
| 93 void vp8_short_inv_walsh4x4_c(short *input, short *output); |
| 94 void vp8_short_inv_walsh4x4_v6(short *input, short *output); |
| 95 void vp8_short_inv_walsh4x4_neon(short *input, short *output); |
| 96 #define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_neon |
| 97 |
| 98 void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, u
nsigned char *dst, int dst_stride); |
| 99 void vp8_dc_only_idct_add_v6(short input, unsigned char *pred, int pred_stride,
unsigned char *dst, int dst_stride); |
| 100 void vp8_dc_only_idct_add_neon(short input, unsigned char *pred, int pred_stride
, unsigned char *dst, int dst_stride); |
| 101 #define vp8_dc_only_idct_add vp8_dc_only_idct_add_neon |
| 102 |
| 103 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 104 void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 105 void vp8_copy_mem16x16_neon(unsigned char *src, int src_pitch, unsigned char *ds
t, int dst_pitch); |
| 106 #define vp8_copy_mem16x16 vp8_copy_mem16x16_neon |
| 107 |
| 108 void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); |
| 109 void vp8_copy_mem8x8_v6(unsigned char *src, int src_pitch, unsigned char *dst, i
nt dst_pitch); |
| 110 void vp8_copy_mem8x8_neon(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 111 #define vp8_copy_mem8x8 vp8_copy_mem8x8_neon |
| 112 |
| 113 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); |
| 114 void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, i
nt dst_pitch); |
| 115 void vp8_copy_mem8x4_neon(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 116 #define vp8_copy_mem8x4 vp8_copy_mem8x4_neon |
| 117 |
| 118 void vp8_build_intra_predictors_mby_s_c(struct macroblockd *x, unsigned char * y
above_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, in
t y_stride); |
| 119 #define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c |
| 120 |
| 121 void vp8_build_intra_predictors_mbuv_s_c(struct macroblockd *x, unsigned char *
uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vl
eft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int
pred_stride); |
| 122 #define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c |
| 123 |
| 124 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)
; |
| 125 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_l
eft); |
| 126 #define vp8_intra4x4_predict vp8_intra4x4_predict_armv6 |
| 127 |
| 128 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in
t flimit); |
| 129 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c |
| 130 |
| 131 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co
ls,int flimit); |
| 132 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c |
| 133 |
| 134 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d
st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); |
| 135 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c |
| 136 |
| 137 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c
har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc
h); |
| 138 #define vp8_plane_add_noise vp8_plane_add_noise_c |
| 139 |
| 140 void vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v,
int y1, int u1, int v1, int alpha, int stride); |
| 141 #define vp8_blend_mb_inner vp8_blend_mb_inner_c |
| 142 |
| 143 void vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v,
int y1, int u1, int v1, int alpha, int stride); |
| 144 #define vp8_blend_mb_outer vp8_blend_mb_outer_c |
| 145 |
| 146 void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1,
int u1, int v1, int alpha, int stride); |
| 147 #define vp8_blend_b vp8_blend_b_c |
| 148 |
| 149 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); |
| 150 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c |
| 151 |
| 152 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
| 153 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c |
| 154 |
| 155 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
| 156 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c |
| 157 |
| 158 void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
| 159 void vp8_sixtap_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 160 void vp8_sixtap_predict16x16_neon(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 161 #define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_neon |
| 162 |
| 163 void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); |
| 164 void vp8_sixtap_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
| 165 void vp8_sixtap_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, in
t yofst, unsigned char *dst, int dst_pitch); |
| 166 #define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_neon |
| 167 |
| 168 void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); |
| 169 void vp8_sixtap_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
| 170 void vp8_sixtap_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, in
t yofst, unsigned char *dst, int dst_pitch); |
| 171 #define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_neon |
| 172 |
| 173 void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); |
| 174 void vp8_sixtap_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
| 175 void vp8_sixtap_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, in
t yofst, unsigned char *dst, int dst_pitch); |
| 176 #define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_neon |
| 177 |
| 178 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
| 179 void vp8_bilinear_predict16x16_armv6(unsigned char *src, int src_pitch, int xofs
t, int yofst, unsigned char *dst, int dst_pitch); |
| 180 void vp8_bilinear_predict16x16_neon(unsigned char *src, int src_pitch, int xofst
, int yofst, unsigned char *dst, int dst_pitch); |
| 181 #define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_neon |
| 182 |
| 183 void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
| 184 void vp8_bilinear_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 185 void vp8_bilinear_predict8x8_neon(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 186 #define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_neon |
| 187 |
| 188 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
| 189 void vp8_bilinear_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 190 void vp8_bilinear_predict8x4_neon(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 191 #define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_neon |
| 192 |
| 193 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
| 194 void vp8_bilinear_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 195 void vp8_bilinear_predict4x4_neon(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 196 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_neon |
| 197 |
| 198 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 199 #define vp8_variance4x4 vp8_variance4x4_c |
| 200 |
| 201 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 202 unsigned int vp8_variance8x8_armv6(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 203 unsigned int vp8_variance8x8_neon(const unsigned char *src_ptr, int source_strid
e, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 204 #define vp8_variance8x8 vp8_variance8x8_neon |
| 205 |
| 206 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 207 unsigned int vp8_variance8x16_neon(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 208 #define vp8_variance8x16 vp8_variance8x16_neon |
| 209 |
| 210 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 211 unsigned int vp8_variance16x8_neon(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 212 #define vp8_variance16x8 vp8_variance16x8_neon |
| 213 |
| 214 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 215 unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_st
ride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 216 unsigned int vp8_variance16x16_neon(const unsigned char *src_ptr, int source_str
ide, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 217 #define vp8_variance16x16 vp8_variance16x16_neon |
| 218 |
| 219 unsigned int vp8_sub_pixel_variance4x4_c(const unsigned char *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstr
ide, unsigned int *sse); |
| 220 #define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c |
| 221 |
| 222 unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstr
ide, unsigned int *sse); |
| 223 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 Re
fstride, unsigned int *sse); |
| 224 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 Ref
stride, unsigned int *sse); |
| 225 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_neon |
| 226 |
| 227 unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int so
urce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refst
ride, unsigned int *sse); |
| 228 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c |
| 229 |
| 230 unsigned int vp8_sub_pixel_variance16x8_c(const unsigned char *src_ptr, int so
urce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refst
ride, unsigned int *sse); |
| 231 #define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c |
| 232 |
| 233 unsigned int vp8_sub_pixel_variance16x16_c(const unsigned char *src_ptr, int s
ource_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refs
tride, unsigned int *sse); |
| 234 unsigned int vp8_sub_pixel_variance16x16_armv6(const unsigned char *src_ptr, in
t source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int
Refstride, unsigned int *sse); |
| 235 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 R
efstride, unsigned int *sse); |
| 236 #define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_neon |
| 237 |
| 238 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)
; |
| 239 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); |
| 240 unsigned int vp8_variance_halfpixvar16x16_h_neon(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); |
| 241 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_neon |
| 242 |
| 243 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)
; |
| 244 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); |
| 245 unsigned int vp8_variance_halfpixvar16x16_v_neon(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); |
| 246 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_neon |
| 247 |
| 248 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
); |
| 249 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); |
| 250 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); |
| 251 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_neon |
| 252 |
| 253 unsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const un
signed char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 254 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); |
| 255 #define vp8_sad4x4 vp8_sad4x4_neon |
| 256 |
| 257 unsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const un
signed char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 258 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); |
| 259 #define vp8_sad8x8 vp8_sad8x8_neon |
| 260 |
| 261 unsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const u
nsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 262 unsigned int vp8_sad8x16_neon(const unsigned char *src_ptr, int src_stride, cons
t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 263 #define vp8_sad8x16 vp8_sad8x16_neon |
| 264 |
| 265 unsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const u
nsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 266 unsigned int vp8_sad16x8_neon(const unsigned char *src_ptr, int src_stride, cons
t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 267 #define vp8_sad16x8 vp8_sad16x8_neon |
| 268 |
| 269 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); |
| 270 unsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, co
nst unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 271 unsigned int vp8_sad16x16_neon(const unsigned char *src_ptr, int src_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 272 #define vp8_sad16x16 vp8_sad16x16_neon |
| 273 |
| 274 void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 275 #define vp8_sad4x4x3 vp8_sad4x4x3_c |
| 276 |
| 277 void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 278 #define vp8_sad8x8x3 vp8_sad8x8x3_c |
| 279 |
| 280 void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 281 #define vp8_sad8x16x3 vp8_sad8x16x3_c |
| 282 |
| 283 void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 284 #define vp8_sad16x8x3 vp8_sad16x8x3_c |
| 285 |
| 286 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 287 #define vp8_sad16x16x3 vp8_sad16x16x3_c |
| 288 |
| 289 void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned short *sad_array); |
| 290 #define vp8_sad4x4x8 vp8_sad4x4x8_c |
| 291 |
| 292 void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned short *sad_array); |
| 293 #define vp8_sad8x8x8 vp8_sad8x8x8_c |
| 294 |
| 295 void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned short *sad_array); |
| 296 #define vp8_sad8x16x8 vp8_sad8x16x8_c |
| 297 |
| 298 void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned short *sad_array); |
| 299 #define vp8_sad16x8x8 vp8_sad16x8x8_c |
| 300 |
| 301 void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned short *sad_array); |
| 302 #define vp8_sad16x16x8 vp8_sad16x16x8_c |
| 303 |
| 304 void vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char * const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 305 #define vp8_sad4x4x4d vp8_sad4x4x4d_c |
| 306 |
| 307 void vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char * const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 308 #define vp8_sad8x8x4d vp8_sad8x8x4d_c |
| 309 |
| 310 void vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char * const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 311 #define vp8_sad8x16x4d vp8_sad8x16x4d_c |
| 312 |
| 313 void vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char * const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 314 #define vp8_sad16x8x4d vp8_sad16x8x4d_c |
| 315 |
| 316 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsig
ned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 317 #define vp8_sad16x16x4d vp8_sad16x16x4d_c |
| 318 |
| 319 unsigned int vp8_get_mb_ss_c(const short *); |
| 320 #define vp8_get_mb_ss vp8_get_mb_ss_c |
| 321 |
| 322 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); |
| 323 #define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c |
| 324 |
| 325 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 326 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 327 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 328 #define vp8_mse16x16 vp8_mse16x16_neon |
| 329 |
| 330 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); |
| 331 unsigned int vp8_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride); |
| 332 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_neon |
| 333 |
| 334 void vp8_short_fdct4x4_c(short *input, short *output, int pitch); |
| 335 void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch); |
| 336 void vp8_short_fdct4x4_neon(short *input, short *output, int pitch); |
| 337 #define vp8_short_fdct4x4 vp8_short_fdct4x4_neon |
| 338 |
| 339 void vp8_short_fdct8x4_c(short *input, short *output, int pitch); |
| 340 void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch); |
| 341 void vp8_short_fdct8x4_neon(short *input, short *output, int pitch); |
| 342 #define vp8_short_fdct8x4 vp8_short_fdct8x4_neon |
| 343 |
| 344 void vp8_short_walsh4x4_c(short *input, short *output, int pitch); |
| 345 void vp8_short_walsh4x4_armv6(short *input, short *output, int pitch); |
| 346 void vp8_short_walsh4x4_neon(short *input, short *output, int pitch); |
| 347 #define vp8_short_walsh4x4 vp8_short_walsh4x4_neon |
| 348 |
| 349 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
| 350 #define vp8_regular_quantize_b vp8_regular_quantize_b_c |
| 351 |
| 352 void vp8_fast_quantize_b_c(struct block *, struct blockd *); |
| 353 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *); |
| 354 void vp8_fast_quantize_b_neon(struct block *, struct blockd *); |
| 355 #define vp8_fast_quantize_b vp8_fast_quantize_b_neon |
| 356 |
| 357 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); |
| 358 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c |
| 359 |
| 360 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); |
| 361 void vp8_fast_quantize_b_pair_neon(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); |
| 362 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_neon |
| 363 |
| 364 void vp8_quantize_mb_c(struct macroblock *); |
| 365 void vp8_quantize_mb_neon(struct macroblock *); |
| 366 #define vp8_quantize_mb vp8_quantize_mb_neon |
| 367 |
| 368 void vp8_quantize_mby_c(struct macroblock *); |
| 369 void vp8_quantize_mby_neon(struct macroblock *); |
| 370 #define vp8_quantize_mby vp8_quantize_mby_neon |
| 371 |
| 372 void vp8_quantize_mbuv_c(struct macroblock *); |
| 373 void vp8_quantize_mbuv_neon(struct macroblock *); |
| 374 #define vp8_quantize_mbuv vp8_quantize_mbuv_neon |
| 375 |
| 376 int vp8_block_error_c(short *coeff, short *dqcoeff); |
| 377 #define vp8_block_error vp8_block_error_c |
| 378 |
| 379 int vp8_mbblock_error_c(struct macroblock *mb, int dc); |
| 380 #define vp8_mbblock_error vp8_mbblock_error_c |
| 381 |
| 382 int vp8_mbuverror_c(struct macroblock *mb); |
| 383 #define vp8_mbuverror vp8_mbuverror_c |
| 384 |
| 385 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); |
| 386 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch); |
| 387 void vp8_subtract_b_neon(struct block *be, struct blockd *bd, int pitch); |
| 388 #define vp8_subtract_b vp8_subtract_b_neon |
| 389 |
| 390 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); |
| 391 void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, uns
igned char *pred, int pred_stride); |
| 392 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi
gned char *pred, int pred_stride); |
| 393 #define vp8_subtract_mby vp8_subtract_mby_neon |
| 394 |
| 395 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); |
| 396 void vp8_subtract_mbuv_armv6(short *diff, unsigned char *usrc, unsigned char *vs
rc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride)
; |
| 397 void vp8_subtract_mbuv_neon(short *diff, unsigned char *usrc, unsigned char *vsr
c, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); |
| 398 #define vp8_subtract_mbuv vp8_subtract_mbuv_neon |
| 399 |
| 400 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); |
| 401 #define vp8_full_search_sad vp8_full_search_sad_c |
| 402 |
| 403 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc
kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab
le *fn_ptr, int *mvcost[2], union int_mv *center_mv); |
| 404 #define vp8_refining_search_sad vp8_refining_search_sad_c |
| 405 |
| 406 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct block
d *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); |
| 407 #define vp8_diamond_search_sad vp8_diamond_search_sad_c |
| 408 |
| 409 void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv
12_buffer_config *dst_ybc); |
| 410 void vp8_yv12_copy_partial_frame_neon(struct yv12_buffer_config *src_ybc, struct
yv12_buffer_config *dst_ybc); |
| 411 #define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_neon |
| 412 |
| 413 int vp8_denoiser_filter_c(struct yv12_buffer_config* mc_running_avg, struct yv12
_buffer_config* running_avg, struct macroblock* signal, unsigned int motion_magn
itude2, int y_offset, int uv_offset); |
| 414 #define vp8_denoiser_filter vp8_denoiser_filter_c |
| 415 |
| 416 void vp8_rtcd(void); |
| 417 #include "vpx_config.h" |
| 418 |
| 419 #ifdef RTCD_C |
| 420 #include "vpx_ports/arm.h" |
| 421 static void setup_rtcd_internal(void) |
| 422 { |
| 423 int flags = arm_cpu_caps(); |
| 424 |
| 425 (void)flags; |
| 426 |
| 427 |
| 428 } |
| 429 #endif |
| 430 #endif |
OLD | NEW |