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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 | 433 |
434 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); | 434 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); |
435 #define vp9_mse8x8 vp9_mse8x8_c | 435 #define vp9_mse8x8 vp9_mse8x8_c |
436 | 436 |
437 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); | 437 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); |
438 #define vp9_quantize_b vp9_quantize_b_c | 438 #define vp9_quantize_b vp9_quantize_b_c |
439 | 439 |
440 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); | 440 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); |
441 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 441 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
442 | 442 |
| 443 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); |
| 444 #define vp9_quantize_fp vp9_quantize_fp_c |
| 445 |
443 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); | 446 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); |
444 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); | 447 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); |
445 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); | 448 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); |
446 | 449 |
447 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 450 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
448 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); | 451 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); |
449 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 452 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
450 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); | 453 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
451 | 454 |
452 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); | 455 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); |
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1285 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; | 1288 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; |
1286 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2; | 1289 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2; |
1287 } | 1290 } |
1288 #endif | 1291 #endif |
1289 | 1292 |
1290 #ifdef __cplusplus | 1293 #ifdef __cplusplus |
1291 } // extern "C" | 1294 } // extern "C" |
1292 #endif | 1295 #endif |
1293 | 1296 |
1294 #endif | 1297 #endif |
OLD | NEW |