OLD | NEW |
1 #ifndef VP8_RTCD_H_ | 1 #ifndef VP8_RTCD_H_ |
2 #define VP8_RTCD_H_ | 2 #define VP8_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_v6 | 98 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_v6 |
99 | 99 |
100 void vp8_dequantize_b_c(struct blockd*, short *dqc); | 100 void vp8_dequantize_b_c(struct blockd*, short *dqc); |
101 void vp8_dequantize_b_v6(struct blockd*, short *dqc); | 101 void vp8_dequantize_b_v6(struct blockd*, short *dqc); |
102 #define vp8_dequantize_b vp8_dequantize_b_v6 | 102 #define vp8_dequantize_b vp8_dequantize_b_v6 |
103 | 103 |
104 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); | 104 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); |
105 #define vp8_diamond_search_sad vp8_diamond_search_sad_c | 105 #define vp8_diamond_search_sad vp8_diamond_search_sad_c |
106 | 106 |
107 void vp8_fast_quantize_b_c(struct block *, struct blockd *); | 107 void vp8_fast_quantize_b_c(struct block *, struct blockd *); |
108 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *); | 108 #define vp8_fast_quantize_b vp8_fast_quantize_b_c |
109 #define vp8_fast_quantize_b vp8_fast_quantize_b_armv6 | |
110 | |
111 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); | |
112 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c | |
113 | 109 |
114 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); | 110 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); |
115 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c | 111 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c |
116 | 112 |
117 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 113 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
118 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c | 114 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c |
119 | 115 |
120 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 116 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
121 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c | 117 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c |
122 | 118 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 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); | 176 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); |
181 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | 177 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
182 #define vp8_mse16x16 vp8_mse16x16_armv6 | 178 #define vp8_mse16x16 vp8_mse16x16_armv6 |
183 | 179 |
184 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); | 180 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); |
185 #define vp8_plane_add_noise vp8_plane_add_noise_c | 181 #define vp8_plane_add_noise vp8_plane_add_noise_c |
186 | 182 |
187 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); | 183 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); |
188 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c | 184 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c |
189 | 185 |
190 void vp8_quantize_mb_c(struct macroblock *); | |
191 #define vp8_quantize_mb vp8_quantize_mb_c | |
192 | |
193 void vp8_quantize_mbuv_c(struct macroblock *); | |
194 #define vp8_quantize_mbuv vp8_quantize_mbuv_c | |
195 | |
196 void vp8_quantize_mby_c(struct macroblock *); | |
197 #define vp8_quantize_mby vp8_quantize_mby_c | |
198 | |
199 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); | 186 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); |
200 #define vp8_refining_search_sad vp8_refining_search_sad_c | 187 #define vp8_refining_search_sad vp8_refining_search_sad_c |
201 | 188 |
202 void vp8_regular_quantize_b_c(struct block *, struct blockd *); | 189 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
203 #define vp8_regular_quantize_b vp8_regular_quantize_b_c | 190 #define vp8_regular_quantize_b vp8_regular_quantize_b_c |
204 | 191 |
205 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); | |
206 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c | |
207 | |
208 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); | 192 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); |
209 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); | 193 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); |
210 #define vp8_sad16x16 vp8_sad16x16_armv6 | 194 #define vp8_sad16x16 vp8_sad16x16_armv6 |
211 | 195 |
212 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); | 196 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); |
213 #define vp8_sad16x16x3 vp8_sad16x16x3_c | 197 #define vp8_sad16x16x3 vp8_sad16x16x3_c |
214 | 198 |
215 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); | 199 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); |
216 #define vp8_sad16x16x4d vp8_sad16x16x4d_c | 200 #define vp8_sad16x16x4d vp8_sad16x16x4d_c |
217 | 201 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 #define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c | 303 #define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c |
320 | 304 |
321 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); | 305 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); |
322 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c | 306 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c |
323 | 307 |
324 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); | 308 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); |
325 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); | 309 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); |
326 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_armv6 | 310 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_armv6 |
327 | 311 |
328 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); | 312 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); |
329 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch); | 313 #define vp8_subtract_b vp8_subtract_b_c |
330 #define vp8_subtract_b vp8_subtract_b_armv6 | |
331 | 314 |
332 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); | 315 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); |
333 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)
; | 316 #define vp8_subtract_mbuv vp8_subtract_mbuv_c |
334 #define vp8_subtract_mbuv vp8_subtract_mbuv_armv6 | |
335 | 317 |
336 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); | 318 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); |
337 void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, uns
igned char *pred, int pred_stride); | 319 #define vp8_subtract_mby vp8_subtract_mby_c |
338 #define vp8_subtract_mby vp8_subtract_mby_armv6 | |
339 | 320 |
340 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | 321 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
341 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); | 322 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); |
342 #define vp8_variance16x16 vp8_variance16x16_armv6 | 323 #define vp8_variance16x16 vp8_variance16x16_armv6 |
343 | 324 |
344 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | 325 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
345 #define vp8_variance16x8 vp8_variance16x8_c | 326 #define vp8_variance16x8 vp8_variance16x8_c |
346 | 327 |
347 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | 328 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
348 #define vp8_variance4x4 vp8_variance4x4_c | 329 #define vp8_variance4x4 vp8_variance4x4_c |
(...skipping 30 matching lines...) Expand all Loading... |
379 (void)flags; | 360 (void)flags; |
380 | 361 |
381 } | 362 } |
382 #endif | 363 #endif |
383 | 364 |
384 #ifdef __cplusplus | 365 #ifdef __cplusplus |
385 } // extern "C" | 366 } // extern "C" |
386 #endif | 367 #endif |
387 | 368 |
388 #endif | 369 #endif |
OLD | NEW |