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

Side by Side Diff: third_party/libvpx/source/config/linux/ia32/vp9_rtcd.h

Issue 2027703002: Roll src/third_party/libvpx/source/libvpx/ 4f774ac50..f80d8011a (12 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight); 69 void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
70 void vp9_filter_by_weight8x8_sse2(const uint8_t *src, int src_stride, uint8_t *d st, int dst_stride, int src_weight); 70 void vp9_filter_by_weight8x8_sse2(const uint8_t *src, int src_stride, uint8_t *d st, int dst_stride, int src_weight);
71 RTCD_EXTERN void (*vp9_filter_by_weight8x8)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight); 71 RTCD_EXTERN void (*vp9_filter_by_weight8x8)(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
72 72
73 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); 73 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);
74 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); 74 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);
75 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); 75 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);
76 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); 76 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);
77 77
78 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 78 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
79 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride); 79 void vp9_fwht4x4_sse2(const int16_t *input, tran_low_t *output, int stride);
80 RTCD_EXTERN void (*vp9_fwht4x4)(const int16_t *input, tran_low_t *output, int st ride); 80 RTCD_EXTERN void (*vp9_fwht4x4)(const int16_t *input, tran_low_t *output, int st ride);
81 81
82 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, int tx_type); 82 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, int tx_type);
83 void vp9_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pit ch, int tx_type); 83 void vp9_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pit ch, int tx_type);
84 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const tran_low_t *input, uint8_t *outpu t, int pitch, int tx_type); 84 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const tran_low_t *input, uint8_t *outpu t, int pitch, int tx_type);
85 85
86 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride , int tx_type); 86 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride , int tx_type);
87 void vp9_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide, int tx_type); 87 void vp9_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide, int tx_type);
88 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride, int tx_type); 88 RTCD_EXTERN void (*vp9_iht4x4_16_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride, int tx_type);
89 89
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 vp9_fht8x8 = vp9_fht8x8_c; 145 vp9_fht8x8 = vp9_fht8x8_c;
146 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; 146 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2;
147 vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_c; 147 vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_c;
148 if (flags & HAS_SSE2) vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_ sse2; 148 if (flags & HAS_SSE2) vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_ sse2;
149 vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_c; 149 vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_c;
150 if (flags & HAS_SSE2) vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_sse2 ; 150 if (flags & HAS_SSE2) vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_sse2 ;
151 vp9_full_search_sad = vp9_full_search_sad_c; 151 vp9_full_search_sad = vp9_full_search_sad_c;
152 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 152 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
153 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; 153 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
154 vp9_fwht4x4 = vp9_fwht4x4_c; 154 vp9_fwht4x4 = vp9_fwht4x4_c;
155 if (flags & HAS_MMX) vp9_fwht4x4 = vp9_fwht4x4_mmx; 155 if (flags & HAS_SSE2) vp9_fwht4x4 = vp9_fwht4x4_sse2;
156 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; 156 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c;
157 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; 157 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2;
158 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; 158 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c;
159 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; 159 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2;
160 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; 160 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c;
161 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; 161 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2;
162 vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_c; 162 vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_c;
163 if (flags & HAS_SSE2) vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_ xmm; 163 if (flags & HAS_SSE2) vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_ xmm;
164 vp9_mbpost_proc_down = vp9_mbpost_proc_down_c; 164 vp9_mbpost_proc_down = vp9_mbpost_proc_down_c;
165 if (flags & HAS_SSE2) vp9_mbpost_proc_down = vp9_mbpost_proc_down_xmm; 165 if (flags & HAS_SSE2) vp9_mbpost_proc_down = vp9_mbpost_proc_down_xmm;
166 vp9_post_proc_down_and_across = vp9_post_proc_down_and_across_c; 166 vp9_post_proc_down_and_across = vp9_post_proc_down_and_across_c;
167 if (flags & HAS_SSE2) vp9_post_proc_down_and_across = vp9_post_proc_down_and _across_xmm; 167 if (flags & HAS_SSE2) vp9_post_proc_down_and_across = vp9_post_proc_down_and _across_xmm;
168 vp9_quantize_fp = vp9_quantize_fp_c; 168 vp9_quantize_fp = vp9_quantize_fp_c;
169 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2; 169 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2;
170 vp9_scale_and_extend_frame = vp9_scale_and_extend_frame_c; 170 vp9_scale_and_extend_frame = vp9_scale_and_extend_frame_c;
171 if (flags & HAS_SSSE3) vp9_scale_and_extend_frame = vp9_scale_and_extend_fra me_ssse3; 171 if (flags & HAS_SSSE3) vp9_scale_and_extend_frame = vp9_scale_and_extend_fra me_ssse3;
172 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; 172 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
173 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2; 173 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2;
174 } 174 }
175 #endif 175 #endif
176 176
177 #ifdef __cplusplus 177 #ifdef __cplusplus
178 } // extern "C" 178 } // extern "C"
179 #endif 179 #endif
180 180
181 #endif 181 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698