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

Side by Side Diff: source/config/linux/arm-neon/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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 void vp8_dequantize_b_c(struct blockd*, short *dqc); 115 void vp8_dequantize_b_c(struct blockd*, short *dqc);
116 void vp8_dequantize_b_v6(struct blockd*, short *dqc); 116 void vp8_dequantize_b_v6(struct blockd*, short *dqc);
117 void vp8_dequantize_b_neon(struct blockd*, short *dqc); 117 void vp8_dequantize_b_neon(struct blockd*, short *dqc);
118 #define vp8_dequantize_b vp8_dequantize_b_neon 118 #define vp8_dequantize_b vp8_dequantize_b_neon
119 119
120 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); 120 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);
121 #define vp8_diamond_search_sad vp8_diamond_search_sad_c 121 #define vp8_diamond_search_sad vp8_diamond_search_sad_c
122 122
123 void vp8_fast_quantize_b_c(struct block *, struct blockd *); 123 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
124 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *);
125 void vp8_fast_quantize_b_neon(struct block *, struct blockd *); 124 void vp8_fast_quantize_b_neon(struct block *, struct blockd *);
126 #define vp8_fast_quantize_b vp8_fast_quantize_b_neon 125 #define vp8_fast_quantize_b vp8_fast_quantize_b_neon
127 126
128 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block d *d1, struct blockd *d2);
129 void vp8_fast_quantize_b_pair_neon(struct block *b1, struct block *b2, struct bl ockd *d1, struct blockd *d2);
130 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_neon
131
132 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch ar *dst, int dst_stride, int src_weight); 127 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch ar *dst, int dst_stride, int src_weight);
133 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c 128 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
134 129
135 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 130 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
136 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 131 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
137 132
138 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 133 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
139 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c 134 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
140 135
141 int vp8_full_search_sad_c(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); 136 int vp8_full_search_sad_c(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);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 203 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
209 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 204 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
210 #define vp8_mse16x16 vp8_mse16x16_neon 205 #define vp8_mse16x16 vp8_mse16x16_neon
211 206
212 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); 207 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);
213 #define vp8_plane_add_noise vp8_plane_add_noise_c 208 #define vp8_plane_add_noise vp8_plane_add_noise_c
214 209
215 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); 210 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);
216 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c 211 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c
217 212
218 void vp8_quantize_mb_c(struct macroblock *);
219 void vp8_quantize_mb_neon(struct macroblock *);
220 #define vp8_quantize_mb vp8_quantize_mb_neon
221
222 void vp8_quantize_mbuv_c(struct macroblock *);
223 void vp8_quantize_mbuv_neon(struct macroblock *);
224 #define vp8_quantize_mbuv vp8_quantize_mbuv_neon
225
226 void vp8_quantize_mby_c(struct macroblock *);
227 void vp8_quantize_mby_neon(struct macroblock *);
228 #define vp8_quantize_mby vp8_quantize_mby_neon
229
230 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); 213 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);
231 #define vp8_refining_search_sad vp8_refining_search_sad_c 214 #define vp8_refining_search_sad vp8_refining_search_sad_c
232 215
233 void vp8_regular_quantize_b_c(struct block *, struct blockd *); 216 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
234 #define vp8_regular_quantize_b vp8_regular_quantize_b_c 217 #define vp8_regular_quantize_b vp8_regular_quantize_b_c
235 218
236 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl ockd *d1, struct blockd *d2);
237 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
238
239 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); 219 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);
240 unsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, co nst unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 220 unsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, co nst unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
241 unsigned int vp8_sad16x16_neon(const unsigned char *src_ptr, int src_stride, con st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 221 unsigned int vp8_sad16x16_neon(const unsigned char *src_ptr, int src_stride, con st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
242 #define vp8_sad16x16 vp8_sad16x16_neon 222 #define vp8_sad16x16 vp8_sad16x16_neon
243 223
244 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); 224 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);
245 #define vp8_sad16x16x3 vp8_sad16x16x3_c 225 #define vp8_sad16x16x3 vp8_sad16x16x3_c
246 226
247 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsig ned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 227 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsig ned char * const ref_ptr[], int ref_stride, unsigned int *sad_array);
248 #define vp8_sad16x16x4d vp8_sad16x16x4d_c 228 #define vp8_sad16x16x4d vp8_sad16x16x4d_c
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 345
366 unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int so urce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refst ride, unsigned int *sse); 346 unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int so urce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refst ride, unsigned int *sse);
367 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c 347 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c
368 348
369 unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int sou rce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstr ide, unsigned int *sse); 349 unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int sou rce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstr ide, unsigned int *sse);
370 unsigned int vp8_sub_pixel_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Re fstride, unsigned int *sse); 350 unsigned int vp8_sub_pixel_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Re fstride, unsigned int *sse);
371 unsigned int vp8_sub_pixel_variance8x8_neon(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Ref stride, unsigned int *sse); 351 unsigned int vp8_sub_pixel_variance8x8_neon(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Ref stride, unsigned int *sse);
372 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_neon 352 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_neon
373 353
374 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); 354 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
375 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch);
376 void vp8_subtract_b_neon(struct block *be, struct blockd *bd, int pitch); 355 void vp8_subtract_b_neon(struct block *be, struct blockd *bd, int pitch);
377 #define vp8_subtract_b vp8_subtract_b_neon 356 #define vp8_subtract_b vp8_subtract_b_neon
378 357
379 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 358 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
380 void vp8_subtract_mbuv_armv6(short *diff, unsigned char *usrc, unsigned char *vs rc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride) ;
381 void vp8_subtract_mbuv_neon(short *diff, unsigned char *usrc, unsigned char *vsr c, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 359 void vp8_subtract_mbuv_neon(short *diff, unsigned char *usrc, unsigned char *vsr c, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
382 #define vp8_subtract_mbuv vp8_subtract_mbuv_neon 360 #define vp8_subtract_mbuv vp8_subtract_mbuv_neon
383 361
384 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride); 362 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride);
385 void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, uns igned char *pred, int pred_stride);
386 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi gned char *pred, int pred_stride); 363 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi gned char *pred, int pred_stride);
387 #define vp8_subtract_mby vp8_subtract_mby_neon 364 #define vp8_subtract_mby vp8_subtract_mby_neon
388 365
389 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride , const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 366 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride , const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
390 unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_st ride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 367 unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_st ride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
391 unsigned int vp8_variance16x16_neon(const unsigned char *src_ptr, int source_str ide, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 368 unsigned int vp8_variance16x16_neon(const unsigned char *src_ptr, int source_str ide, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
392 #define vp8_variance16x16 vp8_variance16x16_neon 369 #define vp8_variance16x16 vp8_variance16x16_neon
393 370
394 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 371 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
395 unsigned int vp8_variance16x8_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 372 unsigned int vp8_variance16x8_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 (void)flags; 412 (void)flags;
436 413
437 } 414 }
438 #endif 415 #endif
439 416
440 #ifdef __cplusplus 417 #ifdef __cplusplus
441 } // extern "C" 418 } // extern "C"
442 #endif 419 #endif
443 420
444 #endif 421 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm-neon-cpu-detect/vpx_config.asm ('k') | source/config/linux/arm-neon/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698