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 |
(...skipping 24 matching lines...) Expand all Loading... |
35 int width, int height); | 35 int width, int height); |
36 | 36 |
37 // Convert I420 to ARGB. | 37 // Convert I420 to ARGB. |
38 LIBYUV_API | 38 LIBYUV_API |
39 int I420ToARGB(const uint8* src_y, int src_stride_y, | 39 int I420ToARGB(const uint8* src_y, int src_stride_y, |
40 const uint8* src_u, int src_stride_u, | 40 const uint8* src_u, int src_stride_u, |
41 const uint8* src_v, int src_stride_v, | 41 const uint8* src_v, int src_stride_v, |
42 uint8* dst_argb, int dst_stride_argb, | 42 uint8* dst_argb, int dst_stride_argb, |
43 int width, int height); | 43 int width, int height); |
44 | 44 |
| 45 // Duplicate prototype for function in convert_from.h for remoting. |
| 46 LIBYUV_API |
| 47 int I420ToABGR(const uint8* src_y, int src_stride_y, |
| 48 const uint8* src_u, int src_stride_u, |
| 49 const uint8* src_v, int src_stride_v, |
| 50 uint8* dst_argb, int dst_stride_argb, |
| 51 int width, int height); |
| 52 |
45 // Convert I422 to ARGB. | 53 // Convert I422 to ARGB. |
46 LIBYUV_API | 54 LIBYUV_API |
47 int I422ToARGB(const uint8* src_y, int src_stride_y, | 55 int I422ToARGB(const uint8* src_y, int src_stride_y, |
48 const uint8* src_u, int src_stride_u, | 56 const uint8* src_u, int src_stride_u, |
49 const uint8* src_v, int src_stride_v, | 57 const uint8* src_v, int src_stride_v, |
50 uint8* dst_argb, int dst_stride_argb, | 58 uint8* dst_argb, int dst_stride_argb, |
51 int width, int height); | 59 int width, int height); |
52 | 60 |
53 // Convert I444 to ARGB. | 61 // Convert I444 to ARGB. |
54 LIBYUV_API | 62 LIBYUV_API |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 int crop_width, int crop_height, | 310 int crop_width, int crop_height, |
303 enum RotationMode rotation, | 311 enum RotationMode rotation, |
304 uint32 format); | 312 uint32 format); |
305 | 313 |
306 #ifdef __cplusplus | 314 #ifdef __cplusplus |
307 } // extern "C" | 315 } // extern "C" |
308 } // namespace libyuv | 316 } // namespace libyuv |
309 #endif | 317 #endif |
310 | 318 |
311 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT | 319 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT |
OLD | NEW |