| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 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); | 125 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); |
| 126 int vp8_diamond_search_sadx4(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); | 126 int vp8_diamond_search_sadx4(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); |
| 127 RTCD_EXTERN int (*vp8_diamond_search_sad)(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], u
nion int_mv *center_mv); | 127 RTCD_EXTERN int (*vp8_diamond_search_sad)(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], u
nion int_mv *center_mv); |
| 128 | 128 |
| 129 void vp8_fast_quantize_b_c(struct block *, struct blockd *); | 129 void vp8_fast_quantize_b_c(struct block *, struct blockd *); |
| 130 void vp8_fast_quantize_b_sse2(struct block *, struct blockd *); | 130 void vp8_fast_quantize_b_sse2(struct block *, struct blockd *); |
| 131 void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *); | 131 void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *); |
| 132 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); | 132 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); |
| 133 | 133 |
| 134 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); | |
| 135 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c | |
| 136 | |
| 137 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); | 134 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); |
| 138 void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned
char *dst, int dst_stride, int src_weight); | 135 void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned
char *dst, int dst_stride, int src_weight); |
| 139 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2 | 136 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2 |
| 140 | 137 |
| 141 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 138 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
| 142 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c | 139 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c |
| 143 | 140 |
| 144 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 141 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
| 145 void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned c
har *dst, int dst_stride, int src_weight); | 142 void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned c
har *dst, int dst_stride, int src_weight); |
| 146 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2 | 143 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 225 |
| 229 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); | 226 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); |
| 230 void vp8_plane_add_noise_mmx(unsigned char *s, char *noise, char blackclamp[16],
char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi
tch); | 227 void vp8_plane_add_noise_mmx(unsigned char *s, char *noise, char blackclamp[16],
char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi
tch); |
| 231 void vp8_plane_add_noise_wmt(unsigned char *s, char *noise, char blackclamp[16],
char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi
tch); | 228 void vp8_plane_add_noise_wmt(unsigned char *s, char *noise, char blackclamp[16],
char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi
tch); |
| 232 #define vp8_plane_add_noise vp8_plane_add_noise_wmt | 229 #define vp8_plane_add_noise vp8_plane_add_noise_wmt |
| 233 | 230 |
| 234 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); | 231 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); |
| 235 void vp8_post_proc_down_and_across_mb_row_sse2(unsigned char *src, unsigned char
*dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size)
; | 232 void vp8_post_proc_down_and_across_mb_row_sse2(unsigned char *src, unsigned char
*dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size)
; |
| 236 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_sse2 | 233 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_sse2 |
| 237 | 234 |
| 238 void vp8_quantize_mb_c(struct macroblock *); | |
| 239 #define vp8_quantize_mb vp8_quantize_mb_c | |
| 240 | |
| 241 void vp8_quantize_mbuv_c(struct macroblock *); | |
| 242 #define vp8_quantize_mbuv vp8_quantize_mbuv_c | |
| 243 | |
| 244 void vp8_quantize_mby_c(struct macroblock *); | |
| 245 #define vp8_quantize_mby vp8_quantize_mby_c | |
| 246 | |
| 247 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); | 235 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); |
| 248 int vp8_refining_search_sadx4(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); | 236 int vp8_refining_search_sadx4(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); |
| 249 RTCD_EXTERN int (*vp8_refining_search_sad)(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); | 237 RTCD_EXTERN int (*vp8_refining_search_sad)(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); |
| 250 | 238 |
| 251 void vp8_regular_quantize_b_c(struct block *, struct blockd *); | 239 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
| 252 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *); | 240 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *); |
| 253 void vp8_regular_quantize_b_sse4_1(struct block *, struct blockd *); | 241 void vp8_regular_quantize_b_sse4_1(struct block *, struct blockd *); |
| 254 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *); | 242 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *); |
| 255 | 243 |
| 256 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); | |
| 257 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c | |
| 258 | |
| 259 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); | 244 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); |
| 260 unsigned int vp8_sad16x16_mmx(const unsigned char *src_ptr, int src_stride, cons
t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | 245 unsigned int vp8_sad16x16_mmx(const unsigned char *src_ptr, int src_stride, cons
t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 261 unsigned int vp8_sad16x16_wmt(const unsigned char *src_ptr, int src_stride, cons
t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | 246 unsigned int vp8_sad16x16_wmt(const unsigned char *src_ptr, int src_stride, cons
t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 262 unsigned int vp8_sad16x16_sse3(const unsigned char *src_ptr, int src_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | 247 unsigned int vp8_sad16x16_sse3(const unsigned char *src_ptr, int src_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 263 RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_s
tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | 248 RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_s
tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
| 264 | 249 |
| 265 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); | 250 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); |
| 266 void vp8_sad16x16x3_sse3(const unsigned char *src_ptr, int src_stride, const uns
igned char *ref_ptr, int ref_stride, unsigned int *sad_array); | 251 void vp8_sad16x16x3_sse3(const unsigned char *src_ptr, int src_stride, const uns
igned char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 267 void vp8_sad16x16x3_ssse3(const unsigned char *src_ptr, int src_stride, const un
signed char *ref_ptr, int ref_stride, unsigned int *sad_array); | 252 void vp8_sad16x16x3_ssse3(const unsigned char *src_ptr, int src_stride, const un
signed char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 268 RTCD_EXTERN void (*vp8_sad16x16x3)(const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); | 253 RTCD_EXTERN void (*vp8_sad16x16x3)(const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; | 543 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; |
| 559 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16
x8_ssse3; | 544 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16
x8_ssse3; |
| 560 } | 545 } |
| 561 #endif | 546 #endif |
| 562 | 547 |
| 563 #ifdef __cplusplus | 548 #ifdef __cplusplus |
| 564 } // extern "C" | 549 } // extern "C" |
| 565 #endif | 550 #endif |
| 566 | 551 |
| 567 #endif | 552 #endif |
| OLD | NEW |