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

Side by Side Diff: source/config/linux/ia32/vp8_rtcd.h

Issue 756673003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years 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/generic/vpx_config.asm ('k') | source/config/linux/ia32/vp9_rtcd.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 VP8_RTCD_H_ 1 #ifndef VP8_RTCD_H_
2 #define VP8_RTCD_H_ 2 #define VP8_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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct block d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per _bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv * center_mv); 125 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct block d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per _bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv * center_mv);
126 int vp8_diamond_search_sadx4(struct macroblock *x, struct block *b, struct block d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per _bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv * center_mv); 126 int vp8_diamond_search_sadx4(struct macroblock *x, struct block *b, struct block d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per _bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv * center_mv);
127 RTCD_EXTERN int (*vp8_diamond_search_sad)(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param , int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], u nion int_mv *center_mv); 127 RTCD_EXTERN int (*vp8_diamond_search_sad)(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param , int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], u nion int_mv *center_mv);
128 128
129 void vp8_fast_quantize_b_c(struct block *, struct blockd *); 129 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
130 void vp8_fast_quantize_b_sse2(struct block *, struct blockd *); 130 void vp8_fast_quantize_b_sse2(struct block *, struct blockd *);
131 void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *); 131 void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *);
132 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); 132 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *);
133 133
134 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block d *d1, struct blockd *d2);
135 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c
136
137 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch ar *dst, int dst_stride, int src_weight); 134 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch ar *dst, int dst_stride, int src_weight);
138 void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 135 void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
139 RTCD_EXTERN void (*vp8_filter_by_weight16x16)(unsigned char *src, int src_stride , unsigned char *dst, int dst_stride, int src_weight); 136 RTCD_EXTERN void (*vp8_filter_by_weight16x16)(unsigned char *src, int src_stride , unsigned char *dst, int dst_stride, int src_weight);
140 137
141 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 138 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
142 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 139 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
143 140
144 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 141 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
145 void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned c har *dst, int dst_stride, int src_weight); 142 void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned c har *dst, int dst_stride, int src_weight);
146 RTCD_EXTERN void (*vp8_filter_by_weight8x8)(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 143 RTCD_EXTERN void (*vp8_filter_by_weight8x8)(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 225
229 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc h); 226 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc h);
230 void vp8_plane_add_noise_mmx(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi tch); 227 void vp8_plane_add_noise_mmx(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi tch);
231 void vp8_plane_add_noise_wmt(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi tch); 228 void vp8_plane_add_noise_wmt(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pi tch);
232 RTCD_EXTERN void (*vp8_plane_add_noise)(unsigned char *s, char *noise, char blac kclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned in t h, int pitch); 229 RTCD_EXTERN void (*vp8_plane_add_noise)(unsigned char *s, char *noise, char blac kclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned in t h, int pitch);
233 230
234 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); 231 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size);
235 void vp8_post_proc_down_and_across_mb_row_sse2(unsigned char *src, unsigned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size) ; 232 void vp8_post_proc_down_and_across_mb_row_sse2(unsigned char *src, unsigned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size) ;
236 RTCD_EXTERN void (*vp8_post_proc_down_and_across_mb_row)(unsigned char *src, uns igned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); 233 RTCD_EXTERN void (*vp8_post_proc_down_and_across_mb_row)(unsigned char *src, uns igned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size);
237 234
238 void vp8_quantize_mb_c(struct macroblock *);
239 #define vp8_quantize_mb vp8_quantize_mb_c
240
241 void vp8_quantize_mbuv_c(struct macroblock *);
242 #define vp8_quantize_mbuv vp8_quantize_mbuv_c
243
244 void vp8_quantize_mby_c(struct macroblock *);
245 #define vp8_quantize_mby vp8_quantize_mby_c
246
247 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab le *fn_ptr, int *mvcost[2], union int_mv *center_mv); 235 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab le *fn_ptr, int *mvcost[2], union int_mv *center_mv);
248 int vp8_refining_search_sadx4(struct macroblock *x, struct block *b, struct bloc kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab le *fn_ptr, int *mvcost[2], union int_mv *center_mv); 236 int vp8_refining_search_sadx4(struct macroblock *x, struct block *b, struct bloc kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab le *fn_ptr, int *mvcost[2], union int_mv *center_mv);
249 RTCD_EXTERN int (*vp8_refining_search_sad)(struct macroblock *x, struct block *b , struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 237 RTCD_EXTERN int (*vp8_refining_search_sad)(struct macroblock *x, struct block *b , struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
250 238
251 void vp8_regular_quantize_b_c(struct block *, struct blockd *); 239 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
252 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *); 240 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *);
253 void vp8_regular_quantize_b_sse4_1(struct block *, struct blockd *); 241 void vp8_regular_quantize_b_sse4_1(struct block *, struct blockd *);
254 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *); 242 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *);
255 243
256 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl ockd *d1, struct blockd *d2);
257 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
258
259 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 244 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
260 unsigned int vp8_sad16x16_mmx(const unsigned char *src_ptr, int src_stride, cons t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 245 unsigned int vp8_sad16x16_mmx(const unsigned char *src_ptr, int src_stride, cons t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
261 unsigned int vp8_sad16x16_wmt(const unsigned char *src_ptr, int src_stride, cons t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 246 unsigned int vp8_sad16x16_wmt(const unsigned char *src_ptr, int src_stride, cons t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
262 unsigned int vp8_sad16x16_sse3(const unsigned char *src_ptr, int src_stride, con st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 247 unsigned int vp8_sad16x16_sse3(const unsigned char *src_ptr, int src_stride, con st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
263 RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_s tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 248 RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_s tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
264 249
265 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsign ed char *ref_ptr, int ref_stride, unsigned int *sad_array); 250 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsign ed char *ref_ptr, int ref_stride, unsigned int *sad_array);
266 void vp8_sad16x16x3_sse3(const unsigned char *src_ptr, int src_stride, const uns igned char *ref_ptr, int ref_stride, unsigned int *sad_array); 251 void vp8_sad16x16x3_sse3(const unsigned char *src_ptr, int src_stride, const uns igned char *ref_ptr, int ref_stride, unsigned int *sad_array);
267 void vp8_sad16x16x3_ssse3(const unsigned char *src_ptr, int src_stride, const un signed char *ref_ptr, int ref_stride, unsigned int *sad_array); 252 void vp8_sad16x16x3_ssse3(const unsigned char *src_ptr, int src_stride, const un signed char *ref_ptr, int ref_stride, unsigned int *sad_array);
268 RTCD_EXTERN void (*vp8_sad16x16x3)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 253 RTCD_EXTERN void (*vp8_sad16x16x3)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixva r16x16_v_mmx; 719 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixva r16x16_v_mmx;
735 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv ar16x16_v_wmt; 720 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv ar16x16_v_wmt;
736 } 721 }
737 #endif 722 #endif
738 723
739 #ifdef __cplusplus 724 #ifdef __cplusplus
740 } // extern "C" 725 } // extern "C"
741 #endif 726 #endif
742 727
743 #endif 728 #endif
OLDNEW
« no previous file with comments | « source/config/linux/generic/vpx_config.asm ('k') | source/config/linux/ia32/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698