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

Side by Side Diff: source/config/linux/arm-neon-cpu-detect/vp9_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 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 140 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
141 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c 141 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c
142 142
143 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 143 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
144 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c 144 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c
145 145
146 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 146 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
147 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c 147 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c
148 148
149 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 149 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
150 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c 150 void vp9_dc_128_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
151 RTCD_EXTERN void (*vp9_dc_128_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
151 152
152 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 153 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
153 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c 154 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c
154 155
155 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 156 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
156 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c 157 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c
157 158
158 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 159 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
159 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c 160 void vp9_dc_128_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
161 RTCD_EXTERN void (*vp9_dc_128_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
160 162
161 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 163 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
162 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c 164 void vp9_dc_left_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const ui nt8_t *above, const uint8_t *left);
165 RTCD_EXTERN void (*vp9_dc_left_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride , const uint8_t *above, const uint8_t *left);
163 166
164 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 167 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
165 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c 168 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c
166 169
167 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 170 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
168 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c 171 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c
169 172
170 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 173 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
171 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c 174 void vp9_dc_left_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
175 RTCD_EXTERN void (*vp9_dc_left_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
172 176
173 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 177 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
174 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c 178 void vp9_dc_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
179 RTCD_EXTERN void (*vp9_dc_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
175 180
176 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 181 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
177 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c 182 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c
178 183
179 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 184 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
180 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c 185 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c
181 186
182 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 187 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
183 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c 188 void vp9_dc_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
189 RTCD_EXTERN void (*vp9_dc_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
184 190
185 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 191 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
186 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c 192 void vp9_dc_top_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
193 RTCD_EXTERN void (*vp9_dc_top_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
187 194
188 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 195 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
189 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c 196 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c
190 197
191 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 198 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
192 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c 199 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c
193 200
194 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 201 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
195 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c 202 void vp9_dc_top_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
203 RTCD_EXTERN void (*vp9_dc_top_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
196 204
197 int vp9_denoiser_filter_c(const uint8_t *sig, int sig_stride, const uint8_t *mc_ avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_denoising, BL OCK_SIZE bs, int motion_magnitude); 205 int vp9_denoiser_filter_c(const uint8_t *sig, int sig_stride, const uint8_t *mc_ avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_denoising, BL OCK_SIZE bs, int motion_magnitude);
198 #define vp9_denoiser_filter vp9_denoiser_filter_c 206 #define vp9_denoiser_filter vp9_denoiser_filter_c
199 207
200 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad _per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv); 208 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad _per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv);
201 #define vp9_diamond_search_sad vp9_diamond_search_sad_c 209 #define vp9_diamond_search_sad vp9_diamond_search_sad_c
202 210
203 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); 211 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
204 #define vp9_fdct16x16 vp9_fdct16x16_c 212 #define vp9_fdct16x16 vp9_fdct16x16_c
205 213
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 258
251 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site _config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c enter_mv); 259 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site _config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c enter_mv);
252 #define vp9_full_range_search vp9_full_range_search_c 260 #define vp9_full_range_search vp9_full_range_search_c
253 261
254 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); 262 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);
255 #define vp9_full_search_sad vp9_full_search_sad_c 263 #define vp9_full_search_sad vp9_full_search_sad_c
256 264
257 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 265 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
258 #define vp9_fwht4x4 vp9_fwht4x4_c 266 #define vp9_fwht4x4 vp9_fwht4x4_c
259 267
260 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
261 void vp9_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
262 RTCD_EXTERN void (*vp9_get16x16var)(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
263
264 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum);
265 void vp9_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
266 RTCD_EXTERN void (*vp9_get8x8var)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
267
268 unsigned int vp9_get_mb_ss_c(const int16_t *);
269 #define vp9_get_mb_ss vp9_get_mb_ss_c
270
271 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 268 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
272 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 269 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
273 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 270 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
274 271
275 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 272 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
276 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 273 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
277 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 274 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
278 275
279 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 276 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
280 void vp9_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 277 void vp9_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 400
404 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in t flimit); 401 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, int rows, int cols, in t flimit);
405 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c 402 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_c
406 403
407 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli mit); 404 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli mit);
408 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c 405 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_c
409 406
410 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi n, int *max); 407 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi n, int *max);
411 #define vp9_minmax_8x8 vp9_minmax_8x8_c 408 #define vp9_minmax_8x8 vp9_minmax_8x8_c
412 409
413 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
414 #define vp9_mse16x16 vp9_mse16x16_c
415
416 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
417 #define vp9_mse16x8 vp9_mse16x8_c
418
419 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
420 #define vp9_mse8x16 vp9_mse8x16_c
421
422 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
423 #define vp9_mse8x8 vp9_mse8x8_c
424
425 void vp9_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i nt Pitch); 410 void vp9_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i nt Pitch);
426 #define vp9_plane_add_noise vp9_plane_add_noise_c 411 #define vp9_plane_add_noise vp9_plane_add_noise_c
427 412
428 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit) ; 413 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit) ;
429 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c 414 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_c
430 415
431 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan); 416 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan);
432 #define vp9_quantize_b vp9_quantize_b_c 417 #define vp9_quantize_b vp9_quantize_b_c
433 418
434 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan); 419 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan);
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 543 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
559 544
560 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 545 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
561 void vp9_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 546 void vp9_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
562 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 547 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
563 548
564 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 549 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
565 void vp9_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 550 void vp9_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
566 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 551 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
567 552
568 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
569 unsigned int vp9_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
570 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
571
572 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
573 #define vp9_variance16x32 vp9_variance16x32_c
574
575 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
576 #define vp9_variance16x8 vp9_variance16x8_c
577
578 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
579 #define vp9_variance32x16 vp9_variance32x16_c
580
581 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
582 unsigned int vp9_variance32x32_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
583 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
584
585 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
586 unsigned int vp9_variance32x64_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
587 RTCD_EXTERN unsigned int (*vp9_variance32x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
588
589 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
590 #define vp9_variance4x4 vp9_variance4x4_c
591
592 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
593 #define vp9_variance4x8 vp9_variance4x8_c
594
595 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
596 unsigned int vp9_variance64x32_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
597 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
598
599 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
600 unsigned int vp9_variance64x64_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
601 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
602
603 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
604 #define vp9_variance8x16 vp9_variance8x16_c
605
606 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
607 #define vp9_variance8x4 vp9_variance8x4_c
608
609 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
610 unsigned int vp9_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
611 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
612
613 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); 553 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl);
614 #define vp9_vector_var vp9_vector_var_c 554 #define vp9_vector_var vp9_vector_var_c
615 555
616 void vp9_rtcd(void); 556 void vp9_rtcd(void);
617 557
618 #include "vpx_config.h" 558 #include "vpx_config.h"
619 559
620 #ifdef RTCD_C 560 #ifdef RTCD_C
621 #include "vpx_ports/arm.h" 561 #include "vpx_ports/arm.h"
622 static void setup_rtcd_internal(void) 562 static void setup_rtcd_internal(void)
(...skipping 13 matching lines...) Expand all
636 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; 576 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c;
637 if (flags & HAS_NEON) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_neon; 577 if (flags & HAS_NEON) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_neon;
638 vp9_convolve8_horiz = vp9_convolve8_horiz_c; 578 vp9_convolve8_horiz = vp9_convolve8_horiz_c;
639 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon; 579 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon;
640 vp9_convolve8_vert = vp9_convolve8_vert_c; 580 vp9_convolve8_vert = vp9_convolve8_vert_c;
641 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon; 581 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon;
642 vp9_convolve_avg = vp9_convolve_avg_c; 582 vp9_convolve_avg = vp9_convolve_avg_c;
643 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon; 583 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon;
644 vp9_convolve_copy = vp9_convolve_copy_c; 584 vp9_convolve_copy = vp9_convolve_copy_c;
645 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon; 585 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon;
586 vp9_dc_128_predictor_16x16 = vp9_dc_128_predictor_16x16_c;
587 if (flags & HAS_NEON) vp9_dc_128_predictor_16x16 = vp9_dc_128_predictor_16x1 6_neon;
588 vp9_dc_128_predictor_8x8 = vp9_dc_128_predictor_8x8_c;
589 if (flags & HAS_NEON) vp9_dc_128_predictor_8x8 = vp9_dc_128_predictor_8x8_ne on;
590 vp9_dc_left_predictor_16x16 = vp9_dc_left_predictor_16x16_c;
591 if (flags & HAS_NEON) vp9_dc_left_predictor_16x16 = vp9_dc_left_predictor_16 x16_neon;
592 vp9_dc_left_predictor_8x8 = vp9_dc_left_predictor_8x8_c;
593 if (flags & HAS_NEON) vp9_dc_left_predictor_8x8 = vp9_dc_left_predictor_8x8_ neon;
594 vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_c;
595 if (flags & HAS_NEON) vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_neon;
596 vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_c;
597 if (flags & HAS_NEON) vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_neon;
598 vp9_dc_top_predictor_16x16 = vp9_dc_top_predictor_16x16_c;
599 if (flags & HAS_NEON) vp9_dc_top_predictor_16x16 = vp9_dc_top_predictor_16x1 6_neon;
600 vp9_dc_top_predictor_8x8 = vp9_dc_top_predictor_8x8_c;
601 if (flags & HAS_NEON) vp9_dc_top_predictor_8x8 = vp9_dc_top_predictor_8x8_ne on;
646 vp9_fdct8x8 = vp9_fdct8x8_c; 602 vp9_fdct8x8 = vp9_fdct8x8_c;
647 if (flags & HAS_NEON) vp9_fdct8x8 = vp9_fdct8x8_neon; 603 if (flags & HAS_NEON) vp9_fdct8x8 = vp9_fdct8x8_neon;
648 vp9_fdct8x8_1 = vp9_fdct8x8_1_c; 604 vp9_fdct8x8_1 = vp9_fdct8x8_1_c;
649 if (flags & HAS_NEON) vp9_fdct8x8_1 = vp9_fdct8x8_1_neon; 605 if (flags & HAS_NEON) vp9_fdct8x8_1 = vp9_fdct8x8_1_neon;
650 vp9_fdct8x8_quant = vp9_fdct8x8_quant_c; 606 vp9_fdct8x8_quant = vp9_fdct8x8_quant_c;
651 if (flags & HAS_NEON) vp9_fdct8x8_quant = vp9_fdct8x8_quant_neon; 607 if (flags & HAS_NEON) vp9_fdct8x8_quant = vp9_fdct8x8_quant_neon;
652 vp9_get16x16var = vp9_get16x16var_c;
653 if (flags & HAS_NEON) vp9_get16x16var = vp9_get16x16var_neon;
654 vp9_get8x8var = vp9_get8x8var_c;
655 if (flags & HAS_NEON) vp9_get8x8var = vp9_get8x8var_neon;
656 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; 608 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c;
657 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon; 609 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon;
658 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; 610 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c;
659 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon; 611 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon;
660 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; 612 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c;
661 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon; 613 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon;
662 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; 614 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c;
663 if (flags & HAS_NEON) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_neon; 615 if (flags & HAS_NEON) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_neon;
664 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; 616 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
665 if (flags & HAS_NEON) vp9_idct16x16_10_add = vp9_idct16x16_10_add_neon; 617 if (flags & HAS_NEON) vp9_idct16x16_10_add = vp9_idct16x16_10_add_neon;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; 682 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c;
731 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; 683 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon;
732 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; 684 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c;
733 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; 685 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon;
734 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; 686 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c;
735 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; 687 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon;
736 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; 688 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c;
737 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; 689 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon;
738 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; 690 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c;
739 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; 691 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon;
740 vp9_variance16x16 = vp9_variance16x16_c;
741 if (flags & HAS_NEON) vp9_variance16x16 = vp9_variance16x16_neon;
742 vp9_variance32x32 = vp9_variance32x32_c;
743 if (flags & HAS_NEON) vp9_variance32x32 = vp9_variance32x32_neon;
744 vp9_variance32x64 = vp9_variance32x64_c;
745 if (flags & HAS_NEON) vp9_variance32x64 = vp9_variance32x64_neon;
746 vp9_variance64x32 = vp9_variance64x32_c;
747 if (flags & HAS_NEON) vp9_variance64x32 = vp9_variance64x32_neon;
748 vp9_variance64x64 = vp9_variance64x64_c;
749 if (flags & HAS_NEON) vp9_variance64x64 = vp9_variance64x64_neon;
750 vp9_variance8x8 = vp9_variance8x8_c;
751 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon;
752 } 692 }
753 #endif 693 #endif
754 694
755 #ifdef __cplusplus 695 #ifdef __cplusplus
756 } // extern "C" 696 } // extern "C"
757 #endif 697 #endif
758 698
759 #endif 699 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm-neon-cpu-detect/vp8_rtcd.h ('k') | source/config/linux/arm-neon-cpu-detect/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698