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

Side by Side Diff: third_party/libvpx_new/source/config/linux/arm-neon-cpu-detect/vp8_rtcd.h

Issue 1392983002: Roll src/third_party/libvpx_new/source/libvpx/ 7d28d12ef..ce3f4ade6 (56 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 void vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); 51 void vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
52 #define vp8_blend_mb_inner vp8_blend_mb_inner_c 52 #define vp8_blend_mb_inner vp8_blend_mb_inner_c
53 53
54 void vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); 54 void vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
55 #define vp8_blend_mb_outer vp8_blend_mb_outer_c 55 #define vp8_blend_mb_outer vp8_blend_mb_outer_c
56 56
57 int vp8_block_error_c(short *coeff, short *dqcoeff); 57 int vp8_block_error_c(short *coeff, short *dqcoeff);
58 #define vp8_block_error vp8_block_error_c 58 #define vp8_block_error vp8_block_error_c
59 59
60 void vp8_build_intra_predictors_mbuv_s_c(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vl eft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride);
61 void vp8_build_intra_predictors_mbuv_s_neon(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, i nt pred_stride);
62 RTCD_EXTERN void (*vp8_build_intra_predictors_mbuv_s)(struct macroblockd *x, uns igned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsi gned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vp red_ptr, int pred_stride);
63
64 void vp8_build_intra_predictors_mby_s_c(struct macroblockd *x, unsigned char * y above_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, in t y_stride);
65 void vp8_build_intra_predictors_mby_s_neon(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride);
66 RTCD_EXTERN void (*vp8_build_intra_predictors_mby_s)(struct macroblockd *x, unsi gned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride);
67
68 void vp8_clear_system_state_c(); 60 void vp8_clear_system_state_c();
69 #define vp8_clear_system_state vp8_clear_system_state_c 61 #define vp8_clear_system_state vp8_clear_system_state_c
70 62
71 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 63 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
72 void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 64 void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
73 void vp8_copy_mem16x16_neon(unsigned char *src, int src_pitch, unsigned char *ds t, int dst_pitch); 65 void vp8_copy_mem16x16_neon(unsigned char *src, int src_pitch, unsigned char *ds t, int dst_pitch);
74 RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char *src, int src_pitch, unsigne d char *dst, int dst_pitch); 66 RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char *src, int src_pitch, unsigne d char *dst, int dst_pitch);
75 67
76 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in t dst_pitch); 68 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, in t dst_pitch);
77 void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, i nt dst_pitch); 69 void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, i nt dst_pitch);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 120
129 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 121 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
130 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 122 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
131 123
132 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 124 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
133 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c 125 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
134 126
135 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); 127 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 #define vp8_full_search_sad vp8_full_search_sad_c 128 #define vp8_full_search_sad vp8_full_search_sad_c
137 129
138 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_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 #define vp8_intra4x4_predict vp8_intra4x4_predict_armv6
141
142 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);
143 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); 131 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_neon(unsigned char *y, unsigned char *u, unsigned char * v, int ystride, int uv_stride, struct loop_filter_info *lfi); 132 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 RTCD_EXTERN void (*vp8_loop_filter_bh)(unsigned char *y, unsigned char *u, unsig ned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 133 RTCD_EXTERN void (*vp8_loop_filter_bh)(unsigned char *y, unsigned char *u, unsig ned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
146 134
147 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); 135 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_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 136 void vp8_loop_filter_bv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
149 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); 137 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);
150 RTCD_EXTERN void (*vp8_loop_filter_bv)(unsigned char *y, unsigned char *u, unsig ned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 138 RTCD_EXTERN void (*vp8_loop_filter_bv)(unsigned char *y, unsigned char *u, unsig ned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
151 139
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 int flags = arm_cpu_caps(); 249 int flags = arm_cpu_caps();
262 250
263 (void)flags; 251 (void)flags;
264 252
265 vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_armv6; 253 vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_armv6;
266 if (flags & HAS_NEON) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ neon; 254 if (flags & HAS_NEON) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ neon;
267 vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_armv6; 255 vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_armv6;
268 if (flags & HAS_NEON) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_neon ; 256 if (flags & HAS_NEON) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_neon ;
269 vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_armv6; 257 vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_armv6;
270 if (flags & HAS_NEON) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_neon ; 258 if (flags & HAS_NEON) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_neon ;
271 vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_c;
272 if (flags & HAS_NEON) vp8_build_intra_predictors_mbuv_s = vp8_build_intra_pr edictors_mbuv_s_neon;
273 vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_c;
274 if (flags & HAS_NEON) vp8_build_intra_predictors_mby_s = vp8_build_intra_pre dictors_mby_s_neon;
275 vp8_copy_mem16x16 = vp8_copy_mem16x16_v6; 259 vp8_copy_mem16x16 = vp8_copy_mem16x16_v6;
276 if (flags & HAS_NEON) vp8_copy_mem16x16 = vp8_copy_mem16x16_neon; 260 if (flags & HAS_NEON) vp8_copy_mem16x16 = vp8_copy_mem16x16_neon;
277 vp8_copy_mem8x4 = vp8_copy_mem8x4_v6; 261 vp8_copy_mem8x4 = vp8_copy_mem8x4_v6;
278 if (flags & HAS_NEON) vp8_copy_mem8x4 = vp8_copy_mem8x4_neon; 262 if (flags & HAS_NEON) vp8_copy_mem8x4 = vp8_copy_mem8x4_neon;
279 vp8_copy_mem8x8 = vp8_copy_mem8x8_v6; 263 vp8_copy_mem8x8 = vp8_copy_mem8x8_v6;
280 if (flags & HAS_NEON) vp8_copy_mem8x8 = vp8_copy_mem8x8_neon; 264 if (flags & HAS_NEON) vp8_copy_mem8x8 = vp8_copy_mem8x8_neon;
281 vp8_dc_only_idct_add = vp8_dc_only_idct_add_v6; 265 vp8_dc_only_idct_add = vp8_dc_only_idct_add_v6;
282 if (flags & HAS_NEON) vp8_dc_only_idct_add = vp8_dc_only_idct_add_neon; 266 if (flags & HAS_NEON) vp8_dc_only_idct_add = vp8_dc_only_idct_add_neon;
283 vp8_denoiser_filter = vp8_denoiser_filter_c; 267 vp8_denoiser_filter = vp8_denoiser_filter_c;
284 if (flags & HAS_NEON) vp8_denoiser_filter = vp8_denoiser_filter_neon; 268 if (flags & HAS_NEON) vp8_denoiser_filter = vp8_denoiser_filter_neon;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_armv6; 311 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_armv6;
328 if (flags & HAS_NEON) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon; 312 if (flags & HAS_NEON) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon;
329 } 313 }
330 #endif 314 #endif
331 315
332 #ifdef __cplusplus 316 #ifdef __cplusplus
333 } // extern "C" 317 } // extern "C"
334 #endif 318 #endif
335 319
336 #endif 320 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698