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_ROW_H_ // NOLINT | 11 #ifndef INCLUDE_LIBYUV_ROW_H_ // NOLINT |
12 #define INCLUDE_LIBYUV_ROW_H_ | 12 #define INCLUDE_LIBYUV_ROW_H_ |
13 | 13 |
14 #include <stdlib.h> // For malloc. | 14 #include <stdlib.h> // For malloc. |
15 | 15 |
16 #include "libyuv/basic_types.h" | 16 #include "basic_types.h" |
17 | 17 |
18 #ifdef __cplusplus | 18 #ifdef __cplusplus |
19 namespace libyuv { | 19 namespace libyuv { |
20 extern "C" { | 20 extern "C" { |
21 #endif | 21 #endif |
22 | 22 |
23 #define IS_ALIGNED(p, a) (!((uintptr_t)(p) & ((a) - 1))) | 23 #define IS_ALIGNED(p, a) (!((uintptr_t)(p) & ((a) - 1))) |
24 | 24 |
25 #ifdef __cplusplus | 25 #ifdef __cplusplus |
26 #define align_buffer_64(var, size) \ | 26 #define align_buffer_64(var, size) \ |
(...skipping 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1920 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, | 1920 void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb, |
1921 int width, | 1921 int width, |
1922 const uint8* luma, uint32 lumacoeff); | 1922 const uint8* luma, uint32 lumacoeff); |
1923 | 1923 |
1924 #ifdef __cplusplus | 1924 #ifdef __cplusplus |
1925 } // extern "C" | 1925 } // extern "C" |
1926 } // namespace libyuv | 1926 } // namespace libyuv |
1927 #endif | 1927 #endif |
1928 | 1928 |
1929 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT | 1929 #endif // INCLUDE_LIBYUV_ROW_H_ NOLINT |
OLD | NEW |