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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c | 212 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c |
213 | 213 |
214 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | 214 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
215 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); | 215 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); |
216 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); | 216 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); |
217 | 217 |
218 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | 218 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
219 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); | 219 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); |
220 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); | 220 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); |
221 | 221 |
| 222 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value
, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
| 223 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_c |
| 224 |
222 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); | 225 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
223 #define vp9_fht16x16 vp9_fht16x16_c | 226 #define vp9_fht16x16 vp9_fht16x16_c |
224 | 227 |
225 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 228 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
226 #define vp9_fht4x4 vp9_fht4x4_c | 229 #define vp9_fht4x4 vp9_fht4x4_c |
227 | 230 |
228 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 231 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
229 #define vp9_fht8x8 vp9_fht8x8_c | 232 #define vp9_fht8x8 vp9_fht8x8_c |
230 | 233 |
231 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); | 234 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); |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 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, int zbin_oq_value, uint16_t *eob_ptr, cons
t int16_t *scan, const int16_t *iscan); | 390 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, int zbin_oq_value, uint16_t *eob_ptr, cons
t int16_t *scan, const int16_t *iscan); |
388 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 391 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
389 | 392 |
390 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, int zbin_oq_value, uint16_t *eob_ptr, const int
16_t *scan, const int16_t *iscan); | 393 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, int zbin_oq_value, uint16_t *eob_ptr, const int
16_t *scan, const int16_t *iscan); |
391 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 394 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
392 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int
16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo
w_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_p
tr, const int16_t *scan, const int16_t *iscan); | 395 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int
16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo
w_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_p
tr, const int16_t *scan, const int16_t *iscan); |
393 | 396 |
394 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, int zbin_oq_value, uint16_t *eob_ptr, con
st int16_t *scan, const int16_t *iscan); | 397 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, int zbin_oq_value, uint16_t *eob_ptr, con
st int16_t *scan, const int16_t *iscan); |
395 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 398 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
396 | 399 |
397 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); | |
398 #define vp9_refining_search_sad vp9_refining_search_sad_c | |
399 | |
400 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 400 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
401 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 401 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
402 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); | 402 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
403 | 403 |
404 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); | 404 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); |
405 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 405 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
406 | 406 |
407 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 407 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
408 #define vp9_sad16x16x3 vp9_sad16x16x3_c | 408 #define vp9_sad16x16x3 vp9_sad16x16x3_c |
409 | 409 |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 vp9_variance8x8 = vp9_variance8x8_c; | 861 vp9_variance8x8 = vp9_variance8x8_c; |
862 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; | 862 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; |
863 } | 863 } |
864 #endif | 864 #endif |
865 | 865 |
866 #ifdef __cplusplus | 866 #ifdef __cplusplus |
867 } // extern "C" | 867 } // extern "C" |
868 #endif | 868 #endif |
869 | 869 |
870 #endif | 870 #endif |
OLD | NEW |