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 #define vp8_dequantize_b vp8_dequantize_b_v6 |
| 28 |
| 29 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int
stride); |
| 30 void vp8_dequant_idct_add_v6(short *input, short *dq, unsigned char *output, int
stride); |
| 31 #define vp8_dequant_idct_add vp8_dequant_idct_add_v6 |
| 32 |
| 33 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int
stride, char *eobs); |
| 34 void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, in
t stride, char *eobs); |
| 35 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_v6 |
| 36 |
| 37 void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u,
unsigned char *dst_v, int stride, char *eobs); |
| 38 void vp8_dequant_idct_add_uv_block_v6(short *q, short *dq, unsigned char *dst_u,
unsigned char *dst_v, int stride, char *eobs); |
| 39 #define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_v6 |
| 40 |
| 41 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); |
| 42 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); |
| 43 #define vp8_loop_filter_mbv vp8_loop_filter_mbv_armv6 |
| 44 |
| 45 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); |
| 46 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); |
| 47 #define vp8_loop_filter_bv vp8_loop_filter_bv_armv6 |
| 48 |
| 49 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); |
| 50 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); |
| 51 #define vp8_loop_filter_mbh vp8_loop_filter_mbh_armv6 |
| 52 |
| 53 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); |
| 54 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); |
| 55 #define vp8_loop_filter_bh vp8_loop_filter_bh_armv6 |
| 56 |
| 57 void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const
unsigned char *blimit); |
| 58 void vp8_loop_filter_simple_vertical_edge_armv6(unsigned char *y, int ystride, c
onst unsigned char *blimit); |
| 59 #define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_armv6 |
| 60 |
| 61 void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, con
st unsigned char *blimit); |
| 62 void vp8_loop_filter_simple_horizontal_edge_armv6(unsigned char *y, int ystride,
const unsigned char *blimit); |
| 63 #define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_armv6 |
| 64 |
| 65 void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *b
limit); |
| 66 void vp8_loop_filter_bvs_armv6(unsigned char *y, int ystride, const unsigned cha
r *blimit); |
| 67 #define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_armv6 |
| 68 |
| 69 void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *b
limit); |
| 70 void vp8_loop_filter_bhs_armv6(unsigned char *y, int ystride, const unsigned cha
r *blimit); |
| 71 #define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_armv6 |
| 72 |
| 73 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsign
ed char *dst, int dst_stride); |
| 74 void vp8_short_idct4x4llm_v6_dual(short *input, unsigned char *pred, int pitch,
unsigned char *dst, int dst_stride); |
| 75 #define vp8_short_idct4x4llm vp8_short_idct4x4llm_v6_dual |
| 76 |
| 77 void vp8_short_inv_walsh4x4_1_c(short *input, short *output); |
| 78 #define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c |
| 79 |
| 80 void vp8_short_inv_walsh4x4_c(short *input, short *output); |
| 81 void vp8_short_inv_walsh4x4_v6(short *input, short *output); |
| 82 #define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_v6 |
| 83 |
| 84 void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, u
nsigned char *dst, int dst_stride); |
| 85 void vp8_dc_only_idct_add_v6(short input, unsigned char *pred, int pred_stride,
unsigned char *dst, int dst_stride); |
| 86 #define vp8_dc_only_idct_add vp8_dc_only_idct_add_v6 |
| 87 |
| 88 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 89 void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst,
int dst_pitch); |
| 90 #define vp8_copy_mem16x16 vp8_copy_mem16x16_v6 |
| 91 |
| 92 void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); |
| 93 void vp8_copy_mem8x8_v6(unsigned char *src, int src_pitch, unsigned char *dst, i
nt dst_pitch); |
| 94 #define vp8_copy_mem8x8 vp8_copy_mem8x8_v6 |
| 95 |
| 96 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in
t dst_pitch); |
| 97 void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, i
nt dst_pitch); |
| 98 #define vp8_copy_mem8x4 vp8_copy_mem8x4_v6 |
| 99 |
| 100 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); |
| 101 #define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c |
| 102 |
| 103 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); |
| 104 #define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c |
| 105 |
| 106 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)
; |
| 107 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); |
| 108 #define vp8_intra4x4_predict vp8_intra4x4_predict_armv6 |
| 109 |
| 110 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in
t flimit); |
| 111 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c |
| 112 |
| 113 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co
ls,int flimit); |
| 114 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c |
| 115 |
| 116 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); |
| 117 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c |
| 118 |
| 119 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); |
| 120 #define vp8_plane_add_noise vp8_plane_add_noise_c |
| 121 |
| 122 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); |
| 123 #define vp8_blend_mb_inner vp8_blend_mb_inner_c |
| 124 |
| 125 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); |
| 126 #define vp8_blend_mb_outer vp8_blend_mb_outer_c |
| 127 |
| 128 void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1,
int u1, int v1, int alpha, int stride); |
| 129 #define vp8_blend_b vp8_blend_b_c |
| 130 |
| 131 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); |
| 132 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c |
| 133 |
| 134 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
| 135 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c |
| 136 |
| 137 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
| 138 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c |
| 139 |
| 140 void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
| 141 void vp8_sixtap_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 142 #define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_armv6 |
| 143 |
| 144 void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); |
| 145 void vp8_sixtap_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
| 146 #define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_armv6 |
| 147 |
| 148 void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); |
| 149 void vp8_sixtap_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
| 150 #define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_armv6 |
| 151 |
| 152 void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int y
ofst, unsigned char *dst, int dst_pitch); |
| 153 void vp8_sixtap_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
| 154 #define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_armv6 |
| 155 |
| 156 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
| 157 void vp8_bilinear_predict16x16_armv6(unsigned char *src, int src_pitch, int xofs
t, int yofst, unsigned char *dst, int dst_pitch); |
| 158 #define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_armv6 |
| 159 |
| 160 void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
| 161 void vp8_bilinear_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 162 #define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_armv6 |
| 163 |
| 164 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
| 165 void vp8_bilinear_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 166 #define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_armv6 |
| 167 |
| 168 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
| 169 void vp8_bilinear_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
| 170 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_armv6 |
| 171 |
| 172 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 173 #define vp8_variance4x4 vp8_variance4x4_c |
| 174 |
| 175 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 176 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); |
| 177 #define vp8_variance8x8 vp8_variance8x8_armv6 |
| 178 |
| 179 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 180 #define vp8_variance8x16 vp8_variance8x16_c |
| 181 |
| 182 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 183 #define vp8_variance16x8 vp8_variance16x8_c |
| 184 |
| 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); |
| 186 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); |
| 187 #define vp8_variance16x16 vp8_variance16x16_armv6 |
| 188 |
| 189 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); |
| 190 #define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c |
| 191 |
| 192 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); |
| 193 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); |
| 194 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_armv6 |
| 195 |
| 196 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); |
| 197 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c |
| 198 |
| 199 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); |
| 200 #define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c |
| 201 |
| 202 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); |
| 203 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); |
| 204 #define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_armv6 |
| 205 |
| 206 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)
; |
| 207 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); |
| 208 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_armv6 |
| 209 |
| 210 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)
; |
| 211 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); |
| 212 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_armv6 |
| 213 |
| 214 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
); |
| 215 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); |
| 216 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_armv6 |
| 217 |
| 218 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); |
| 219 #define vp8_sad4x4 vp8_sad4x4_c |
| 220 |
| 221 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); |
| 222 #define vp8_sad8x8 vp8_sad8x8_c |
| 223 |
| 224 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); |
| 225 #define vp8_sad8x16 vp8_sad8x16_c |
| 226 |
| 227 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); |
| 228 #define vp8_sad16x8 vp8_sad16x8_c |
| 229 |
| 230 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); |
| 231 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); |
| 232 #define vp8_sad16x16 vp8_sad16x16_armv6 |
| 233 |
| 234 void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 235 #define vp8_sad4x4x3 vp8_sad4x4x3_c |
| 236 |
| 237 void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 238 #define vp8_sad8x8x3 vp8_sad8x8x3_c |
| 239 |
| 240 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); |
| 241 #define vp8_sad8x16x3 vp8_sad8x16x3_c |
| 242 |
| 243 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); |
| 244 #define vp8_sad16x8x3 vp8_sad16x8x3_c |
| 245 |
| 246 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); |
| 247 #define vp8_sad16x16x3 vp8_sad16x16x3_c |
| 248 |
| 249 void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned short *sad_array); |
| 250 #define vp8_sad4x4x8 vp8_sad4x4x8_c |
| 251 |
| 252 void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned short *sad_array); |
| 253 #define vp8_sad8x8x8 vp8_sad8x8x8_c |
| 254 |
| 255 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); |
| 256 #define vp8_sad8x16x8 vp8_sad8x16x8_c |
| 257 |
| 258 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); |
| 259 #define vp8_sad16x8x8 vp8_sad16x8x8_c |
| 260 |
| 261 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); |
| 262 #define vp8_sad16x16x8 vp8_sad16x16x8_c |
| 263 |
| 264 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); |
| 265 #define vp8_sad4x4x4d vp8_sad4x4x4d_c |
| 266 |
| 267 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); |
| 268 #define vp8_sad8x8x4d vp8_sad8x8x4d_c |
| 269 |
| 270 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); |
| 271 #define vp8_sad8x16x4d vp8_sad8x16x4d_c |
| 272 |
| 273 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); |
| 274 #define vp8_sad16x8x4d vp8_sad16x8x4d_c |
| 275 |
| 276 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); |
| 277 #define vp8_sad16x16x4d vp8_sad16x16x4d_c |
| 278 |
| 279 unsigned int vp8_get_mb_ss_c(const short *); |
| 280 #define vp8_get_mb_ss vp8_get_mb_ss_c |
| 281 |
| 282 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); |
| 283 #define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c |
| 284 |
| 285 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); |
| 286 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
| 287 #define vp8_mse16x16 vp8_mse16x16_armv6 |
| 288 |
| 289 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); |
| 290 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_c |
| 291 |
| 292 void vp8_short_fdct4x4_c(short *input, short *output, int pitch); |
| 293 void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch); |
| 294 #define vp8_short_fdct4x4 vp8_short_fdct4x4_armv6 |
| 295 |
| 296 void vp8_short_fdct8x4_c(short *input, short *output, int pitch); |
| 297 void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch); |
| 298 #define vp8_short_fdct8x4 vp8_short_fdct8x4_armv6 |
| 299 |
| 300 void vp8_short_walsh4x4_c(short *input, short *output, int pitch); |
| 301 void vp8_short_walsh4x4_armv6(short *input, short *output, int pitch); |
| 302 #define vp8_short_walsh4x4 vp8_short_walsh4x4_armv6 |
| 303 |
| 304 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
| 305 #define vp8_regular_quantize_b vp8_regular_quantize_b_c |
| 306 |
| 307 void vp8_fast_quantize_b_c(struct block *, struct blockd *); |
| 308 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *); |
| 309 #define vp8_fast_quantize_b vp8_fast_quantize_b_armv6 |
| 310 |
| 311 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); |
| 312 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c |
| 313 |
| 314 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); |
| 315 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c |
| 316 |
| 317 void vp8_quantize_mb_c(struct macroblock *); |
| 318 #define vp8_quantize_mb vp8_quantize_mb_c |
| 319 |
| 320 void vp8_quantize_mby_c(struct macroblock *); |
| 321 #define vp8_quantize_mby vp8_quantize_mby_c |
| 322 |
| 323 void vp8_quantize_mbuv_c(struct macroblock *); |
| 324 #define vp8_quantize_mbuv vp8_quantize_mbuv_c |
| 325 |
| 326 int vp8_block_error_c(short *coeff, short *dqcoeff); |
| 327 #define vp8_block_error vp8_block_error_c |
| 328 |
| 329 int vp8_mbblock_error_c(struct macroblock *mb, int dc); |
| 330 #define vp8_mbblock_error vp8_mbblock_error_c |
| 331 |
| 332 int vp8_mbuverror_c(struct macroblock *mb); |
| 333 #define vp8_mbuverror vp8_mbuverror_c |
| 334 |
| 335 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); |
| 336 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch); |
| 337 #define vp8_subtract_b vp8_subtract_b_armv6 |
| 338 |
| 339 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); |
| 340 void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, uns
igned char *pred, int pred_stride); |
| 341 #define vp8_subtract_mby vp8_subtract_mby_armv6 |
| 342 |
| 343 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); |
| 344 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)
; |
| 345 #define vp8_subtract_mbuv vp8_subtract_mbuv_armv6 |
| 346 |
| 347 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); |
| 348 #define vp8_full_search_sad vp8_full_search_sad_c |
| 349 |
| 350 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); |
| 351 #define vp8_refining_search_sad vp8_refining_search_sad_c |
| 352 |
| 353 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); |
| 354 #define vp8_diamond_search_sad vp8_diamond_search_sad_c |
| 355 |
| 356 void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv
12_buffer_config *dst_ybc); |
| 357 #define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c |
| 358 |
| 359 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); |
| 360 #define vp8_denoiser_filter vp8_denoiser_filter_c |
| 361 |
| 362 void vp8_rtcd(void); |
| 363 #include "vpx_config.h" |
| 364 |
| 365 #ifdef RTCD_C |
| 366 #include "vpx_ports/arm.h" |
| 367 static void setup_rtcd_internal(void) |
| 368 { |
| 369 int flags = arm_cpu_caps(); |
| 370 |
| 371 (void)flags; |
| 372 |
| 373 |
| 374 } |
| 375 #endif |
| 376 #endif |
OLD | NEW |