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

Side by Side Diff: source/config/linux/arm64/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
« no previous file with comments | « source/config/linux/arm/vpx_dsp_rtcd.h ('k') | source/config/linux/arm64/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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 118 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
119 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 119 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
120 120
121 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 121 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
122 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c 122 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
123 123
124 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); 124 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);
125 #define vp8_full_search_sad vp8_full_search_sad_c 125 #define vp8_full_search_sad vp8_full_search_sad_c
126 126
127 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
128 unsigned int vp8_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride);
129 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_neon
130
131 unsigned int vp8_get_mb_ss_c(const short *);
132 #define vp8_get_mb_ss vp8_get_mb_ss_c
133
134 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) ; 127 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) ;
135 #define vp8_intra4x4_predict vp8_intra4x4_predict_c 128 #define vp8_intra4x4_predict vp8_intra4x4_predict_c
136 129
137 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); 130 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);
138 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); 131 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);
139 #define vp8_loop_filter_bh vp8_loop_filter_bh_neon 132 #define vp8_loop_filter_bh vp8_loop_filter_bh_neon
140 133
141 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); 134 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);
142 void vp8_loop_filter_bv_neon(unsigned char *y, unsigned char *u, unsigned char * v, int ystride, int uv_stride, struct loop_filter_info *lfi); 135 void vp8_loop_filter_bv_neon(unsigned char *y, unsigned char *u, unsigned char * v, int ystride, int uv_stride, struct loop_filter_info *lfi);
143 #define vp8_loop_filter_bv vp8_loop_filter_bv_neon 136 #define vp8_loop_filter_bv vp8_loop_filter_bv_neon
(...skipping 27 matching lines...) Expand all
171 164
172 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co ls,int flimit); 165 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co ls,int flimit);
173 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c 166 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c
174 167
175 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit); 168 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit);
176 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c 169 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c
177 170
178 int vp8_mbuverror_c(struct macroblock *mb); 171 int vp8_mbuverror_c(struct macroblock *mb);
179 #define vp8_mbuverror vp8_mbuverror_c 172 #define vp8_mbuverror vp8_mbuverror_c
180 173
181 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);
182 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
183 #define vp8_mse16x16 vp8_mse16x16_neon
184
185 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); 174 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);
186 #define vp8_plane_add_noise vp8_plane_add_noise_c 175 #define vp8_plane_add_noise vp8_plane_add_noise_c
187 176
188 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); 177 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);
189 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c 178 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c
190 179
191 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); 180 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);
192 #define vp8_refining_search_sad vp8_refining_search_sad_c 181 #define vp8_refining_search_sad vp8_refining_search_sad_c
193 182
194 void vp8_regular_quantize_b_c(struct block *, struct blockd *); 183 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 #define vp8_subtract_b vp8_subtract_b_neon 244 #define vp8_subtract_b vp8_subtract_b_neon
256 245
257 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); 246 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);
258 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); 247 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);
259 #define vp8_subtract_mbuv vp8_subtract_mbuv_neon 248 #define vp8_subtract_mbuv vp8_subtract_mbuv_neon
260 249
261 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride); 250 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride);
262 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi gned char *pred, int pred_stride); 251 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi gned char *pred, int pred_stride);
263 #define vp8_subtract_mby vp8_subtract_mby_neon 252 #define vp8_subtract_mby vp8_subtract_mby_neon
264 253
265 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride , const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
266 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);
267 #define vp8_variance16x16 vp8_variance16x16_neon
268
269 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
270 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);
271 #define vp8_variance16x8 vp8_variance16x8_neon
272
273 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
274 #define vp8_variance4x4 vp8_variance4x4_c
275
276 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
277 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);
278 #define vp8_variance8x16 vp8_variance8x16_neon
279
280 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
281 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);
282 #define vp8_variance8x8 vp8_variance8x8_neon
283
284 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) ; 254 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) ;
285 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); 255 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);
286 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_neon 256 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_neon
287 257
288 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 ); 258 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 );
289 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); 259 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);
290 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_neon 260 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_neon
291 261
292 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ; 262 unsigned int vp8_variance_halfpixvar16x16_v_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_v_neon(const unsigned char *src_ptr, i nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s se); 263 unsigned int vp8_variance_halfpixvar16x16_v_neon(const unsigned char *src_ptr, i nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s se);
(...skipping 12 matching lines...) Expand all
306 (void)flags; 276 (void)flags;
307 277
308 } 278 }
309 #endif 279 #endif
310 280
311 #ifdef __cplusplus 281 #ifdef __cplusplus
312 } // extern "C" 282 } // extern "C"
313 #endif 283 #endif
314 284
315 #endif 285 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm/vpx_dsp_rtcd.h ('k') | source/config/linux/arm64/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698