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

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

Issue 2406123002: Remove I411 support, update doc and switch to side by side test (Closed)
Patch Set: bump version, disable a few lint warnings Created 4 years, 2 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 | « docs/formats.md ('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
(...skipping 27 matching lines...) Expand all
38 // Convert I422 to I420. 38 // Convert I422 to I420.
39 LIBYUV_API 39 LIBYUV_API
40 int I422ToI420(const uint8* src_y, int src_stride_y, 40 int I422ToI420(const uint8* src_y, int src_stride_y,
41 const uint8* src_u, int src_stride_u, 41 const uint8* src_u, int src_stride_u,
42 const uint8* src_v, int src_stride_v, 42 const uint8* src_v, int src_stride_v,
43 uint8* dst_y, int dst_stride_y, 43 uint8* dst_y, int dst_stride_y,
44 uint8* dst_u, int dst_stride_u, 44 uint8* dst_u, int dst_stride_u,
45 uint8* dst_v, int dst_stride_v, 45 uint8* dst_v, int dst_stride_v,
46 int width, int height); 46 int width, int height);
47 47
48 // Convert I411 to I420.
49 LIBYUV_API
50 int I411ToI420(const uint8* src_y, int src_stride_y,
51 const uint8* src_u, int src_stride_u,
52 const uint8* src_v, int src_stride_v,
53 uint8* dst_y, int dst_stride_y,
54 uint8* dst_u, int dst_stride_u,
55 uint8* dst_v, int dst_stride_v,
56 int width, int height);
57
58 // Copy I420 to I420. 48 // Copy I420 to I420.
59 #define I420ToI420 I420Copy 49 #define I420ToI420 I420Copy
60 LIBYUV_API 50 LIBYUV_API
61 int I420Copy(const uint8* src_y, int src_stride_y, 51 int I420Copy(const uint8* src_y, int src_stride_y,
62 const uint8* src_u, int src_stride_u, 52 const uint8* src_u, int src_stride_u,
63 const uint8* src_v, int src_stride_v, 53 const uint8* src_v, int src_stride_v,
64 uint8* dst_y, int dst_stride_y, 54 uint8* dst_y, int dst_stride_y,
65 uint8* dst_u, int dst_stride_u, 55 uint8* dst_u, int dst_stride_u,
66 uint8* dst_v, int dst_stride_v, 56 uint8* dst_v, int dst_stride_v,
67 int width, int height); 57 int width, int height);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 int crop_width, int crop_height, 240 int crop_width, int crop_height,
251 enum RotationMode rotation, 241 enum RotationMode rotation,
252 uint32 format); 242 uint32 format);
253 243
254 #ifdef __cplusplus 244 #ifdef __cplusplus
255 } // extern "C" 245 } // extern "C"
256 } // namespace libyuv 246 } // namespace libyuv
257 #endif 247 #endif
258 248
259 #endif // INCLUDE_LIBYUV_CONVERT_H_ 249 #endif // INCLUDE_LIBYUV_CONVERT_H_
OLDNEW
« no previous file with comments | « docs/formats.md ('k') | include/libyuv/convert_argb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698