Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: third_party/libvpx/source/config/linux/arm64-no-vp9/vpx_dsp_rtcd.h

Issue 1997603002: libvpx: add configurations excluding VP9 for ARM Neon and ARM64. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef VPX_DSP_RTCD_H_ 1 #ifndef VPX_DSP_RTCD_H_
2 #define VPX_DSP_RTCD_H_ 2 #define VPX_DSP_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 /*
11 * DSP 11 * DSP
12 */ 12 */
13 13
14 #include "vpx/vpx_integer.h" 14 #include "vpx/vpx_integer.h"
15 #include "vpx_dsp/vpx_dsp_common.h" 15 #include "vpx_dsp/vpx_dsp_common.h"
16 16
17 17
18 #ifdef __cplusplus 18 #ifdef __cplusplus
19 extern "C" { 19 extern "C" {
20 #endif 20 #endif
21 21
22 unsigned int vpx_avg_4x4_c(const uint8_t *, int p);
23 unsigned int vpx_avg_4x4_neon(const uint8_t *, int p);
24 #define vpx_avg_4x4 vpx_avg_4x4_neon
25
26 unsigned int vpx_avg_8x8_c(const uint8_t *, int p);
27 unsigned int vpx_avg_8x8_neon(const uint8_t *, int p);
28 #define vpx_avg_8x8 vpx_avg_8x8_neon
29
30 void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride); 22 void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride);
31 #define vpx_comp_avg_pred vpx_comp_avg_pred_c 23 #define vpx_comp_avg_pred vpx_comp_avg_pred_c
32 24
33 void vpx_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); 25 void vpx_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);
34 void vpx_convolve8_neon(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 *fil ter_y, int y_step_q4, int w, int h); 26 void vpx_convolve8_neon(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 *fil ter_y, int y_step_q4, int w, int h);
35 #define vpx_convolve8 vpx_convolve8_neon 27 #define vpx_convolve8 vpx_convolve8_neon
36 28
37 void vpx_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); 29 void vpx_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 vpx_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, 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); 30 void vpx_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, 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);
39 #define vpx_convolve8_avg vpx_convolve8_avg_neon 31 #define vpx_convolve8_avg vpx_convolve8_avg_neon
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_neon 226 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_neon
235 227
236 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 228 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
237 void vpx_dc_top_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 229 void vpx_dc_top_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
238 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_neon 230 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_neon
239 231
240 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 232 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
241 void vpx_dc_top_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 233 void vpx_dc_top_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
242 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_neon 234 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_neon
243 235
244 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
245 #define vpx_fdct16x16 vpx_fdct16x16_c
246
247 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
248 #define vpx_fdct16x16_1 vpx_fdct16x16_1_c
249
250 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
251 #define vpx_fdct32x32 vpx_fdct32x32_c
252
253 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
254 #define vpx_fdct32x32_1 vpx_fdct32x32_1_c
255
256 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
257 #define vpx_fdct32x32_rd vpx_fdct32x32_rd_c
258
259 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
260 #define vpx_fdct4x4 vpx_fdct4x4_c
261
262 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
263 #define vpx_fdct4x4_1 vpx_fdct4x4_1_c
264
265 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
266 void vpx_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride);
267 #define vpx_fdct8x8 vpx_fdct8x8_neon
268
269 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
270 void vpx_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride);
271 #define vpx_fdct8x8_1 vpx_fdct8x8_1_neon
272
273 void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 236 void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
274 void vpx_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 237 void vpx_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
275 #define vpx_get16x16var vpx_get16x16var_neon 238 #define vpx_get16x16var vpx_get16x16var_neon
276 239
277 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 240 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
278 unsigned int vpx_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride); 241 unsigned int vpx_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride);
279 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_neon 242 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_neon
280 243
281 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum); 244 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum);
282 void vpx_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 245 void vpx_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
(...skipping 11 matching lines...) Expand all
294 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon 257 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon
295 258
296 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 259 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
297 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 260 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
298 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon 261 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon
299 262
300 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 263 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
301 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 264 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
302 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon 265 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon
303 266
304 void vpx_hadamard_16x16_c(const int16_t *src_diff, int src_stride, int16_t *coef f);
305 #define vpx_hadamard_16x16 vpx_hadamard_16x16_c
306
307 void vpx_hadamard_8x8_c(const int16_t *src_diff, int src_stride, int16_t *coeff) ;
308 #define vpx_hadamard_8x8 vpx_hadamard_8x8_c
309
310 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 267 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
311 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c 268 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
312 269
313 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
314 void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_ stride);
315 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_neon
316
317 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
318 void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s tride);
319 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_neon
320
321 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride);
322 void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest _stride);
323 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_neon
324
325 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s tride);
326 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des t_stride);
327 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_neon
328
329 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride);
330 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des t_stride);
331 #define vpx_idct32x32_135_add vpx_idct32x32_1024_add_neon
332
333 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
334 void vpx_idct32x32_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s tride);
335 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_neon
336
337 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
338 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des t_stride);
339 #define vpx_idct32x32_34_add vpx_idct32x32_1024_add_neon
340
341 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
342 void vpx_idct4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st ride);
343 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_neon
344
345 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
346 void vpx_idct4x4_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str ide);
347 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_neon
348
349 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
350 void vpx_idct8x8_12_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st ride);
351 #define vpx_idct8x8_12_add vpx_idct8x8_12_add_neon
352
353 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
354 void vpx_idct8x8_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str ide);
355 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_neon
356
357 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
358 void vpx_idct8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st ride);
359 #define vpx_idct8x8_64_add vpx_idct8x8_64_add_neon
360
361 int16_t vpx_int_pro_col_c(const uint8_t *ref, const int width);
362 int16_t vpx_int_pro_col_neon(const uint8_t *ref, const int width);
363 #define vpx_int_pro_col vpx_int_pro_col_neon
364
365 void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
366 void vpx_int_pro_row_neon(int16_t *hbuf, const uint8_t *ref, const int ref_strid e, const int height);
367 #define vpx_int_pro_row vpx_int_pro_row_neon
368
369 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
370 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c
371
372 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
373 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
374
375 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); 270 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
376 void vpx_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, con st uint8_t *limit, const uint8_t *thresh); 271 void vpx_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, con st uint8_t *limit, const uint8_t *thresh);
377 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_neon 272 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_neon
378 273
379 void vpx_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); 274 void vpx_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);
380 void vpx_lpf_horizontal_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit 0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); 275 void vpx_lpf_horizontal_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit 0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
381 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_neon 276 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_neon
382 277
383 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); 278 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
384 void vpx_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, con st uint8_t *limit, const uint8_t *thresh); 279 void vpx_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, con st uint8_t *limit, const uint8_t *thresh);
(...skipping 22 matching lines...) Expand all
407 void vpx_lpf_vertical_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1); 302 void vpx_lpf_vertical_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1);
408 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_neon 303 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_neon
409 304
410 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh); 305 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh);
411 void vpx_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); 306 void vpx_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
412 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_neon 307 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_neon
413 308
414 void vpx_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1); 309 void vpx_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1);
415 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c 310 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c
416 311
417 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi n, int *max);
418 void vpx_minmax_8x8_neon(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max);
419 #define vpx_minmax_8x8 vpx_minmax_8x8_neon
420
421 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse); 312 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
422 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 313 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
423 #define vpx_mse16x16 vpx_mse16x16_neon 314 #define vpx_mse16x16 vpx_mse16x16_neon
424 315
425 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 316 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
426 #define vpx_mse16x8 vpx_mse16x8_c 317 #define vpx_mse16x8 vpx_mse16x8_c
427 318
428 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 319 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
429 #define vpx_mse8x16 vpx_mse8x16_c 320 #define vpx_mse8x16 vpx_mse8x16_c
430 321
431 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse); 322 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
432 #define vpx_mse8x8 vpx_mse8x8_c 323 #define vpx_mse8x8 vpx_mse8x8_c
433 324
434 void vpx_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i nt Pitch); 325 void vpx_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i nt Pitch);
435 #define vpx_plane_add_noise vpx_plane_add_noise_c 326 #define vpx_plane_add_noise vpx_plane_add_noise_c
436 327
437 void vpx_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, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan);
438 #define vpx_quantize_b vpx_quantize_b_c
439
440 void vpx_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, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan);
441 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
442
443 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride); 328 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
444 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride); 329 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
445 #define vpx_sad16x16 vpx_sad16x16_neon 330 #define vpx_sad16x16 vpx_sad16x16_neon
446 331
447 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 332 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
448 #define vpx_sad16x16_avg vpx_sad16x16_avg_c 333 #define vpx_sad16x16_avg vpx_sad16x16_avg_c
449 334
450 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 335 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
451 #define vpx_sad16x16x3 vpx_sad16x16x3_c 336 #define vpx_sad16x16x3 vpx_sad16x16x3_c
452 337
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 493
609 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 494 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
610 #define vpx_sad8x8x3 vpx_sad8x8x3_c 495 #define vpx_sad8x8x3 vpx_sad8x8x3_c
611 496
612 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array); 497 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array);
613 #define vpx_sad8x8x4d vpx_sad8x8x4d_c 498 #define vpx_sad8x8x4d vpx_sad8x8x4d_c
614 499
615 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 500 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
616 #define vpx_sad8x8x8 vpx_sad8x8x8_c 501 #define vpx_sad8x8x8 vpx_sad8x8x8_c
617 502
618 int vpx_satd_c(const int16_t *coeff, int length);
619 int vpx_satd_neon(const int16_t *coeff, int length);
620 #define vpx_satd vpx_satd_neon
621
622 void vpx_scaled_2d_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); 503 void vpx_scaled_2d_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);
623 #define vpx_scaled_2d vpx_scaled_2d_c 504 #define vpx_scaled_2d vpx_scaled_2d_c
624 505
625 void vpx_scaled_avg_2d_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); 506 void vpx_scaled_avg_2d_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);
626 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c 507 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
627 508
628 void vpx_scaled_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, 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); 509 void vpx_scaled_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, 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);
629 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c 510 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
630 511
631 void vpx_scaled_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds t, 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); 512 void vpx_scaled_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds t, 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);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 688
808 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 689 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
809 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c 690 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c
810 691
811 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 692 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
812 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c 693 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c
813 694
814 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 695 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
815 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c 696 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
816 697
817 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl);
818 int vpx_vector_var_neon(const int16_t *ref, const int16_t *src, const int bwl);
819 #define vpx_vector_var vpx_vector_var_neon
820
821 void vpx_dsp_rtcd(void); 698 void vpx_dsp_rtcd(void);
822 699
823 #include "vpx_config.h" 700 #include "vpx_config.h"
824 701
825 #ifdef RTCD_C 702 #ifdef RTCD_C
826 #include "vpx_ports/arm.h" 703 #include "vpx_ports/arm.h"
827 static void setup_rtcd_internal(void) 704 static void setup_rtcd_internal(void)
828 { 705 {
829 int flags = arm_cpu_caps(); 706 int flags = arm_cpu_caps();
830 707
831 (void)flags; 708 (void)flags;
832 709
833 } 710 }
834 #endif 711 #endif
835 712
836 #ifdef __cplusplus 713 #ifdef __cplusplus
837 } // extern "C" 714 } // extern "C"
838 #endif 715 #endif
839 716
840 #endif 717 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698