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

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

Issue 812033011: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « libvpx_srcs_x86_64.gypi ('k') | source/config/linux/arm-neon-cpu-detect/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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c 215 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c
216 216
217 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); 217 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
218 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); 218 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride);
219 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st ride); 219 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st ride);
220 220
221 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); 221 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
222 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); 222 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride);
223 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int stride); 223 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int stride);
224 224
225 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr , intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value , uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); 225 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr , intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr , const int16_t *scan, const int16_t *iscan);
226 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_c 226 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_c
227 227
228 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx _type); 228 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx _type);
229 #define vp9_fht16x16 vp9_fht16x16_c 229 #define vp9_fht16x16 vp9_fht16x16_c
230 230
231 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype); 231 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype);
232 #define vp9_fht4x4 vp9_fht4x4_c 232 #define vp9_fht4x4 vp9_fht4x4_c
233 233
234 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype); 234 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype);
235 #define vp9_fht8x8 vp9_fht8x8_c 235 #define vp9_fht8x8 vp9_fht8x8_c
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 380
381 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); 381 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);
382 #define vp9_mse16x8 vp9_mse16x8_c 382 #define vp9_mse16x8 vp9_mse16x8_c
383 383
384 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); 384 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);
385 #define vp9_mse8x16 vp9_mse8x16_c 385 #define vp9_mse8x16 vp9_mse8x16_c
386 386
387 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); 387 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);
388 #define vp9_mse8x8 vp9_mse8x8_c 388 #define vp9_mse8x8 vp9_mse8x8_c
389 389
390 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); 390 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);
391 #define vp9_quantize_b vp9_quantize_b_c 391 #define vp9_quantize_b vp9_quantize_b_c
392 392
393 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); 393 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);
394 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 394 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
395 395
396 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); 396 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);
397 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, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); 397 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);
398 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int 16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo w_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_p tr, const int16_t *scan, const int16_t *iscan); 398 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int 16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo w_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t * scan, const int16_t *iscan);
399 399
400 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); 400 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, uint16_t *eob_ptr, const int16_t *scan, c onst int16_t *iscan);
401 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c 401 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
402 402
403 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 403 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
404 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 404 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
405 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 405 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
406 406
407 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); 407 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);
408 #define vp9_sad16x16_avg vp9_sad16x16_avg_c 408 #define vp9_sad16x16_avg vp9_sad16x16_avg_c
409 409
410 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 410 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 vp9_variance8x8 = vp9_variance8x8_c; 864 vp9_variance8x8 = vp9_variance8x8_c;
865 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; 865 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon;
866 } 866 }
867 #endif 867 #endif
868 868
869 #ifdef __cplusplus 869 #ifdef __cplusplus
870 } // extern "C" 870 } // extern "C"
871 #endif 871 #endif
872 872
873 #endif 873 #endif
OLDNEW
« no previous file with comments | « libvpx_srcs_x86_64.gypi ('k') | source/config/linux/arm-neon-cpu-detect/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698