| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ */ |
| OLD | NEW |