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

Side by Side Diff: source/config/linux/arm-neon/vp8_rtcd.h

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 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 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 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);
131 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 131 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
132 132
133 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);
134 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c 134 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
135 135
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); 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);
137 #define vp8_full_search_sad vp8_full_search_sad_c 137 #define vp8_full_search_sad vp8_full_search_sad_c
138 138
139 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
140 unsigned int vp8_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride);
141 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_neon
142
143 unsigned int vp8_get_mb_ss_c(const short *);
144 #define vp8_get_mb_ss vp8_get_mb_ss_c
145
146 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left _stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left) ; 139 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left _stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left) ;
147 void vp8_intra4x4_predict_armv6(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_l eft); 140 void vp8_intra4x4_predict_armv6(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_l eft);
148 #define vp8_intra4x4_predict vp8_intra4x4_predict_armv6 141 #define vp8_intra4x4_predict vp8_intra4x4_predict_armv6
149 142
150 void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 143 void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
151 void vp8_loop_filter_bh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 144 void vp8_loop_filter_bh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
152 void vp8_loop_filter_bh_neon(unsigned char *y, unsigned char *u, unsigned char * v, int ystride, int uv_stride, struct loop_filter_info *lfi); 145 void vp8_loop_filter_bh_neon(unsigned char *y, unsigned char *u, unsigned char * v, int ystride, int uv_stride, struct loop_filter_info *lfi);
153 #define vp8_loop_filter_bh vp8_loop_filter_bh_neon 146 #define vp8_loop_filter_bh vp8_loop_filter_bh_neon
154 147
155 void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 148 void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 185
193 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co ls,int flimit); 186 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co ls,int flimit);
194 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c 187 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c
195 188
196 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit); 189 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit);
197 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c 190 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c
198 191
199 int vp8_mbuverror_c(struct macroblock *mb); 192 int vp8_mbuverror_c(struct macroblock *mb);
200 #define vp8_mbuverror vp8_mbuverror_c 193 #define vp8_mbuverror vp8_mbuverror_c
201 194
202 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con st 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);
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);
205 #define vp8_mse16x16 vp8_mse16x16_neon
206
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); 195 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);
208 #define vp8_plane_add_noise vp8_plane_add_noise_c 196 #define vp8_plane_add_noise vp8_plane_add_noise_c
209 197
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); 198 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);
211 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c 199 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c
212 200
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); 201 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);
214 #define vp8_refining_search_sad vp8_refining_search_sad_c 202 #define vp8_refining_search_sad vp8_refining_search_sad_c
215 203
216 void vp8_regular_quantize_b_c(struct block *, struct blockd *); 204 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 #define vp8_subtract_b vp8_subtract_b_neon 278 #define vp8_subtract_b vp8_subtract_b_neon
291 279
292 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); 280 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);
293 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); 281 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);
294 #define vp8_subtract_mbuv vp8_subtract_mbuv_neon 282 #define vp8_subtract_mbuv vp8_subtract_mbuv_neon
295 283
296 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride); 284 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride);
297 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi gned char *pred, int pred_stride); 285 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi gned char *pred, int pred_stride);
298 #define vp8_subtract_mby vp8_subtract_mby_neon 286 #define vp8_subtract_mby vp8_subtract_mby_neon
299 287
300 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride , const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
301 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);
302 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);
303 #define vp8_variance16x16 vp8_variance16x16_neon
304
305 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
306 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);
307 #define vp8_variance16x8 vp8_variance16x8_neon
308
309 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
310 #define vp8_variance4x4 vp8_variance4x4_c
311
312 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
313 unsigned int vp8_variance8x16_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
314 #define vp8_variance8x16 vp8_variance8x16_neon
315
316 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
317 unsigned int vp8_variance8x8_armv6(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
318 unsigned int vp8_variance8x8_neon(const unsigned char *src_ptr, int source_strid e, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
319 #define vp8_variance8x8 vp8_variance8x8_neon
320
321 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ; 288 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ;
322 unsigned int vp8_variance_halfpixvar16x16_h_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int * sse); 289 unsigned int vp8_variance_halfpixvar16x16_h_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int * sse);
323 unsigned int vp8_variance_halfpixvar16x16_h_neon(const unsigned char *src_ptr, i nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s se); 290 unsigned int vp8_variance_halfpixvar16x16_h_neon(const unsigned char *src_ptr, i nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s se);
324 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_neon 291 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_neon
325 292
326 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse ); 293 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse );
327 unsigned int vp8_variance_halfpixvar16x16_hv_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 294 unsigned int vp8_variance_halfpixvar16x16_hv_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
328 unsigned int vp8_variance_halfpixvar16x16_hv_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int * sse); 295 unsigned int vp8_variance_halfpixvar16x16_hv_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int * sse);
329 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_neon 296 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_neon
330 297
(...skipping 15 matching lines...) Expand all
346 (void)flags; 313 (void)flags;
347 314
348 } 315 }
349 #endif 316 #endif
350 317
351 #ifdef __cplusplus 318 #ifdef __cplusplus
352 } // extern "C" 319 } // extern "C"
353 #endif 320 #endif
354 321
355 #endif 322 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h ('k') | source/config/linux/arm-neon/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698