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

Side by Side Diff: source/config/linux/arm/vp9_rtcd.h

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « source/config/linux/arm/vp8_rtcd.h ('k') | source/config/linux/arm/vpx_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 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); 239 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);
240 #define vp9_full_range_search vp9_full_range_search_c 240 #define vp9_full_range_search vp9_full_range_search_c
241 241
242 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); 242 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);
243 #define vp9_full_search_sad vp9_full_search_sad_c 243 #define vp9_full_search_sad vp9_full_search_sad_c
244 244
245 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 245 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
246 #define vp9_fwht4x4 vp9_fwht4x4_c 246 #define vp9_fwht4x4 vp9_fwht4x4_c
247 247
248 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);
249 #define vp9_get16x16var vp9_get16x16var_c
250
251 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);
252 #define vp9_get8x8var vp9_get8x8var_c
253
254 unsigned int vp9_get_mb_ss_c(const int16_t *);
255 #define vp9_get_mb_ss vp9_get_mb_ss_c
256
257 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 248 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
258 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c 249 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
259 250
260 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 251 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
261 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c 252 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
262 253
263 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 254 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
264 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c 255 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c
265 256
266 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 257 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 352
362 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in t flimit); 353 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in t flimit);
363 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c 354 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c
364 355
365 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli mit); 356 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli mit);
366 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c 357 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c
367 358
368 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi n, int *max); 359 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi n, int *max);
369 #define vp9_minmax_8x8 vp9_minmax_8x8_c 360 #define vp9_minmax_8x8 vp9_minmax_8x8_c
370 361
371 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
372 #define vp9_mse16x16 vp9_mse16x16_c
373
374 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);
375 #define vp9_mse16x8 vp9_mse16x8_c
376
377 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);
378 #define vp9_mse8x16 vp9_mse8x16_c
379
380 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);
381 #define vp9_mse8x8 vp9_mse8x8_c
382
383 void vp9_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); 362 void vp9_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);
384 #define vp9_plane_add_noise vp9_plane_add_noise_c 363 #define vp9_plane_add_noise vp9_plane_add_noise_c
385 364
386 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit) ; 365 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit) ;
387 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c 366 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c
388 367
389 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, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan); 368 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, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan);
390 #define vp9_quantize_b vp9_quantize_b_c 369 #define vp9_quantize_b vp9_quantize_b_c
391 370
392 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, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan); 371 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, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan);
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 481
503 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 482 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
504 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c 483 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
505 484
506 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 485 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
507 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c 486 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
508 487
509 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 488 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
510 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c 489 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
511 490
512 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
513 #define vp9_variance16x16 vp9_variance16x16_c
514
515 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
516 #define vp9_variance16x32 vp9_variance16x32_c
517
518 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
519 #define vp9_variance16x8 vp9_variance16x8_c
520
521 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
522 #define vp9_variance32x16 vp9_variance32x16_c
523
524 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
525 #define vp9_variance32x32 vp9_variance32x32_c
526
527 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
528 #define vp9_variance32x64 vp9_variance32x64_c
529
530 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
531 #define vp9_variance4x4 vp9_variance4x4_c
532
533 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
534 #define vp9_variance4x8 vp9_variance4x8_c
535
536 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
537 #define vp9_variance64x32 vp9_variance64x32_c
538
539 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
540 #define vp9_variance64x64 vp9_variance64x64_c
541
542 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
543 #define vp9_variance8x16 vp9_variance8x16_c
544
545 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
546 #define vp9_variance8x4 vp9_variance8x4_c
547
548 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
549 #define vp9_variance8x8 vp9_variance8x8_c
550
551 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); 491 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl);
552 #define vp9_vector_var vp9_vector_var_c 492 #define vp9_vector_var vp9_vector_var_c
553 493
554 void vp9_rtcd(void); 494 void vp9_rtcd(void);
555 495
556 #include "vpx_config.h" 496 #include "vpx_config.h"
557 497
558 #ifdef RTCD_C 498 #ifdef RTCD_C
559 #include "vpx_ports/arm.h" 499 #include "vpx_ports/arm.h"
560 static void setup_rtcd_internal(void) 500 static void setup_rtcd_internal(void)
561 { 501 {
562 int flags = arm_cpu_caps(); 502 int flags = arm_cpu_caps();
563 503
564 (void)flags; 504 (void)flags;
565 505
566 } 506 }
567 #endif 507 #endif
568 508
569 #ifdef __cplusplus 509 #ifdef __cplusplus
570 } // extern "C" 510 } // extern "C"
571 #endif 511 #endif
572 512
573 #endif 513 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm/vp8_rtcd.h ('k') | source/config/linux/arm/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698