| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef INCLUDE_LIBYUV_BASIC_TYPES_H_ // NOLINT | 11 #ifndef INCLUDE_LIBYUV_BASIC_TYPES_H_ |
| 12 #define INCLUDE_LIBYUV_BASIC_TYPES_H_ | 12 #define INCLUDE_LIBYUV_BASIC_TYPES_H_ |
| 13 | 13 |
| 14 #include <stddef.h> // for NULL, size_t | 14 #include <stddef.h> // for NULL, size_t |
| 15 | 15 |
| 16 #if defined(_MSC_VER) && (_MSC_VER < 1600) | 16 #if defined(_MSC_VER) && (_MSC_VER < 1600) |
| 17 #include <sys/types.h> // for uintptr_t on x86 | 17 #include <sys/types.h> // for uintptr_t on x86 |
| 18 #else | 18 #else |
| 19 #include <stdint.h> // for uintptr_t | 19 #include <stdint.h> // for uintptr_t |
| 20 #endif | 20 #endif |
| 21 | 21 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 #define LIBYUV_TRUE 1 | 108 #define LIBYUV_TRUE 1 |
| 109 | 109 |
| 110 // Visual C x86 or GCC little endian. | 110 // Visual C x86 or GCC little endian. |
| 111 #if defined(__x86_64__) || defined(_M_X64) || \ | 111 #if defined(__x86_64__) || defined(_M_X64) || \ |
| 112 defined(__i386__) || defined(_M_IX86) || \ | 112 defined(__i386__) || defined(_M_IX86) || \ |
| 113 defined(__arm__) || defined(_M_ARM) || \ | 113 defined(__arm__) || defined(_M_ARM) || \ |
| 114 (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) | 114 (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) |
| 115 #define LIBYUV_LITTLE_ENDIAN | 115 #define LIBYUV_LITTLE_ENDIAN |
| 116 #endif | 116 #endif |
| 117 | 117 |
| 118 #endif // INCLUDE_LIBYUV_BASIC_TYPES_H_ NOLINT | 118 #endif // INCLUDE_LIBYUV_BASIC_TYPES_H_ |
| OLD | NEW |