| 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_CONVERT_ARGB_H_ // NOLINT | 11 #ifndef INCLUDE_LIBYUV_CONVERT_ARGB_H_ // NOLINT |
| 12 #define INCLUDE_LIBYUV_CONVERT_ARGB_H_ | 12 #define INCLUDE_LIBYUV_CONVERT_ARGB_H_ |
| 13 | 13 |
| 14 #include "libyuv/basic_types.h" | 14 #include "libyuv/basic_types.h" |
| 15 // TODO(fbarchard): Remove the following headers includes | 15 |
| 16 #include "libyuv/convert_from.h" | 16 #include "libyuv/rotate.h" // For enum RotationMode. |
| 17 #include "libyuv/planar_functions.h" | |
| 18 #include "libyuv/rotate.h" | |
| 19 | 17 |
| 20 // TODO(fbarchard): This set of functions should exactly match convert.h | 18 // TODO(fbarchard): This set of functions should exactly match convert.h |
| 21 // TODO(fbarchard): Add tests. Create random content of right size and convert | 19 // TODO(fbarchard): Add tests. Create random content of right size and convert |
| 22 // with C vs Opt and or to I420 and compare. | 20 // with C vs Opt and or to I420 and compare. |
| 23 // TODO(fbarchard): Some of these functions lack parameter setting. | 21 // TODO(fbarchard): Some of these functions lack parameter setting. |
| 24 | 22 |
| 25 #ifdef __cplusplus | 23 #ifdef __cplusplus |
| 26 namespace libyuv { | 24 namespace libyuv { |
| 27 extern "C" { | 25 extern "C" { |
| 28 #endif | 26 #endif |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 int crop_width, int crop_height, | 302 int crop_width, int crop_height, |
| 305 enum RotationMode rotation, | 303 enum RotationMode rotation, |
| 306 uint32 format); | 304 uint32 format); |
| 307 | 305 |
| 308 #ifdef __cplusplus | 306 #ifdef __cplusplus |
| 309 } // extern "C" | 307 } // extern "C" |
| 310 } // namespace libyuv | 308 } // namespace libyuv |
| 311 #endif | 309 #endif |
| 312 | 310 |
| 313 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT | 311 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT |
| OLD | NEW |