1 // This file is generated. Do not edit.
2 #ifndef VP9_RTCD_H_
3 #define VP9_RTCD_H_
4
5 #ifdef RTCD_C
6 #define RTCD_EXTERN
7 #else
8 #define RTCD_EXTERN extern
9 #endif
10
11 /*
12 * VP9
13 */
14
15 #include "vp9/common/vp9_common.h"
16 #include "vp9/common/vp9_enums.h"
17 #include "vp9/common/vp9_filter.h"
18 #include "vpx/vpx_integer.h"
19
20 struct macroblockd;
21
22 /* Encoder forward decls */
23 struct macroblock;
24 struct vp9_variance_vtable;
25 struct search_site_config;
26 struct mv;
27 union int_mv;
28 struct yv12_buffer_config;
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 int64_t vp9_block_error_c(const tran_low_t* coeff,
35 const tran_low_t* dqcoeff,
36 intptr_t block_size,
37 int64_t* ssz);
38 #define vp9_block_error vp9_block_error_c
39
40 int64_t vp9_block_error_fp_c(const tran_low_t* coeff,
41 const tran_low_t* dqcoeff,
42 int block_size);
43 #define vp9_block_error_fp vp9_block_error_fp_c
44
45 int vp9_denoiser_filter_c(const uint8_t* sig,
46 int sig_stride,
47 const uint8_t* mc_avg,
48 int mc_avg_stride,
49 uint8_t* avg,
50 int avg_stride,
51 int increase_denoising,
52 BLOCK_SIZE bs,
53 int motion_magnitude);
54 #define vp9_denoiser_filter vp9_denoiser_filter_c
55
56 int vp9_diamond_search_sad_c(const struct macroblock* x,
57 const struct search_site_config* cfg,
58 struct mv* ref_mv,
59 struct mv* best_mv,
60 int search_param,
61 int sad_per_bit,
62 int* num00,
63 const struct vp9_variance_vtable* fn_ptr,
64 const struct mv* center_mv);
65 #define vp9_diamond_search_sad vp9_diamond_search_sad_c
66
67 void vp9_fht16x16_c(const int16_t* input,
68 tran_low_t* output,
69 int stride,
70 int tx_type);
71 #define vp9_fht16x16 vp9_fht16x16_c
72
73 void vp9_fht4x4_c(const int16_t* input,
74 tran_low_t* output,
75 int stride,
76 int tx_type);
77 #define vp9_fht4x4 vp9_fht4x4_c
78
79 void vp9_fht8x8_c(const int16_t* input,
80 tran_low_t* output,
81 int stride,
82 int tx_type);
83 #define vp9_fht8x8 vp9_fht8x8_c
84
85 void vp9_filter_by_weight16x16_c(const uint8_t* src,
86 int src_stride,
87 uint8_t* dst,
88 int dst_stride,
89 int src_weight);
90 #define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
91
92 void vp9_filter_by_weight8x8_c(const uint8_t* src,
93 int src_stride,
94 uint8_t* dst,
95 int dst_stride,
96 int src_weight);
97 #define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
98
99 void vp9_fwht4x4_c(const int16_t* input, tran_low_t* output, int stride);
100 #define vp9_fwht4x4 vp9_fwht4x4_c
101
102 void vp9_iht16x16_256_add_c(const tran_low_t* input,
103 uint8_t* dest,
104 int stride,
105 int tx_type);
106 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c
107
108 void vp9_iht4x4_16_add_c(const tran_low_t* input,
109 uint8_t* dest,
110 int stride,
111 int tx_type);
112 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_c
113
114 void vp9_iht8x8_64_add_c(const tran_low_t* input,
115 uint8_t* dest,
116 int stride,
117 int tx_type);
118 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_c
119
120 void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
121 intptr_t n_coeffs,
122 int skip_block,
123 const int16_t* round_ptr,
124 const int16_t* quant_ptr,
125 tran_low_t* qcoeff_ptr,
126 tran_low_t* dqcoeff_ptr,
127 const int16_t* dequant_ptr,
128 uint16_t* eob_ptr,
129 const int16_t* scan,
130 const int16_t* iscan);
131 #define vp9_quantize_fp vp9_quantize_fp_c
132
133 void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
134 intptr_t n_coeffs,
135 int skip_block,
136 const int16_t* round_ptr,
137 const int16_t* quant_ptr,
138 tran_low_t* qcoeff_ptr,
139 tran_low_t* dqcoeff_ptr,
140 const int16_t* dequant_ptr,
141 uint16_t* eob_ptr,
142 const int16_t* scan,
143 const int16_t* iscan);
144 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
145
146 void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
147 struct yv12_buffer_config* dst,
148 INTERP_FILTER filter_type,
149 int phase_scaler);
150 #define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_c
151
152 void vp9_rtcd(void);
153
154 #include "vpx_config.h"
155
156 #ifdef RTCD_C
157 #include "vpx_ports/arm.h"
setup_rtcd_internal(void)158 static void setup_rtcd_internal(void) {
159 int flags = arm_cpu_caps();
160
161 (void)flags;
162 }
163 #endif
164
165 #ifdef __cplusplus
166 } // extern "C"
167 #endif
168
169 #endif
170