OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2012 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_ROTATE_ARGB_H_ // NOLINT | 11 #ifndef INCLUDE_LIBYUV_ROTATE_ARGB_H_ |
12 #define INCLUDE_LIBYUV_ROTATE_ARGB_H_ | 12 #define INCLUDE_LIBYUV_ROTATE_ARGB_H_ |
13 | 13 |
14 #include "libyuv/basic_types.h" | 14 #include "libyuv/basic_types.h" |
15 #include "libyuv/rotate.h" // For RotationMode. | 15 #include "libyuv/rotate.h" // For RotationMode. |
16 | 16 |
17 #ifdef __cplusplus | 17 #ifdef __cplusplus |
18 namespace libyuv { | 18 namespace libyuv { |
19 extern "C" { | 19 extern "C" { |
20 #endif | 20 #endif |
21 | 21 |
22 // Rotate ARGB frame | 22 // Rotate ARGB frame |
23 LIBYUV_API | 23 LIBYUV_API |
24 int ARGBRotate(const uint8* src_argb, int src_stride_argb, | 24 int ARGBRotate(const uint8* src_argb, int src_stride_argb, |
25 uint8* dst_argb, int dst_stride_argb, | 25 uint8* dst_argb, int dst_stride_argb, |
26 int src_width, int src_height, enum RotationMode mode); | 26 int src_width, int src_height, enum RotationMode mode); |
27 | 27 |
28 #ifdef __cplusplus | 28 #ifdef __cplusplus |
29 } // extern "C" | 29 } // extern "C" |
30 } // namespace libyuv | 30 } // namespace libyuv |
31 #endif | 31 #endif |
32 | 32 |
33 #endif // INCLUDE_LIBYUV_ROTATE_ARGB_H_ NOLINT | 33 #endif // INCLUDE_LIBYUV_ROTATE_ARGB_H_ |
OLD | NEW |