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

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

Issue 442853003: libwebp: mips build fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drop internal bug reference Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « third_party/libwebp/dsp/cpu.c ('k') | third_party/libwebp/dsp/enc_mips32.c » ('j') | 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #endif 53 #endif
54 54
55 #if defined(__ANDROID__) && defined(__ARM_ARCH_7A__) 55 #if defined(__ANDROID__) && defined(__ARM_ARCH_7A__)
56 #define WEBP_ANDROID_NEON // Android targets that might support NEON 56 #define WEBP_ANDROID_NEON // Android targets that might support NEON
57 #endif 57 #endif
58 58
59 #if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) || defined(__aarch64__) 59 #if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) || defined(__aarch64__)
60 #define WEBP_USE_NEON 60 #define WEBP_USE_NEON
61 #endif 61 #endif
62 62
63 #if defined(__mips__) 63 #if defined(__mips__) && !defined(__mips64)
64 #define WEBP_USE_MIPS32 64 #define WEBP_USE_MIPS32
65 #endif 65 #endif
66 66
67 typedef enum { 67 typedef enum {
68 kSSE2, 68 kSSE2,
69 kSSE3, 69 kSSE3,
70 kAVX, 70 kAVX,
71 kAVX2, 71 kAVX2,
72 kNEON, 72 kNEON,
73 kMIPS32 73 kMIPS32
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 int width, int num_rows, int inverse); 264 int width, int num_rows, int inverse);
265 265
266 // To be called first before using the above. 266 // To be called first before using the above.
267 void WebPInitAlphaProcessing(void); 267 void WebPInitAlphaProcessing(void);
268 268
269 #ifdef __cplusplus 269 #ifdef __cplusplus
270 } // extern "C" 270 } // extern "C"
271 #endif 271 #endif
272 272
273 #endif /* WEBP_DSP_DSP_H_ */ 273 #endif /* WEBP_DSP_DSP_H_ */
OLDNEW
« no previous file with comments | « third_party/libwebp/dsp/cpu.c ('k') | third_party/libwebp/dsp/enc_mips32.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698