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

Side by Side Diff: source/config/linux/arm64/vpx_dsp_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/arm64/vpx_config.c ('k') | source/config/linux/generic/vp8_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 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 /*
11 * DSP 11 * DSP
12 */ 12 */
13 13
14 #include "vpx/vpx_integer.h" 14 #include "vpx/vpx_integer.h"
15 15
16 16
17 #ifdef __cplusplus 17 #ifdef __cplusplus
18 extern "C" { 18 extern "C" {
19 #endif 19 #endif
20 20
21 void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride);
22 #define vpx_comp_avg_pred vpx_comp_avg_pred_c
23
24 void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
25 void vpx_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
26 #define vpx_get16x16var vpx_get16x16var_neon
27
28 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
29 unsigned int vpx_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride);
30 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_neon
31
32 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum);
33 void vpx_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
34 #define vpx_get8x8var vpx_get8x8var_neon
35
36 unsigned int vpx_get_mb_ss_c(const int16_t *);
37 #define vpx_get_mb_ss vpx_get_mb_ss_c
38
39 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
40 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
41 #define vpx_mse16x16 vpx_mse16x16_neon
42
43 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
44 #define vpx_mse16x8 vpx_mse16x8_c
45
46 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
47 #define vpx_mse8x16 vpx_mse8x16_c
48
49 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
50 #define vpx_mse8x8 vpx_mse8x8_c
51
21 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride); 52 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
22 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride); 53 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
23 #define vpx_sad16x16 vpx_sad16x16_neon 54 #define vpx_sad16x16 vpx_sad16x16_neon
24 55
25 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 56 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
26 #define vpx_sad16x16_avg vpx_sad16x16_avg_c 57 #define vpx_sad16x16_avg vpx_sad16x16_avg_c
27 58
28 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 59 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
29 #define vpx_sad16x16x3 vpx_sad16x16x3_c 60 #define vpx_sad16x16x3 vpx_sad16x16x3_c
30 61
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 217
187 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 218 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
188 #define vpx_sad8x8x3 vpx_sad8x8x3_c 219 #define vpx_sad8x8x3 vpx_sad8x8x3_c
189 220
190 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array); 221 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array);
191 #define vpx_sad8x8x4d vpx_sad8x8x4d_c 222 #define vpx_sad8x8x4d vpx_sad8x8x4d_c
192 223
193 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 224 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
194 #define vpx_sad8x8x8 vpx_sad8x8x8_c 225 #define vpx_sad8x8x8 vpx_sad8x8x8_c
195 226
227 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
228 unsigned int vpx_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
229 #define vpx_variance16x16 vpx_variance16x16_neon
230
231 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
232 #define vpx_variance16x32 vpx_variance16x32_c
233
234 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
235 unsigned int vpx_variance16x8_neon(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
236 #define vpx_variance16x8 vpx_variance16x8_neon
237
238 unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
239 #define vpx_variance32x16 vpx_variance32x16_c
240
241 unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
242 unsigned int vpx_variance32x32_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
243 #define vpx_variance32x32 vpx_variance32x32_neon
244
245 unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
246 unsigned int vpx_variance32x64_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
247 #define vpx_variance32x64 vpx_variance32x64_neon
248
249 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
250 #define vpx_variance4x4 vpx_variance4x4_c
251
252 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
253 #define vpx_variance4x8 vpx_variance4x8_c
254
255 unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
256 unsigned int vpx_variance64x32_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
257 #define vpx_variance64x32 vpx_variance64x32_neon
258
259 unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
260 unsigned int vpx_variance64x64_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
261 #define vpx_variance64x64 vpx_variance64x64_neon
262
263 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
264 unsigned int vpx_variance8x16_neon(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
265 #define vpx_variance8x16 vpx_variance8x16_neon
266
267 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
268 #define vpx_variance8x4 vpx_variance8x4_c
269
270 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
271 unsigned int vpx_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
272 #define vpx_variance8x8 vpx_variance8x8_neon
273
196 void vpx_dsp_rtcd(void); 274 void vpx_dsp_rtcd(void);
197 275
198 #include "vpx_config.h" 276 #include "vpx_config.h"
199 277
200 #ifdef RTCD_C 278 #ifdef RTCD_C
201 #include "vpx_ports/arm.h" 279 #include "vpx_ports/arm.h"
202 static void setup_rtcd_internal(void) 280 static void setup_rtcd_internal(void)
203 { 281 {
204 int flags = arm_cpu_caps(); 282 int flags = arm_cpu_caps();
205 283
206 (void)flags; 284 (void)flags;
207 285
208 } 286 }
209 #endif 287 #endif
210 288
211 #ifdef __cplusplus 289 #ifdef __cplusplus
212 } // extern "C" 290 } // extern "C"
213 #endif 291 #endif
214 292
215 #endif 293 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm64/vpx_config.c ('k') | source/config/linux/generic/vp8_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698