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

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

Issue 2362513003: Roll src/third_party/libvpx/source/libvpx/ 4282d2935..99ef84c65 (29 commits). (Closed)
Patch Set: use correct option (--disable-*install*-docs) Created 4 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 13 matching lines...) Expand all
24 24
25 #ifdef __cplusplus 25 #ifdef __cplusplus
26 extern "C" { 26 extern "C" {
27 #endif 27 #endif
28 28
29 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i nt yofst, unsigned char *dst, int dst_pitch); 29 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i nt yofst, unsigned char *dst, int dst_pitch);
30 void vp8_bilinear_predict16x16_neon(unsigned char *src, int src_pitch, int xofst , int yofst, unsigned char *dst, int dst_pitch); 30 void vp8_bilinear_predict16x16_neon(unsigned char *src, int src_pitch, int xofst , int yofst, unsigned char *dst, int dst_pitch);
31 RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 31 RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
32 32
33 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 33 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
34 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c 34 void vp8_bilinear_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
35 RTCD_EXTERN void (*vp8_bilinear_predict4x4)(unsigned char *src, int src_pitch, i nt xofst, int yofst, unsigned char *dst, int dst_pitch);
35 36
36 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 37 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
37 void vp8_bilinear_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 38 void vp8_bilinear_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
38 RTCD_EXTERN void (*vp8_bilinear_predict8x4)(unsigned char *src, int src_pitch, i nt xofst, int yofst, unsigned char *dst, int dst_pitch); 39 RTCD_EXTERN void (*vp8_bilinear_predict8x4)(unsigned char *src, int src_pitch, i nt xofst, int yofst, unsigned char *dst, int dst_pitch);
39 40
40 void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 41 void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
41 void vp8_bilinear_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 42 void vp8_bilinear_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
42 RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src, int src_pitch, i nt xofst, int yofst, unsigned char *dst, int dst_pitch); 43 RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src, int src_pitch, i nt xofst, int yofst, unsigned char *dst, int dst_pitch);
43 44
44 void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); 45 void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 #ifdef RTCD_C 205 #ifdef RTCD_C
205 #include "vpx_ports/arm.h" 206 #include "vpx_ports/arm.h"
206 static void setup_rtcd_internal(void) 207 static void setup_rtcd_internal(void)
207 { 208 {
208 int flags = arm_cpu_caps(); 209 int flags = arm_cpu_caps();
209 210
210 (void)flags; 211 (void)flags;
211 212
212 vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_c; 213 vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_c;
213 if (flags & HAS_NEON) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ neon; 214 if (flags & HAS_NEON) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ neon;
215 vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_c;
216 if (flags & HAS_NEON) vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_neon ;
214 vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_c; 217 vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_c;
215 if (flags & HAS_NEON) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_neon ; 218 if (flags & HAS_NEON) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_neon ;
216 vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_c; 219 vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_c;
217 if (flags & HAS_NEON) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_neon ; 220 if (flags & HAS_NEON) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_neon ;
218 vp8_copy_mem16x16 = vp8_copy_mem16x16_c; 221 vp8_copy_mem16x16 = vp8_copy_mem16x16_c;
219 if (flags & HAS_NEON) vp8_copy_mem16x16 = vp8_copy_mem16x16_neon; 222 if (flags & HAS_NEON) vp8_copy_mem16x16 = vp8_copy_mem16x16_neon;
220 vp8_copy_mem8x4 = vp8_copy_mem8x4_c; 223 vp8_copy_mem8x4 = vp8_copy_mem8x4_c;
221 if (flags & HAS_NEON) vp8_copy_mem8x4 = vp8_copy_mem8x4_neon; 224 if (flags & HAS_NEON) vp8_copy_mem8x4 = vp8_copy_mem8x4_neon;
222 vp8_copy_mem8x8 = vp8_copy_mem8x8_c; 225 vp8_copy_mem8x8 = vp8_copy_mem8x8_c;
223 if (flags & HAS_NEON) vp8_copy_mem8x8 = vp8_copy_mem8x8_neon; 226 if (flags & HAS_NEON) vp8_copy_mem8x8 = vp8_copy_mem8x8_neon;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_c; 273 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_c;
271 if (flags & HAS_NEON) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon; 274 if (flags & HAS_NEON) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon;
272 } 275 }
273 #endif 276 #endif
274 277
275 #ifdef __cplusplus 278 #ifdef __cplusplus
276 } // extern "C" 279 } // extern "C"
277 #endif 280 #endif
278 281
279 #endif 282 #endif
OLDNEW
« no previous file with comments | « third_party/libvpx/libvpx_srcs.gni ('k') | third_party/libvpx/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