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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qcoeff_pt
r, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 81 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qcoeff_pt
r, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
82 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qcoeff
_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, co
nst int16_t *scan, const int16_t *iscan); | 82 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qcoeff
_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, co
nst int16_t *scan, const int16_t *iscan); |
83 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low
_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *e
ob_ptr, const int16_t *scan, const int16_t *iscan); | 83 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low
_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *e
ob_ptr, const int16_t *scan, const int16_t *iscan); |
84 | 84 |
85 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco
eff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); | 85 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco
eff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); |
86 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 86 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
87 | 87 |
88 void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config *src, struct y
v12_buffer_config *dst); | 88 void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config *src, struct y
v12_buffer_config *dst); |
89 #define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_c | 89 #define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_c |
90 | 90 |
91 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *
frame2, unsigned int block_width, unsigned int block_height, int strength, int f
ilter_weight, unsigned int *accumulator, uint16_t *count); | 91 void vp9_temporal_filter_apply_c(const uint8_t *frame1, unsigned int stride, con
st uint8_t *frame2, unsigned int block_width, unsigned int block_height, int str
ength, int filter_weight, unsigned int *accumulator, uint16_t *count); |
92 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c | 92 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c |
93 | 93 |
94 void vp9_rtcd(void); | 94 void vp9_rtcd(void); |
95 | 95 |
96 #include "vpx_config.h" | 96 #include "vpx_config.h" |
97 | 97 |
98 #ifdef RTCD_C | 98 #ifdef RTCD_C |
99 #include "vpx_ports/arm.h" | 99 #include "vpx_ports/arm.h" |
100 static void setup_rtcd_internal(void) | 100 static void setup_rtcd_internal(void) |
101 { | 101 { |
(...skipping 12 matching lines...) Expand all Loading... |
114 vp9_quantize_fp = vp9_quantize_fp_c; | 114 vp9_quantize_fp = vp9_quantize_fp_c; |
115 if (flags & HAS_NEON) vp9_quantize_fp = vp9_quantize_fp_neon; | 115 if (flags & HAS_NEON) vp9_quantize_fp = vp9_quantize_fp_neon; |
116 } | 116 } |
117 #endif | 117 #endif |
118 | 118 |
119 #ifdef __cplusplus | 119 #ifdef __cplusplus |
120 } // extern "C" | 120 } // extern "C" |
121 #endif | 121 #endif |
122 | 122 |
123 #endif | 123 #endif |
OLD | NEW |