| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 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); |
| 114 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c | 114 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c |
| 115 | 115 |
| 116 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); |
| 117 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c | 117 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c |
| 118 | 118 |
| 119 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); | 119 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); |
| 120 #define vp8_full_search_sad vp8_full_search_sad_c | 120 #define vp8_full_search_sad vp8_full_search_sad_c |
| 121 | 121 |
| 122 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); | |
| 123 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_c | |
| 124 | |
| 125 unsigned int vp8_get_mb_ss_c(const short *); | |
| 126 #define vp8_get_mb_ss vp8_get_mb_ss_c | |
| 127 | |
| 128 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)
; | 122 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)
; |
| 129 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); | 123 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); |
| 130 #define vp8_intra4x4_predict vp8_intra4x4_predict_armv6 | 124 #define vp8_intra4x4_predict vp8_intra4x4_predict_armv6 |
| 131 | 125 |
| 132 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); | 126 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); |
| 133 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); | 127 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); |
| 134 #define vp8_loop_filter_bh vp8_loop_filter_bh_armv6 | 128 #define vp8_loop_filter_bh vp8_loop_filter_bh_armv6 |
| 135 | 129 |
| 136 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); | 130 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); |
| 137 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); | 131 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); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 166 | 160 |
| 167 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co
ls,int flimit); | 161 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co
ls,int flimit); |
| 168 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c | 162 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c |
| 169 | 163 |
| 170 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in
t flimit); | 164 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in
t flimit); |
| 171 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c | 165 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c |
| 172 | 166 |
| 173 int vp8_mbuverror_c(struct macroblock *mb); | 167 int vp8_mbuverror_c(struct macroblock *mb); |
| 174 #define vp8_mbuverror vp8_mbuverror_c | 168 #define vp8_mbuverror vp8_mbuverror_c |
| 175 | 169 |
| 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); | |
| 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); | |
| 178 #define vp8_mse16x16 vp8_mse16x16_armv6 | |
| 179 | |
| 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); | 170 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); |
| 181 #define vp8_plane_add_noise vp8_plane_add_noise_c | 171 #define vp8_plane_add_noise vp8_plane_add_noise_c |
| 182 | 172 |
| 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); | 173 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); |
| 184 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c | 174 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c |
| 185 | 175 |
| 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); | 176 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); |
| 187 #define vp8_refining_search_sad vp8_refining_search_sad_c | 177 #define vp8_refining_search_sad vp8_refining_search_sad_c |
| 188 | 178 |
| 189 void vp8_regular_quantize_b_c(struct block *, struct blockd *); | 179 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 | 240 |
| 251 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); | 241 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); |
| 252 #define vp8_subtract_b vp8_subtract_b_c | 242 #define vp8_subtract_b vp8_subtract_b_c |
| 253 | 243 |
| 254 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); | 244 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); |
| 255 #define vp8_subtract_mbuv vp8_subtract_mbuv_c | 245 #define vp8_subtract_mbuv vp8_subtract_mbuv_c |
| 256 | 246 |
| 257 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); | 247 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne
d char *pred, int pred_stride); |
| 258 #define vp8_subtract_mby vp8_subtract_mby_c | 248 #define vp8_subtract_mby vp8_subtract_mby_c |
| 259 | 249 |
| 260 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 261 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); | |
| 262 #define vp8_variance16x16 vp8_variance16x16_armv6 | |
| 263 | |
| 264 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 265 #define vp8_variance16x8 vp8_variance16x8_c | |
| 266 | |
| 267 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 268 #define vp8_variance4x4 vp8_variance4x4_c | |
| 269 | |
| 270 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 271 #define vp8_variance8x16 vp8_variance8x16_c | |
| 272 | |
| 273 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | |
| 274 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); | |
| 275 #define vp8_variance8x8 vp8_variance8x8_armv6 | |
| 276 | |
| 277 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)
; | 250 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)
; |
| 278 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); | 251 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); |
| 279 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_armv6 | 252 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_armv6 |
| 280 | 253 |
| 281 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
); | 254 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
); |
| 282 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); | 255 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); |
| 283 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_armv6 | 256 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_armv6 |
| 284 | 257 |
| 285 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)
; | 258 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)
; |
| 286 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); | 259 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); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 299 (void)flags; | 272 (void)flags; |
| 300 | 273 |
| 301 } | 274 } |
| 302 #endif | 275 #endif |
| 303 | 276 |
| 304 #ifdef __cplusplus | 277 #ifdef __cplusplus |
| 305 } // extern "C" | 278 } // extern "C" |
| 306 #endif | 279 #endif |
| 307 | 280 |
| 308 #endif | 281 #endif |
| OLD | NEW |