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

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

Issue 1033873004: Enable vp9 postproc (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: rebase on current master Created 5 years, 8 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 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx _type); 233 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx _type);
234 #define vp9_fht16x16 vp9_fht16x16_c 234 #define vp9_fht16x16 vp9_fht16x16_c
235 235
236 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype); 236 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype);
237 #define vp9_fht4x4 vp9_fht4x4_c 237 #define vp9_fht4x4 vp9_fht4x4_c
238 238
239 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype); 239 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype);
240 #define vp9_fht8x8 vp9_fht8x8_c 240 #define vp9_fht8x8 vp9_fht8x8_c
241 241
242 void vp9_filter_by_weight16x16_c(const uint8_t *src, int src_stride, uint8_t *ds t, int dst_stride, int src_weight);
243 #define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
244
245 void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
246 #define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_c
247
242 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); 248 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);
243 #define vp9_full_range_search vp9_full_range_search_c 249 #define vp9_full_range_search vp9_full_range_search_c
244 250
245 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); 251 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);
246 #define vp9_full_search_sad vp9_full_search_sad_c 252 #define vp9_full_search_sad vp9_full_search_sad_c
247 253
248 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 254 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
249 #define vp9_fwht4x4 vp9_fwht4x4_c 255 #define vp9_fwht4x4 vp9_fwht4x4_c
250 256
251 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); 257 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);
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 #define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_neon 385 #define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_neon
380 386
381 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count); 387 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count);
382 void vp9_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 388 void vp9_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
383 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_neon 389 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_neon
384 390
385 void vp9_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); 391 void vp9_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);
386 void vp9_lpf_vertical_8_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); 392 void vp9_lpf_vertical_8_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);
387 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_neon 393 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_neon
388 394
395 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in t flimit);
396 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c
397
398 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli mit);
399 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c
400
389 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); 401 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);
390 #define vp9_mse16x16 vp9_mse16x16_c 402 #define vp9_mse16x16 vp9_mse16x16_c
391 403
392 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); 404 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);
393 #define vp9_mse16x8 vp9_mse16x8_c 405 #define vp9_mse16x8 vp9_mse16x8_c
394 406
395 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); 407 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);
396 #define vp9_mse8x16 vp9_mse8x16_c 408 #define vp9_mse8x16 vp9_mse8x16_c
397 409
398 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); 410 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);
399 #define vp9_mse8x8 vp9_mse8x8_c 411 #define vp9_mse8x8 vp9_mse8x8_c
400 412
413 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);
414 #define vp9_plane_add_noise vp9_plane_add_noise_c
415
416 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) ;
417 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c
418
401 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); 419 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);
402 #define vp9_quantize_b vp9_quantize_b_c 420 #define vp9_quantize_b vp9_quantize_b_c
403 421
404 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); 422 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);
405 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 423 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
406 424
407 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, uint16_t *eob_ptr, const int16_t *scan, const i nt16_t *iscan); 425 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, uint16_t *eob_ptr, const int16_t *scan, const i nt16_t *iscan);
408 void vp9_quantize_fp_neon(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons t int16_t *iscan); 426 void vp9_quantize_fp_neon(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons t int16_t *iscan);
409 #define vp9_quantize_fp vp9_quantize_fp_neon 427 #define vp9_quantize_fp vp9_quantize_fp_neon
410 428
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 (void)flags; 783 (void)flags;
766 784
767 } 785 }
768 #endif 786 #endif
769 787
770 #ifdef __cplusplus 788 #ifdef __cplusplus
771 } // extern "C" 789 } // extern "C"
772 #endif 790 #endif
773 791
774 #endif 792 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm-neon-cpu-detect/vpx_config.c ('k') | source/config/linux/arm-neon/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698