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

Side by Side Diff: source/config/linux/arm/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/arm/vpx_config.c ('k') | source/config/linux/arm64/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 #define vpx_get16x16var vpx_get16x16var_c
26
27 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
28 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_c
29
30 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);
31 #define vpx_get8x8var vpx_get8x8var_c
32
33 unsigned int vpx_get_mb_ss_c(const int16_t *);
34 #define vpx_get_mb_ss vpx_get_mb_ss_c
35
36 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);
37 unsigned int vpx_mse16x16_media(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
38 #define vpx_mse16x16 vpx_mse16x16_media
39
40 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);
41 #define vpx_mse16x8 vpx_mse16x8_c
42
43 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);
44 #define vpx_mse8x16 vpx_mse8x16_c
45
46 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);
47 #define vpx_mse8x8 vpx_mse8x8_c
48
21 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride); 49 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_media(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride); 50 unsigned int vpx_sad16x16_media(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride);
23 #define vpx_sad16x16 vpx_sad16x16_media 51 #define vpx_sad16x16 vpx_sad16x16_media
24 52
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); 53 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 54 #define vpx_sad16x16_avg vpx_sad16x16_avg_c
27 55
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); 56 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 57 #define vpx_sad16x16x3 vpx_sad16x16x3_c
30 58
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 205
178 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); 206 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);
179 #define vpx_sad8x8x3 vpx_sad8x8x3_c 207 #define vpx_sad8x8x3 vpx_sad8x8x3_c
180 208
181 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); 209 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);
182 #define vpx_sad8x8x4d vpx_sad8x8x4d_c 210 #define vpx_sad8x8x4d vpx_sad8x8x4d_c
183 211
184 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); 212 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);
185 #define vpx_sad8x8x8 vpx_sad8x8x8_c 213 #define vpx_sad8x8x8 vpx_sad8x8x8_c
186 214
215 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);
216 unsigned int vpx_variance16x16_media(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
217 #define vpx_variance16x16 vpx_variance16x16_media
218
219 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);
220 #define vpx_variance16x32 vpx_variance16x32_c
221
222 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
223 #define vpx_variance16x8 vpx_variance16x8_c
224
225 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);
226 #define vpx_variance32x16 vpx_variance32x16_c
227
228 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);
229 #define vpx_variance32x32 vpx_variance32x32_c
230
231 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);
232 #define vpx_variance32x64 vpx_variance32x64_c
233
234 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
235 #define vpx_variance4x4 vpx_variance4x4_c
236
237 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
238 #define vpx_variance4x8 vpx_variance4x8_c
239
240 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);
241 #define vpx_variance64x32 vpx_variance64x32_c
242
243 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);
244 #define vpx_variance64x64 vpx_variance64x64_c
245
246 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
247 #define vpx_variance8x16 vpx_variance8x16_c
248
249 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
250 #define vpx_variance8x4 vpx_variance8x4_c
251
252 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
253 unsigned int vpx_variance8x8_media(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
254 #define vpx_variance8x8 vpx_variance8x8_media
255
187 void vpx_dsp_rtcd(void); 256 void vpx_dsp_rtcd(void);
188 257
189 #include "vpx_config.h" 258 #include "vpx_config.h"
190 259
191 #ifdef RTCD_C 260 #ifdef RTCD_C
192 #include "vpx_ports/arm.h" 261 #include "vpx_ports/arm.h"
193 static void setup_rtcd_internal(void) 262 static void setup_rtcd_internal(void)
194 { 263 {
195 int flags = arm_cpu_caps(); 264 int flags = arm_cpu_caps();
196 265
197 (void)flags; 266 (void)flags;
198 267
199 } 268 }
200 #endif 269 #endif
201 270
202 #ifdef __cplusplus 271 #ifdef __cplusplus
203 } // extern "C" 272 } // extern "C"
204 #endif 273 #endif
205 274
206 #endif 275 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm/vpx_config.c ('k') | source/config/linux/arm64/vp8_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698