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_PLANAR_FUNCTIONS_H_ // NOLINT | 11 #ifndef INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ // NOLINT |
12 #define INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ | 12 #define INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ |
13 | 13 |
14 #include "libyuv/basic_types.h" | 14 #include "basic_types.h" |
15 | 15 |
16 // TODO(fbarchard): Remove the following headers includes. | 16 // TODO(fbarchard): Remove the following headers includes. |
17 #include "libyuv/convert.h" | 17 #include "convert.h" |
18 #include "libyuv/convert_argb.h" | 18 #include "convert_argb.h" |
19 | 19 |
20 #ifdef __cplusplus | 20 #ifdef __cplusplus |
21 namespace libyuv { | 21 namespace libyuv { |
22 extern "C" { | 22 extern "C" { |
23 #endif | 23 #endif |
24 | 24 |
25 // Copy a plane of data. | 25 // Copy a plane of data. |
26 LIBYUV_API | 26 LIBYUV_API |
27 void CopyPlane(const uint8* src_y, int src_stride_y, | 27 void CopyPlane(const uint8* src_y, int src_stride_y, |
28 uint8* dst_y, int dst_stride_y, | 28 uint8* dst_y, int dst_stride_y, |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 int ARGBSobelXY(const uint8* src_argb, int src_stride_argb, | 492 int ARGBSobelXY(const uint8* src_argb, int src_stride_argb, |
493 uint8* dst_argb, int dst_stride_argb, | 493 uint8* dst_argb, int dst_stride_argb, |
494 int width, int height); | 494 int width, int height); |
495 | 495 |
496 #ifdef __cplusplus | 496 #ifdef __cplusplus |
497 } // extern "C" | 497 } // extern "C" |
498 } // namespace libyuv | 498 } // namespace libyuv |
499 #endif | 499 #endif |
500 | 500 |
501 #endif // INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ NOLINT | 501 #endif // INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ NOLINT |
OLD | NEW |