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

Side by Side Diff: third_party/libwebp/dsp/dsp.h

Issue 153273005: libwep: cherry-pick fix for compilation to arm64 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix order of the patch descriptions Created 6 years, 10 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 | « third_party/libwebp/README.chromium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 Google Inc. All Rights Reserved. 1 // Copyright 2011 Google Inc. All Rights Reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license 3 // Use of this source code is governed by a BSD-style license
4 // that can be found in the COPYING file in the root of the source 4 // that can be found in the COPYING file in the root of the source
5 // tree. An additional intellectual property rights grant can be found 5 // tree. An additional intellectual property rights grant can be found
6 // in the file PATENTS. All contributing project authors may 6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree. 7 // be found in the AUTHORS file in the root of the source tree.
8 // ----------------------------------------------------------------------------- 8 // -----------------------------------------------------------------------------
9 // 9 //
10 // Speed-critical functions. 10 // Speed-critical functions.
(...skipping 18 matching lines...) Expand all
29 #endif 29 #endif
30 30
31 #if defined(__SSE2__) || defined(WEBP_MSC_SSE2) 31 #if defined(__SSE2__) || defined(WEBP_MSC_SSE2)
32 #define WEBP_USE_SSE2 32 #define WEBP_USE_SSE2
33 #endif 33 #endif
34 34
35 #if defined(__ANDROID__) && defined(__ARM_ARCH_7A__) 35 #if defined(__ANDROID__) && defined(__ARM_ARCH_7A__)
36 #define WEBP_ANDROID_NEON // Android targets that might support NEON 36 #define WEBP_ANDROID_NEON // Android targets that might support NEON
37 #endif 37 #endif
38 38
39 #if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) 39 #if (defined(__ARM_NEON__) && !defined(__aarch64__)) || \
40 defined(WEBP_ANDROID_NEON)
40 #define WEBP_USE_NEON 41 #define WEBP_USE_NEON
41 #endif 42 #endif
42 43
43 typedef enum { 44 typedef enum {
44 kSSE2, 45 kSSE2,
45 kSSE3, 46 kSSE3,
46 kNEON 47 kNEON
47 } CPUFeature; 48 } CPUFeature;
48 // returns true if the CPU supports the feature. 49 // returns true if the CPU supports the feature.
49 typedef int (*VP8CPUInfo)(CPUFeature feature); 50 typedef int (*VP8CPUInfo)(CPUFeature feature);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void WebPInitPremultiplySSE2(void); // should not be called directly. 216 void WebPInitPremultiplySSE2(void); // should not be called directly.
216 void WebPInitPremultiplyNEON(void); 217 void WebPInitPremultiplyNEON(void);
217 218
218 //------------------------------------------------------------------------------ 219 //------------------------------------------------------------------------------
219 220
220 #ifdef __cplusplus 221 #ifdef __cplusplus
221 } // extern "C" 222 } // extern "C"
222 #endif 223 #endif
223 224
224 #endif /* WEBP_DSP_DSP_H_ */ 225 #endif /* WEBP_DSP_DSP_H_ */
OLDNEW
« no previous file with comments | « third_party/libwebp/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698