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

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

Issue 375983002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 5 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/x64/vp8_rtcd.h ('k') | source/config/linux/x64/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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 #define vp9_mse8x8 vp9_mse8x8_c 438 #define vp9_mse8x8 vp9_mse8x8_c
439 439
440 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); 440 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);
441 void vp9_quantize_b_ssse3(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); 441 void vp9_quantize_b_ssse3(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);
442 RTCD_EXTERN void (*vp9_quantize_b)(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_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_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); 442 RTCD_EXTERN void (*vp9_quantize_b)(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_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_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);
443 443
444 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); 444 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);
445 void vp9_quantize_b_32x32_ssse3(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 *q uant_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 int 16_t *scan, const int16_t *iscan); 445 void vp9_quantize_b_32x32_ssse3(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 *q uant_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 int 16_t *scan, const int16_t *iscan);
446 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const int16_t *coeff_ptr, intptr_t n_co effs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const i nt16_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); 446 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const int16_t *coeff_ptr, intptr_t n_co effs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const i nt16_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);
447 447
448 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);
449 void vp9_quantize_fp_ssse3(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_ 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);
450 RTCD_EXTERN void (*vp9_quantize_fp)(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_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqco eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
451
448 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); 452 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);
449 int vp9_refining_search_sadx4(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); 453 int vp9_refining_search_sadx4(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);
450 RTCD_EXTERN int (*vp9_refining_search_sad)(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_pt r, const struct mv *center_mv); 454 RTCD_EXTERN int (*vp9_refining_search_sad)(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_pt r, const struct mv *center_mv);
451 455
452 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 456 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
453 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride); 457 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
454 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 458 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
455 #define vp9_sad16x16 vp9_sad16x16_sse2 459 #define vp9_sad16x16 vp9_sad16x16_sse2
456 460
457 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); 461 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);
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; 968 vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
965 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3; 969 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
966 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; 970 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2;
967 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3; 971 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3;
968 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; 972 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
969 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3; 973 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3;
970 vp9_quantize_b = vp9_quantize_b_c; 974 vp9_quantize_b = vp9_quantize_b_c;
971 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; 975 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3;
972 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; 976 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c;
973 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; 977 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3;
978 vp9_quantize_fp = vp9_quantize_fp_c;
979 if (flags & HAS_SSSE3) vp9_quantize_fp = vp9_quantize_fp_ssse3;
974 vp9_refining_search_sad = vp9_refining_search_sad_c; 980 vp9_refining_search_sad = vp9_refining_search_sad_c;
975 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4; 981 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4;
976 vp9_sad16x16x3 = vp9_sad16x16x3_c; 982 vp9_sad16x16x3 = vp9_sad16x16x3_c;
977 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; 983 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
978 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; 984 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
979 vp9_sad16x8x3 = vp9_sad16x8x3_c; 985 vp9_sad16x8x3 = vp9_sad16x8x3_c;
980 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; 986 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
981 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; 987 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
982 vp9_sad4x4x3 = vp9_sad4x4x3_c; 988 vp9_sad4x4x3 = vp9_sad4x4x3_c;
983 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; 989 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; 1044 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2;
1039 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8 _ssse3; 1045 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8 _ssse3;
1040 } 1046 }
1041 #endif 1047 #endif
1042 1048
1043 #ifdef __cplusplus 1049 #ifdef __cplusplus
1044 } // extern "C" 1050 } // extern "C"
1045 #endif 1051 #endif
1046 1052
1047 #endif 1053 #endif
OLDNEW
« no previous file with comments | « source/config/linux/x64/vp8_rtcd.h ('k') | source/config/linux/x64/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698