Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: include/libyuv/convert.h

Issue 2006943002: remove includes for duplicate functions (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: tried removing row.h but its needed for alloc Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « README.chromium ('k') | include/libyuv/convert_argb.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CONVERT_H_ // NOLINT 11 #ifndef INCLUDE_LIBYUV_CONVERT_H_ // NOLINT
12 #define INCLUDE_LIBYUV_CONVERT_H_ 12 #define INCLUDE_LIBYUV_CONVERT_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 #ifdef __cplusplus 18 #ifdef __cplusplus
21 namespace libyuv { 19 namespace libyuv {
22 extern "C" { 20 extern "C" {
23 #endif 21 #endif
24 22
25 // Convert I444 to I420. 23 // Convert I444 to I420.
26 LIBYUV_API 24 LIBYUV_API
27 int I444ToI420(const uint8* src_y, int src_stride_y, 25 int I444ToI420(const uint8* src_y, int src_stride_y,
28 const uint8* src_u, int src_stride_u, 26 const uint8* src_u, int src_stride_u,
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 int crop_width, int crop_height, 234 int crop_width, int crop_height,
237 enum RotationMode rotation, 235 enum RotationMode rotation,
238 uint32 format); 236 uint32 format);
239 237
240 #ifdef __cplusplus 238 #ifdef __cplusplus
241 } // extern "C" 239 } // extern "C"
242 } // namespace libyuv 240 } // namespace libyuv
243 #endif 241 #endif
244 242
245 #endif // INCLUDE_LIBYUV_CONVERT_H_ NOLINT 243 #endif // INCLUDE_LIBYUV_CONVERT_H_ NOLINT
OLDNEW
« no previous file with comments | « README.chromium ('k') | include/libyuv/convert_argb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698