| OLD | NEW |
| 1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
| 2 #define VP9_RTCD_H_ | 2 #define VP9_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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 | 220 |
| 221 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); | 221 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
| 222 #define vp9_fht16x16 vp9_fht16x16_c | 222 #define vp9_fht16x16 vp9_fht16x16_c |
| 223 | 223 |
| 224 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 224 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 225 #define vp9_fht4x4 vp9_fht4x4_c | 225 #define vp9_fht4x4 vp9_fht4x4_c |
| 226 | 226 |
| 227 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 227 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 228 #define vp9_fht8x8 vp9_fht8x8_c | 228 #define vp9_fht8x8 vp9_fht8x8_c |
| 229 | 229 |
| 230 void vp9_filter_by_weight16x16_c(const uint8_t *src, int src_stride, uint8_t *ds
t, int dst_stride, int src_weight); |
| 231 #define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c |
| 232 |
| 233 void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst,
int dst_stride, int src_weight); |
| 234 #define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c |
| 235 |
| 230 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); | 236 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); |
| 231 #define vp9_full_range_search vp9_full_range_search_c | 237 #define vp9_full_range_search vp9_full_range_search_c |
| 232 | 238 |
| 233 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 239 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
| 234 #define vp9_full_search_sad vp9_full_search_sad_c | 240 #define vp9_full_search_sad vp9_full_search_sad_c |
| 235 | 241 |
| 236 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); | 242 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
| 237 #define vp9_fwht4x4 vp9_fwht4x4_c | 243 #define vp9_fwht4x4 vp9_fwht4x4_c |
| 238 | 244 |
| 239 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 245 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 | 343 |
| 338 void vp9_lpf_vertical_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | 344 void vp9_lpf_vertical_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); |
| 339 #define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_c | 345 #define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_c |
| 340 | 346 |
| 341 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); | 347 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); |
| 342 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_c | 348 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_c |
| 343 | 349 |
| 344 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | 350 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); |
| 345 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_c | 351 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_c |
| 346 | 352 |
| 353 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in
t flimit); |
| 354 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c |
| 355 |
| 356 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); |
| 357 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c |
| 358 |
| 347 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); | 359 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 348 #define vp9_mse16x16 vp9_mse16x16_c | 360 #define vp9_mse16x16 vp9_mse16x16_c |
| 349 | 361 |
| 350 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 362 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 351 #define vp9_mse16x8 vp9_mse16x8_c | 363 #define vp9_mse16x8 vp9_mse16x8_c |
| 352 | 364 |
| 353 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 365 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 354 #define vp9_mse8x16 vp9_mse8x16_c | 366 #define vp9_mse8x16 vp9_mse8x16_c |
| 355 | 367 |
| 356 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | 368 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 357 #define vp9_mse8x8 vp9_mse8x8_c | 369 #define vp9_mse8x8 vp9_mse8x8_c |
| 358 | 370 |
| 371 void vp9_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha
r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i
nt Pitch); |
| 372 #define vp9_plane_add_noise vp9_plane_add_noise_c |
| 373 |
| 374 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i
nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit)
; |
| 375 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c |
| 376 |
| 359 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in
t16_t *iscan); | 377 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in
t16_t *iscan); |
| 360 #define vp9_quantize_b vp9_quantize_b_c | 378 #define vp9_quantize_b vp9_quantize_b_c |
| 361 | 379 |
| 362 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co
nst int16_t *iscan); | 380 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co
nst int16_t *iscan); |
| 363 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 381 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
| 364 | 382 |
| 365 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p
tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_
ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const i
nt16_t *iscan); | 383 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p
tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_
ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const i
nt16_t *iscan); |
| 366 #define vp9_quantize_fp vp9_quantize_fp_c | 384 #define vp9_quantize_fp vp9_quantize_fp_c |
| 367 | 385 |
| 368 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c
onst int16_t *iscan); | 386 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c
onst int16_t *iscan); |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 static void setup_rtcd_internal(void) | 709 static void setup_rtcd_internal(void) |
| 692 { | 710 { |
| 693 } | 711 } |
| 694 #endif | 712 #endif |
| 695 | 713 |
| 696 #ifdef __cplusplus | 714 #ifdef __cplusplus |
| 697 } // extern "C" | 715 } // extern "C" |
| 698 #endif | 716 #endif |
| 699 | 717 |
| 700 #endif | 718 #endif |
| OLD | NEW |