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

Side by Side Diff: source/config/mac/ia32/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, 9 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/x64/vpx_config.c ('k') | source/config/mac/ia32/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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, tran_low_t *output, int s tride, int tx_type); 277 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, tran_low_t *output, int s tride, int tx_type);
278 278
279 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype); 279 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype);
280 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int t x_type); 280 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int t x_type);
281 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, tran_low_t *output, int str ide, int tx_type); 281 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, tran_low_t *output, int str ide, int tx_type);
282 282
283 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype); 283 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t ype);
284 void vp9_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, int t x_type); 284 void vp9_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, int t x_type);
285 RTCD_EXTERN void (*vp9_fht8x8)(const int16_t *input, tran_low_t *output, int str ide, int tx_type); 285 RTCD_EXTERN void (*vp9_fht8x8)(const int16_t *input, tran_low_t *output, int str ide, int tx_type);
286 286
287 void vp9_filter_by_weight16x16_c(const uint8_t *src, int src_stride, uint8_t *ds t, int dst_stride, int src_weight);
288 void vp9_filter_by_weight16x16_sse2(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
289 RTCD_EXTERN void (*vp9_filter_by_weight16x16)(const uint8_t *src, int src_stride , uint8_t *dst, int dst_stride, int src_weight);
290
291 void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
292 void vp9_filter_by_weight8x8_sse2(const uint8_t *src, int src_stride, uint8_t *d st, int dst_stride, int src_weight);
293 RTCD_EXTERN void (*vp9_filter_by_weight8x8)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
294
287 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); 295 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);
288 #define vp9_full_range_search vp9_full_range_search_c 296 #define vp9_full_range_search vp9_full_range_search_c
289 297
290 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); 298 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);
291 int vp9_full_search_sadx3(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); 299 int vp9_full_search_sadx3(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);
292 int vp9_full_search_sadx8(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); 300 int vp9_full_search_sadx8(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);
293 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ ptr, const struct mv *center_mv, struct mv *best_mv); 301 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ ptr, const struct mv *center_mv, struct mv *best_mv);
294 302
295 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 303 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
296 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride); 304 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride);
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 RTCD_EXTERN void (*vp9_lpf_vertical_4_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1); 443 RTCD_EXTERN void (*vp9_lpf_vertical_4_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1);
436 444
437 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); 445 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);
438 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 446 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
439 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count); 447 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count);
440 448
441 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); 449 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);
442 void vp9_lpf_vertical_8_dual_sse2(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); 450 void vp9_lpf_vertical_8_dual_sse2(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);
443 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1); 451 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1);
444 452
453 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in t flimit);
454 void vp9_mbpost_proc_across_ip_xmm(uint8_t *src, int pitch, int rows, int cols, int flimit);
455 RTCD_EXTERN void (*vp9_mbpost_proc_across_ip)(uint8_t *src, int pitch, int rows, int cols, int flimit);
456
457 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli mit);
458 void vp9_mbpost_proc_down_xmm(uint8_t *dst, int pitch, int rows, int cols, int f limit);
459 RTCD_EXTERN void (*vp9_mbpost_proc_down)(uint8_t *dst, int pitch, int rows, int cols, int flimit);
460
445 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); 461 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);
446 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 462 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
447 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 463 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
448 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 464 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
449 465
450 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); 466 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);
451 unsigned int vp9_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 467 unsigned int vp9_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
452 RTCD_EXTERN unsigned int (*vp9_mse16x8)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 468 RTCD_EXTERN unsigned int (*vp9_mse16x8)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
453 469
454 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); 470 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);
455 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 471 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
456 RTCD_EXTERN unsigned int (*vp9_mse8x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 472 RTCD_EXTERN unsigned int (*vp9_mse8x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
457 473
458 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); 474 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);
459 unsigned int vp9_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int recon_stride, unsigned int *sse); 475 unsigned int vp9_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int recon_stride, unsigned int *sse);
460 RTCD_EXTERN unsigned int (*vp9_mse8x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 476 RTCD_EXTERN unsigned int (*vp9_mse8x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
461 477
478 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);
479 void vp9_plane_add_noise_wmt(uint8_t *Start, char *noise, char blackclamp[16], c har whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, int Pitch);
480 RTCD_EXTERN void (*vp9_plane_add_noise)(uint8_t *Start, char *noise, char blackc lamp[16], char whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, int Pitch);
481
482 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) ;
483 void vp9_post_proc_down_and_across_xmm(const uint8_t *src_ptr, uint8_t *dst_ptr, int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimi t);
484 RTCD_EXTERN void (*vp9_post_proc_down_and_across)(const uint8_t *src_ptr, uint8_ t *dst_ptr, int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols , int flimit);
485
462 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); 486 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);
463 void vp9_quantize_b_sse2(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); 487 void vp9_quantize_b_sse2(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
464 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1 6_t *quant_ptr, 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 *s can, const int16_t *iscan); 488 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1 6_t *quant_ptr, 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 *s can, const int16_t *iscan);
465 489
466 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); 490 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);
467 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 491 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
468 492
469 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); 493 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);
470 void vp9_quantize_fp_sse2(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); 494 void vp9_quantize_fp_sse2(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);
471 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); 495 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);
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 if (flags & HAS_SSE2) vp9_fdct8x8_1 = vp9_fdct8x8_1_sse2; 1058 if (flags & HAS_SSE2) vp9_fdct8x8_1 = vp9_fdct8x8_1_sse2;
1035 vp9_fdct8x8_quant = vp9_fdct8x8_quant_c; 1059 vp9_fdct8x8_quant = vp9_fdct8x8_quant_c;
1036 if (flags & HAS_SSE2) vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2; 1060 if (flags & HAS_SSE2) vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2;
1037 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3; 1061 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3;
1038 vp9_fht16x16 = vp9_fht16x16_c; 1062 vp9_fht16x16 = vp9_fht16x16_c;
1039 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; 1063 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2;
1040 vp9_fht4x4 = vp9_fht4x4_c; 1064 vp9_fht4x4 = vp9_fht4x4_c;
1041 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; 1065 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2;
1042 vp9_fht8x8 = vp9_fht8x8_c; 1066 vp9_fht8x8 = vp9_fht8x8_c;
1043 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; 1067 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2;
1068 vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_c;
1069 if (flags & HAS_SSE2) vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_ sse2;
1070 vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_c;
1071 if (flags & HAS_SSE2) vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_sse2 ;
1044 vp9_full_search_sad = vp9_full_search_sad_c; 1072 vp9_full_search_sad = vp9_full_search_sad_c;
1045 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 1073 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
1046 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; 1074 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
1047 vp9_fwht4x4 = vp9_fwht4x4_c; 1075 vp9_fwht4x4 = vp9_fwht4x4_c;
1048 if (flags & HAS_MMX) vp9_fwht4x4 = vp9_fwht4x4_mmx; 1076 if (flags & HAS_MMX) vp9_fwht4x4 = vp9_fwht4x4_mmx;
1049 vp9_get16x16var = vp9_get16x16var_c; 1077 vp9_get16x16var = vp9_get16x16var_c;
1050 if (flags & HAS_SSE2) vp9_get16x16var = vp9_get16x16var_sse2; 1078 if (flags & HAS_SSE2) vp9_get16x16var = vp9_get16x16var_sse2;
1051 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2; 1079 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2;
1052 vp9_get8x8var = vp9_get8x8var_c; 1080 vp9_get8x8var = vp9_get8x8var_c;
1053 if (flags & HAS_SSE2) vp9_get8x8var = vp9_get8x8var_sse2; 1081 if (flags & HAS_SSE2) vp9_get8x8var = vp9_get8x8var_sse2;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; 1139 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c;
1112 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2; 1140 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2;
1113 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; 1141 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c;
1114 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx; 1142 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx;
1115 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; 1143 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c;
1116 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ; 1144 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ;
1117 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; 1145 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c;
1118 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2; 1146 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2;
1119 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; 1147 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c;
1120 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ; 1148 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ;
1149 vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_c;
1150 if (flags & HAS_SSE2) vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_ xmm;
1151 vp9_mbpost_proc_down = vp9_mbpost_proc_down_c;
1152 if (flags & HAS_SSE2) vp9_mbpost_proc_down = vp9_mbpost_proc_down_xmm;
1121 vp9_mse16x16 = vp9_mse16x16_c; 1153 vp9_mse16x16 = vp9_mse16x16_c;
1122 if (flags & HAS_SSE2) vp9_mse16x16 = vp9_mse16x16_sse2; 1154 if (flags & HAS_SSE2) vp9_mse16x16 = vp9_mse16x16_sse2;
1123 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2; 1155 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2;
1124 vp9_mse16x8 = vp9_mse16x8_c; 1156 vp9_mse16x8 = vp9_mse16x8_c;
1125 if (flags & HAS_SSE2) vp9_mse16x8 = vp9_mse16x8_sse2; 1157 if (flags & HAS_SSE2) vp9_mse16x8 = vp9_mse16x8_sse2;
1126 vp9_mse8x16 = vp9_mse8x16_c; 1158 vp9_mse8x16 = vp9_mse8x16_c;
1127 if (flags & HAS_SSE2) vp9_mse8x16 = vp9_mse8x16_sse2; 1159 if (flags & HAS_SSE2) vp9_mse8x16 = vp9_mse8x16_sse2;
1128 vp9_mse8x8 = vp9_mse8x8_c; 1160 vp9_mse8x8 = vp9_mse8x8_c;
1129 if (flags & HAS_SSE2) vp9_mse8x8 = vp9_mse8x8_sse2; 1161 if (flags & HAS_SSE2) vp9_mse8x8 = vp9_mse8x8_sse2;
1162 vp9_plane_add_noise = vp9_plane_add_noise_c;
1163 if (flags & HAS_SSE2) vp9_plane_add_noise = vp9_plane_add_noise_wmt;
1164 vp9_post_proc_down_and_across = vp9_post_proc_down_and_across_c;
1165 if (flags & HAS_SSE2) vp9_post_proc_down_and_across = vp9_post_proc_down_and _across_xmm;
1130 vp9_quantize_b = vp9_quantize_b_c; 1166 vp9_quantize_b = vp9_quantize_b_c;
1131 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2; 1167 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2;
1132 vp9_quantize_fp = vp9_quantize_fp_c; 1168 vp9_quantize_fp = vp9_quantize_fp_c;
1133 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2; 1169 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2;
1134 vp9_sad16x16 = vp9_sad16x16_c; 1170 vp9_sad16x16 = vp9_sad16x16_c;
1135 if (flags & HAS_SSE2) vp9_sad16x16 = vp9_sad16x16_sse2; 1171 if (flags & HAS_SSE2) vp9_sad16x16 = vp9_sad16x16_sse2;
1136 vp9_sad16x16_avg = vp9_sad16x16_avg_c; 1172 vp9_sad16x16_avg = vp9_sad16x16_avg_c;
1137 if (flags & HAS_SSE2) vp9_sad16x16_avg = vp9_sad16x16_avg_sse2; 1173 if (flags & HAS_SSE2) vp9_sad16x16_avg = vp9_sad16x16_avg_sse2;
1138 vp9_sad16x16x3 = vp9_sad16x16x3_c; 1174 vp9_sad16x16x3 = vp9_sad16x16x3_c;
1139 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; 1175 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 vp9_vector_var = vp9_vector_var_c; 1403 vp9_vector_var = vp9_vector_var_c;
1368 if (flags & HAS_SSE2) vp9_vector_var = vp9_vector_var_sse2; 1404 if (flags & HAS_SSE2) vp9_vector_var = vp9_vector_var_sse2;
1369 } 1405 }
1370 #endif 1406 #endif
1371 1407
1372 #ifdef __cplusplus 1408 #ifdef __cplusplus
1373 } // extern "C" 1409 } // extern "C"
1374 #endif 1410 #endif
1375 1411
1376 #endif 1412 #endif
OLDNEW
« no previous file with comments | « source/config/linux/x64/vpx_config.c ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698