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

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

Issue 478033002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 4 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 | « source/config/linux/arm/vpx_config.asm ('k') | source/config/linux/arm64/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 #ifdef __cplusplus 10 #ifdef __cplusplus
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); 202 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
203 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c 203 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c
204 204
205 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); 205 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
206 #define vp9_fdct4x4 vp9_fdct4x4_c 206 #define vp9_fdct4x4 vp9_fdct4x4_c
207 207
208 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); 208 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride);
209 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c 209 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c
210 210
211 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); 211 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
212 #define vp9_fdct8x8 vp9_fdct8x8_c 212 void vp9_fdct8x8_neon(const int16_t *input, int16_t *output, int stride);
213 #define vp9_fdct8x8 vp9_fdct8x8_neon
213 214
214 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); 215 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride);
215 #define vp9_fdct8x8_1 vp9_fdct8x8_1_c 216 void vp9_fdct8x8_1_neon(const int16_t *input, int16_t *output, int stride);
217 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon
216 218
217 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty pe); 219 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty pe);
218 #define vp9_fht16x16 vp9_fht16x16_c 220 #define vp9_fht16x16 vp9_fht16x16_c
219 221
220 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type ); 222 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type );
221 #define vp9_fht4x4 vp9_fht4x4_c 223 #define vp9_fht4x4 vp9_fht4x4_c
222 224
223 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type ); 225 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type );
224 #define vp9_fht8x8 vp9_fht8x8_c 226 #define vp9_fht8x8 vp9_fht8x8_c
225 227
226 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); 228 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);
227 #define vp9_full_range_search vp9_full_range_search_c 229 #define vp9_full_range_search vp9_full_range_search_c
228 230
229 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); 231 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);
230 #define vp9_full_search_sad vp9_full_search_sad_c 232 #define vp9_full_search_sad vp9_full_search_sad_c
231 233
232 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); 234 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
233 #define vp9_fwht4x4 vp9_fwht4x4_c 235 #define vp9_fwht4x4 vp9_fwht4x4_c
234 236
235 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); 237 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);
236 #define vp9_get16x16var vp9_get16x16var_c 238 void vp9_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
239 #define vp9_get16x16var vp9_get16x16var_neon
237 240
238 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); 241 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);
239 #define vp9_get8x8var vp9_get8x8var_c 242 void vp9_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
243 #define vp9_get8x8var vp9_get8x8var_neon
240 244
241 unsigned int vp9_get_mb_ss_c(const int16_t *); 245 unsigned int vp9_get_mb_ss_c(const int16_t *);
242 #define vp9_get_mb_ss vp9_get_mb_ss_c 246 #define vp9_get_mb_ss vp9_get_mb_ss_c
243 247
244 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);
245 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c 249 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
246 250
247 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);
248 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c 252 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
249 253
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 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); 350 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);
347 #define vp9_mse8x8 vp9_mse8x8_c 351 #define vp9_mse8x8 vp9_mse8x8_c
348 352
349 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); 353 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);
350 #define vp9_quantize_b vp9_quantize_b_c 354 #define vp9_quantize_b vp9_quantize_b_c
351 355
352 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); 356 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);
353 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 357 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
354 358
355 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); 359 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);
356 #define vp9_quantize_fp vp9_quantize_fp_c 360 void vp9_quantize_fp_neon(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, c onst int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t * scan, const int16_t *iscan);
361 #define vp9_quantize_fp vp9_quantize_fp_neon
357 362
358 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); 363 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);
359 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c 364 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
360 365
361 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); 366 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);
362 #define vp9_refining_search_sad vp9_refining_search_sad_c 367 #define vp9_refining_search_sad vp9_refining_search_sad_c
363 368
364 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 369 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
365 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 370 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
366 #define vp9_sad16x16 vp9_sad16x16_neon 371 #define vp9_sad16x16 vp9_sad16x16_neon
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 513 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
509 #define vp9_sad8x4_avg vp9_sad8x4_avg_c 514 #define vp9_sad8x4_avg vp9_sad8x4_avg_c
510 515
511 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 516 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
512 #define vp9_sad8x4x4d vp9_sad8x4x4d_c 517 #define vp9_sad8x4x4d vp9_sad8x4x4d_c
513 518
514 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 519 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
515 #define vp9_sad8x4x8 vp9_sad8x4x8_c 520 #define vp9_sad8x4x8 vp9_sad8x4x8_c
516 521
517 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 522 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
518 #define vp9_sad8x8 vp9_sad8x8_c 523 unsigned int vp9_sad8x8_neon(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
524 #define vp9_sad8x8 vp9_sad8x8_neon
519 525
520 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 526 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
521 #define vp9_sad8x8_avg vp9_sad8x8_avg_c 527 #define vp9_sad8x8_avg vp9_sad8x8_avg_c
522 528
523 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 529 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
524 #define vp9_sad8x8x3 vp9_sad8x8x3_c 530 #define vp9_sad8x8x3 vp9_sad8x8x3_c
525 531
526 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 532 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
527 #define vp9_sad8x8x4d vp9_sad8x8x4d_c 533 #define vp9_sad8x8x4d vp9_sad8x8x4d_c
528 534
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred); 568 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred);
563 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c 569 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
564 570
565 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred); 571 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred);
566 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c 572 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
567 573
568 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred); 574 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred);
569 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c 575 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
570 576
571 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 577 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
572 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c 578 unsigned int vp9_sub_pixel_variance16x16_neon(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
579 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_neon
573 580
574 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 581 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
575 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c 582 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
576 583
577 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 584 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
578 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c 585 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
579 586
580 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 587 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
581 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c 588 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
582 589
583 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 590 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
584 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c 591 unsigned int vp9_sub_pixel_variance32x32_neon(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
592 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_neon
585 593
586 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 594 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
587 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c 595 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
588 596
589 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 597 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
590 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c 598 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
591 599
592 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse); 600 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse);
593 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c 601 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
594 602
595 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 603 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
596 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c 604 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
597 605
598 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 606 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
599 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c 607 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
600 608
601 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 609 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
602 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c 610 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
603 611
604 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse); 612 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse);
605 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c 613 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
606 614
607 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 615 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
608 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c 616 unsigned int vp9_sub_pixel_variance8x8_neon(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
617 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_neon
609 618
610 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride); 619 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride);
611 #define vp9_subtract_block vp9_subtract_block_c 620 void vp9_subtract_block_neon(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr , ptrdiff_t pred_stride);
621 #define vp9_subtract_block vp9_subtract_block_neon
612 622
613 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * frame2, unsigned int block_width, unsigned int block_height, int strength, int f ilter_weight, unsigned int *accumulator, uint16_t *count); 623 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * frame2, unsigned int block_width, unsigned int block_height, int strength, int f ilter_weight, unsigned int *accumulator, uint16_t *count);
614 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c 624 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c
615 625
616 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 626 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
617 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c 627 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c
618 628
619 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 629 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
620 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c 630 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
621 631
622 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 632 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
623 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c 633 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c
624 634
625 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 635 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
626 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c 636 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c
627 637
628 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 638 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
629 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c 639 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c
630 640
631 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 641 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
632 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c 642 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
633 643
634 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 644 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
635 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c 645 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
636 646
637 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 647 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
638 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c 648 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
639 649
640 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); 650 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);
641 #define vp9_variance16x16 vp9_variance16x16_c 651 unsigned int vp9_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
652 #define vp9_variance16x16 vp9_variance16x16_neon
642 653
643 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); 654 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);
644 #define vp9_variance16x32 vp9_variance16x32_c 655 #define vp9_variance16x32 vp9_variance16x32_c
645 656
646 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 657 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
647 #define vp9_variance16x8 vp9_variance16x8_c 658 #define vp9_variance16x8 vp9_variance16x8_c
648 659
649 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); 660 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);
650 #define vp9_variance32x16 vp9_variance32x16_c 661 #define vp9_variance32x16 vp9_variance32x16_c
651 662
652 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); 663 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);
653 #define vp9_variance32x32 vp9_variance32x32_c 664 unsigned int vp9_variance32x32_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
665 #define vp9_variance32x32 vp9_variance32x32_neon
654 666
655 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); 667 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);
656 #define vp9_variance32x64 vp9_variance32x64_c 668 #define vp9_variance32x64 vp9_variance32x64_c
657 669
658 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 670 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
659 #define vp9_variance4x4 vp9_variance4x4_c 671 #define vp9_variance4x4 vp9_variance4x4_c
660 672
661 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 673 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
662 #define vp9_variance4x8 vp9_variance4x8_c 674 #define vp9_variance4x8 vp9_variance4x8_c
663 675
664 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); 676 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);
665 #define vp9_variance64x32 vp9_variance64x32_c 677 #define vp9_variance64x32 vp9_variance64x32_c
666 678
667 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); 679 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);
668 #define vp9_variance64x64 vp9_variance64x64_c 680 #define vp9_variance64x64 vp9_variance64x64_c
669 681
670 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 682 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
671 #define vp9_variance8x16 vp9_variance8x16_c 683 #define vp9_variance8x16 vp9_variance8x16_c
672 684
673 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 685 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
674 #define vp9_variance8x4 vp9_variance8x4_c 686 #define vp9_variance8x4 vp9_variance8x4_c
675 687
676 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 688 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
677 #define vp9_variance8x8 vp9_variance8x8_c 689 unsigned int vp9_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
690 #define vp9_variance8x8 vp9_variance8x8_neon
678 691
679 void vp9_rtcd(void); 692 void vp9_rtcd(void);
680 693
681 #include "vpx_config.h" 694 #include "vpx_config.h"
682 695
683 #ifdef RTCD_C 696 #ifdef RTCD_C
684 #include "vpx_ports/arm.h" 697 #include "vpx_ports/arm.h"
685 static void setup_rtcd_internal(void) 698 static void setup_rtcd_internal(void)
686 { 699 {
687 int flags = arm_cpu_caps(); 700 int flags = arm_cpu_caps();
688 701
689 (void)flags; 702 (void)flags;
690 703
691 } 704 }
692 #endif 705 #endif
693 706
694 #ifdef __cplusplus 707 #ifdef __cplusplus
695 } // extern "C" 708 } // extern "C"
696 #endif 709 #endif
697 710
698 #endif 711 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm/vpx_config.asm ('k') | source/config/linux/arm64/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698