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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c | 204 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c |
205 | 205 |
206 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | 206 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
207 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); | 207 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); |
208 #define vp9_fdct8x8 vp9_fdct8x8_neon | 208 #define vp9_fdct8x8 vp9_fdct8x8_neon |
209 | 209 |
210 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | 210 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
211 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); | 211 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); |
212 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon | 212 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon |
213 | 213 |
| 214 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); |
| 215 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_c |
| 216 |
214 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); | 217 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
215 #define vp9_fht16x16 vp9_fht16x16_c | 218 #define vp9_fht16x16 vp9_fht16x16_c |
216 | 219 |
217 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 220 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
218 #define vp9_fht4x4 vp9_fht4x4_c | 221 #define vp9_fht4x4 vp9_fht4x4_c |
219 | 222 |
220 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 223 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
221 #define vp9_fht8x8 vp9_fht8x8_c | 224 #define vp9_fht8x8 vp9_fht8x8_c |
222 | 225 |
223 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); | 226 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 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); | 354 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); |
352 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 355 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
353 | 356 |
354 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); | 357 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); |
355 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); | 358 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); |
356 #define vp9_quantize_fp vp9_quantize_fp_neon | 359 #define vp9_quantize_fp vp9_quantize_fp_neon |
357 | 360 |
358 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); | 361 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); |
359 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 362 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
360 | 363 |
361 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); | |
362 #define vp9_refining_search_sad vp9_refining_search_sad_c | |
363 | |
364 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 364 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
365 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 365 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
366 #define vp9_sad16x16 vp9_sad16x16_neon | 366 #define vp9_sad16x16 vp9_sad16x16_neon |
367 | 367 |
368 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); | 368 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); |
369 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 369 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
370 | 370 |
371 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 371 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
372 #define vp9_sad16x16x3 vp9_sad16x16x3_c | 372 #define vp9_sad16x16x3 vp9_sad16x16x3_c |
373 | 373 |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 (void)flags; | 697 (void)flags; |
698 | 698 |
699 } | 699 } |
700 #endif | 700 #endif |
701 | 701 |
702 #ifdef __cplusplus | 702 #ifdef __cplusplus |
703 } // extern "C" | 703 } // extern "C" |
704 #endif | 704 #endif |
705 | 705 |
706 #endif | 706 #endif |
OLD | NEW |