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

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

Issue 2114843002: API for deinterlacing YUV420 output on Android (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: lint fixes for spacing Created 4 years, 5 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 | « no previous file | source/convert.cc » ('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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 int width, int height); 111 int width, int height);
112 112
113 // Convert M420 to I420. 113 // Convert M420 to I420.
114 LIBYUV_API 114 LIBYUV_API
115 int M420ToI420(const uint8* src_m420, int src_stride_m420, 115 int M420ToI420(const uint8* src_m420, int src_stride_m420,
116 uint8* dst_y, int dst_stride_y, 116 uint8* dst_y, int dst_stride_y,
117 uint8* dst_u, int dst_stride_u, 117 uint8* dst_u, int dst_stride_u,
118 uint8* dst_v, int dst_stride_v, 118 uint8* dst_v, int dst_stride_v,
119 int width, int height); 119 int width, int height);
120 120
121 // Convert Android420 to I420.
122 LIBYUV_API
123 int Android420ToI420(const uint8* src_y, int src_stride_y,
124 const uint8* src_u, int src_stride_u,
125 const uint8* src_v, int src_stride_v,
126 int pixel_stride_uv,
127 uint8* dst_y, int dst_stride_y,
128 uint8* dst_u, int dst_stride_u,
129 uint8* dst_v, int dst_stride_v,
130 int width, int height);
131
121 // ARGB little endian (bgra in memory) to I420. 132 // ARGB little endian (bgra in memory) to I420.
122 LIBYUV_API 133 LIBYUV_API
123 int ARGBToI420(const uint8* src_frame, int src_stride_frame, 134 int ARGBToI420(const uint8* src_frame, int src_stride_frame,
124 uint8* dst_y, int dst_stride_y, 135 uint8* dst_y, int dst_stride_y,
125 uint8* dst_u, int dst_stride_u, 136 uint8* dst_u, int dst_stride_u,
126 uint8* dst_v, int dst_stride_v, 137 uint8* dst_v, int dst_stride_v,
127 int width, int height); 138 int width, int height);
128 139
129 // BGRA little endian (argb in memory) to I420. 140 // BGRA little endian (argb in memory) to I420.
130 LIBYUV_API 141 LIBYUV_API
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 int crop_width, int crop_height, 250 int crop_width, int crop_height,
240 enum RotationMode rotation, 251 enum RotationMode rotation,
241 uint32 format); 252 uint32 format);
242 253
243 #ifdef __cplusplus 254 #ifdef __cplusplus
244 } // extern "C" 255 } // extern "C"
245 } // namespace libyuv 256 } // namespace libyuv
246 #endif 257 #endif
247 258
248 #endif // INCLUDE_LIBYUV_CONVERT_H_ NOLINT 259 #endif // INCLUDE_LIBYUV_CONVERT_H_ NOLINT
OLDNEW
« no previous file with comments | « no previous file | source/convert.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698