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 #ifdef __cplusplus | 10 #ifdef __cplusplus |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 | 403 |
404 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); | 404 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); |
405 #define vp9_mse8x8 vp9_mse8x8_c | 405 #define vp9_mse8x8 vp9_mse8x8_c |
406 | 406 |
407 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc
k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); | 407 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc
k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); |
408 #define vp9_quantize_b vp9_quantize_b_c | 408 #define vp9_quantize_b vp9_quantize_b_c |
409 | 409 |
410 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t
*scan, const int16_t *iscan); | 410 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t
*scan, const int16_t *iscan); |
411 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 411 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
412 | 412 |
| 413 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo
ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons
t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca
n, const int16_t *iscan); |
| 414 #define vp9_quantize_fp vp9_quantize_fp_c |
| 415 |
413 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); | 416 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); |
414 int vp9_refining_search_sadx4(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); | 417 int vp9_refining_search_sadx4(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); |
415 RTCD_EXTERN int (*vp9_refining_search_sad)(const struct macroblock *x, struct mv
*ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_pt
r, const struct mv *center_mv); | 418 RTCD_EXTERN int (*vp9_refining_search_sad)(const struct macroblock *x, struct mv
*ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_pt
r, const struct mv *center_mv); |
416 | 419 |
417 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 420 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
418 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); | 421 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); |
419 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); | 422 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
420 | 423 |
421 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 424 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
422 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 425 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 vp9_variance8x8 = vp9_variance8x8_c; | 939 vp9_variance8x8 = vp9_variance8x8_c; |
937 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; | 940 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; |
938 } | 941 } |
939 #endif | 942 #endif |
940 | 943 |
941 #ifdef __cplusplus | 944 #ifdef __cplusplus |
942 } // extern "C" | 945 } // extern "C" |
943 #endif | 946 #endif |
944 | 947 |
945 #endif | 948 #endif |
OLD | NEW |