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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 int width, int height); | 53 int width, int height); |
54 | 54 |
55 // Convert I444 to ARGB. | 55 // Convert I444 to ARGB. |
56 LIBYUV_API | 56 LIBYUV_API |
57 int I444ToARGB(const uint8* src_y, int src_stride_y, | 57 int I444ToARGB(const uint8* src_y, int src_stride_y, |
58 const uint8* src_u, int src_stride_u, | 58 const uint8* src_u, int src_stride_u, |
59 const uint8* src_v, int src_stride_v, | 59 const uint8* src_v, int src_stride_v, |
60 uint8* dst_argb, int dst_stride_argb, | 60 uint8* dst_argb, int dst_stride_argb, |
61 int width, int height); | 61 int width, int height); |
62 | 62 |
| 63 // Convert J444 to ARGB. |
| 64 LIBYUV_API |
| 65 int J444ToARGB(const uint8* src_y, int src_stride_y, |
| 66 const uint8* src_u, int src_stride_u, |
| 67 const uint8* src_v, int src_stride_v, |
| 68 uint8* dst_argb, int dst_stride_argb, |
| 69 int width, int height); |
| 70 |
63 // Convert I444 to ABGR. | 71 // Convert I444 to ABGR. |
64 LIBYUV_API | 72 LIBYUV_API |
65 int I444ToABGR(const uint8* src_y, int src_stride_y, | 73 int I444ToABGR(const uint8* src_y, int src_stride_y, |
66 const uint8* src_u, int src_stride_u, | 74 const uint8* src_u, int src_stride_u, |
67 const uint8* src_v, int src_stride_v, | 75 const uint8* src_v, int src_stride_v, |
68 uint8* dst_abgr, int dst_stride_abgr, | 76 uint8* dst_abgr, int dst_stride_abgr, |
69 int width, int height); | 77 int width, int height); |
70 | 78 |
71 // Convert I411 to ARGB. | 79 // Convert I411 to ARGB. |
72 LIBYUV_API | 80 LIBYUV_API |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 int crop_width, int crop_height, | 304 int crop_width, int crop_height, |
297 enum RotationMode rotation, | 305 enum RotationMode rotation, |
298 uint32 format); | 306 uint32 format); |
299 | 307 |
300 #ifdef __cplusplus | 308 #ifdef __cplusplus |
301 } // extern "C" | 309 } // extern "C" |
302 } // namespace libyuv | 310 } // namespace libyuv |
303 #endif | 311 #endif |
304 | 312 |
305 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT | 313 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT |
OLD | NEW |