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 | |
11 extern "C" { | |
12 #endif | |
13 | |
14 /* | 10 /* |
15 * VP9 | 11 * VP9 |
16 */ | 12 */ |
17 | 13 |
18 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
19 #include "vp9/common/vp9_enums.h" | 15 #include "vp9/common/vp9_enums.h" |
| 16 #include "vp9/common/vp9_idct.h" |
20 | 17 |
21 struct macroblockd; | 18 struct macroblockd; |
22 | 19 |
23 /* Encoder forward decls */ | 20 /* Encoder forward decls */ |
24 struct macroblock; | 21 struct macroblock; |
25 struct vp9_variance_vtable; | 22 struct vp9_variance_vtable; |
26 struct search_site_config; | 23 struct search_site_config; |
27 struct mv; | 24 struct mv; |
28 union int_mv; | 25 union int_mv; |
29 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
30 | 27 |
31 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t
block_size, int64_t *ssz); | 28 #ifdef __cplusplus |
| 29 extern "C" { |
| 30 #endif |
| 31 |
| 32 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); |
32 #define vp9_block_error vp9_block_error_c | 33 #define vp9_block_error vp9_block_error_c |
33 | 34 |
34 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | 35 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); |
35 #define vp9_convolve8 vp9_convolve8_c | 36 #define vp9_convolve8 vp9_convolve8_c |
36 | 37 |
37 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 38 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
38 #define vp9_convolve8_avg vp9_convolve8_avg_c | 39 #define vp9_convolve8_avg vp9_convolve8_avg_c |
39 | 40 |
40 void vp9_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t
*dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16
_t *filter_y, int y_step_q4, int w, int h); | 41 void vp9_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t
*dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16
_t *filter_y, int y_step_q4, int w, int h); |
41 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c | 42 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 172 |
172 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 173 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
173 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 174 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
174 | 175 |
175 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 176 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
176 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 177 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
177 | 178 |
178 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); | 179 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); |
179 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 180 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
180 | 181 |
181 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 182 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); |
182 #define vp9_fdct16x16 vp9_fdct16x16_c | 183 #define vp9_fdct16x16 vp9_fdct16x16_c |
183 | 184 |
184 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride); | 185 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); |
185 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c | 186 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c |
186 | 187 |
187 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 188 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); |
188 #define vp9_fdct32x32 vp9_fdct32x32_c | 189 #define vp9_fdct32x32 vp9_fdct32x32_c |
189 | 190 |
190 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride); | 191 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); |
191 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c | 192 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c |
192 | 193 |
193 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 194 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); |
194 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c | 195 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c |
195 | 196 |
196 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 197 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); |
197 #define vp9_fdct4x4 vp9_fdct4x4_c | 198 #define vp9_fdct4x4 vp9_fdct4x4_c |
198 | 199 |
199 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); | 200 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); |
200 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c | 201 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c |
201 | 202 |
202 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 203 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
203 #define vp9_fdct8x8 vp9_fdct8x8_c | 204 #define vp9_fdct8x8 vp9_fdct8x8_c |
204 | 205 |
205 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); | 206 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
206 #define vp9_fdct8x8_1 vp9_fdct8x8_1_c | 207 #define vp9_fdct8x8_1 vp9_fdct8x8_1_c |
207 | 208 |
208 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 209 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
209 #define vp9_fht16x16 vp9_fht16x16_c | 210 #define vp9_fht16x16 vp9_fht16x16_c |
210 | 211 |
211 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 212 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
212 #define vp9_fht4x4 vp9_fht4x4_c | 213 #define vp9_fht4x4 vp9_fht4x4_c |
213 | 214 |
214 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 215 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
215 #define vp9_fht8x8 vp9_fht8x8_c | 216 #define vp9_fht8x8 vp9_fht8x8_c |
216 | 217 |
217 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); | 218 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); |
218 #define vp9_full_range_search vp9_full_range_search_c | 219 #define vp9_full_range_search vp9_full_range_search_c |
219 | 220 |
220 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 221 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
221 #define vp9_full_search_sad vp9_full_search_sad_c | 222 #define vp9_full_search_sad vp9_full_search_sad_c |
222 | 223 |
223 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 224 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
224 #define vp9_fwht4x4 vp9_fwht4x4_c | 225 #define vp9_fwht4x4 vp9_fwht4x4_c |
225 | 226 |
226 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 227 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
227 #define vp9_get16x16var vp9_get16x16var_c | 228 #define vp9_get16x16var vp9_get16x16var_c |
228 | 229 |
229 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); | 230 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); |
230 #define vp9_get8x8var vp9_get8x8var_c | 231 #define vp9_get8x8var vp9_get8x8var_c |
231 | 232 |
232 unsigned int vp9_get_mb_ss_c(const int16_t *); | 233 unsigned int vp9_get_mb_ss_c(const int16_t *); |
233 #define vp9_get_mb_ss vp9_get_mb_ss_c | 234 #define vp9_get_mb_ss vp9_get_mb_ss_c |
234 | 235 |
235 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 236 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
236 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c | 237 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c |
237 | 238 |
238 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 239 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
239 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c | 240 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
240 | 241 |
241 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 242 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
242 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c | 243 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c |
243 | 244 |
244 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 245 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
245 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c | 246 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c |
246 | 247 |
247 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 248 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
248 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_c | 249 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_c |
249 | 250 |
250 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 251 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
251 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_c | 252 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_c |
252 | 253 |
253 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_strid
e); | 254 void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
254 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_c | 255 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_c |
255 | 256 |
256 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stri
de); | 257 void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
257 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c | 258 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c |
258 | 259 |
259 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 260 void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
260 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_c | 261 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_c |
261 | 262 |
262 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 263 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
263 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_c | 264 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_c |
264 | 265 |
265 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 266 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
266 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_c | 267 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_c |
267 | 268 |
268 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 269 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
269 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_c | 270 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_c |
270 | 271 |
271 void vp9_idct8x8_12_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 272 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
272 #define vp9_idct8x8_12_add vp9_idct8x8_12_add_c | 273 #define vp9_idct8x8_12_add vp9_idct8x8_12_add_c |
273 | 274 |
274 void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 275 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
275 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_c | 276 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_c |
276 | 277 |
277 void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 278 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
278 #define vp9_idct8x8_64_add vp9_idct8x8_64_add_c | 279 #define vp9_idct8x8_64_add vp9_idct8x8_64_add_c |
279 | 280 |
280 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); | 281 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch,
int tx_type); |
281 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c | 282 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
282 | 283 |
283 void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 284 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
284 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_c | 285 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_c |
285 | 286 |
286 void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 287 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
287 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_c | 288 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_c |
288 | 289 |
289 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 290 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
290 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 291 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
291 | 292 |
292 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 293 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
293 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 294 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
294 | 295 |
295 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | 296 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
296 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c | 297 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c |
297 | 298 |
298 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | 299 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
299 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_c | 300 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_c |
300 | 301 |
301 void vp9_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); | 302 void vp9_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); |
302 #define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_c | 303 #define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_c |
(...skipping 27 matching lines...) Expand all Loading... |
330 | 331 |
331 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 332 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
332 #define vp9_mse16x8 vp9_mse16x8_c | 333 #define vp9_mse16x8 vp9_mse16x8_c |
333 | 334 |
334 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 335 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
335 #define vp9_mse8x16 vp9_mse8x16_c | 336 #define vp9_mse8x16 vp9_mse8x16_c |
336 | 337 |
337 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); | 338 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); |
338 #define vp9_mse8x8 vp9_mse8x8_c | 339 #define vp9_mse8x8 vp9_mse8x8_c |
339 | 340 |
340 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); | 341 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); |
341 #define vp9_quantize_b vp9_quantize_b_c | 342 #define vp9_quantize_b vp9_quantize_b_c |
342 | 343 |
343 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); | 344 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); |
344 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 345 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
345 | 346 |
346 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); | 347 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); |
347 #define vp9_quantize_fp vp9_quantize_fp_c | 348 #define vp9_quantize_fp vp9_quantize_fp_c |
348 | 349 |
349 void vp9_quantize_fp_32x32_c(const int16_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, 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); | 350 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); |
350 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 351 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
351 | 352 |
352 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); | 353 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); |
353 #define vp9_refining_search_sad vp9_refining_search_sad_c | 354 #define vp9_refining_search_sad vp9_refining_search_sad_c |
354 | 355 |
355 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 356 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
356 #define vp9_sad16x16 vp9_sad16x16_c | 357 #define vp9_sad16x16 vp9_sad16x16_c |
357 | 358 |
358 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); | 359 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); |
359 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 360 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 static void setup_rtcd_internal(void) | 673 static void setup_rtcd_internal(void) |
673 { | 674 { |
674 } | 675 } |
675 #endif | 676 #endif |
676 | 677 |
677 #ifdef __cplusplus | 678 #ifdef __cplusplus |
678 } // extern "C" | 679 } // extern "C" |
679 #endif | 680 #endif |
680 | 681 |
681 #endif | 682 #endif |
OLD | NEW |