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

Side by Side Diff: third_party/libvpx_new/source/config/linux/arm-neon-cpu-detect/vpx_dsp_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 VPX_DSP_RTCD_H_ 1 #ifndef VPX_DSP_RTCD_H_
2 #define VPX_DSP_RTCD_H_ 2 #define VPX_DSP_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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c 111 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c
112 112
113 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 113 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
114 void vpx_d45_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 114 void vpx_d45_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
115 RTCD_EXTERN void (*vpx_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 115 RTCD_EXTERN void (*vpx_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
116 116
117 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 117 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
118 void vpx_d45_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 118 void vpx_d45_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
119 RTCD_EXTERN void (*vpx_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 119 RTCD_EXTERN void (*vpx_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
120 120
121 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
122 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c
123
121 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 124 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
122 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c 125 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c
123 126
124 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 127 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
125 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c 128 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c
126 129
127 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 130 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
128 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c 131 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c
129 132
130 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 133 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
131 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c 134 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c
132 135
136 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
137 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c
138
133 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 139 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
134 void vpx_dc_128_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left); 140 void vpx_dc_128_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
135 RTCD_EXTERN void (*vpx_dc_128_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 141 RTCD_EXTERN void (*vpx_dc_128_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
136 142
137 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 143 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
138 void vpx_dc_128_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left); 144 void vpx_dc_128_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
139 RTCD_EXTERN void (*vpx_dc_128_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 145 RTCD_EXTERN void (*vpx_dc_128_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
140 146
141 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 147 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
142 void vpx_dc_128_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 148 void vpx_dc_128_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 253 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
248 254
249 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 255 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
250 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 256 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
251 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 257 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
252 258
253 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 259 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
254 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 260 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
255 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 261 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
256 262
263 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
264 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
265
257 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide); 266 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
258 void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_ stride); 267 void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_ stride);
259 RTCD_EXTERN void (*vpx_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest, int dest_stride); 268 RTCD_EXTERN void (*vpx_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
260 269
261 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de); 270 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
262 void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s tride); 271 void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s tride);
263 RTCD_EXTERN void (*vpx_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest, int dest_stride); 272 RTCD_EXTERN void (*vpx_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
264 273
265 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride); 274 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride);
266 void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest _stride); 275 void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest _stride);
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_media 745 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_media
737 746
738 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 747 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
739 uint32_t vpx_variance_halfpixvar16x16_hv_media(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 748 uint32_t vpx_variance_halfpixvar16x16_hv_media(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
740 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media 749 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media
741 750
742 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 751 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
743 uint32_t vpx_variance_halfpixvar16x16_v_media(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 752 uint32_t vpx_variance_halfpixvar16x16_v_media(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
744 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media 753 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media
745 754
755 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
756 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
757
746 void vpx_dsp_rtcd(void); 758 void vpx_dsp_rtcd(void);
747 759
748 #include "vpx_config.h" 760 #include "vpx_config.h"
749 761
750 #ifdef RTCD_C 762 #ifdef RTCD_C
751 #include "vpx_ports/arm.h" 763 #include "vpx_ports/arm.h"
752 static void setup_rtcd_internal(void) 764 static void setup_rtcd_internal(void)
753 { 765 {
754 int flags = arm_cpu_caps(); 766 int flags = arm_cpu_caps();
755 767
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 vpx_variance8x8 = vpx_variance8x8_media; 950 vpx_variance8x8 = vpx_variance8x8_media;
939 if (flags & HAS_NEON) vpx_variance8x8 = vpx_variance8x8_neon; 951 if (flags & HAS_NEON) vpx_variance8x8 = vpx_variance8x8_neon;
940 } 952 }
941 #endif 953 #endif
942 954
943 #ifdef __cplusplus 955 #ifdef __cplusplus
944 } // extern "C" 956 } // extern "C"
945 #endif 957 #endif
946 958
947 #endif 959 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698