| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 int width, int height); | 75 int width, int height); |
| 76 | 76 |
| 77 // Convert I444 to ABGR. | 77 // Convert I444 to ABGR. |
| 78 LIBYUV_API | 78 LIBYUV_API |
| 79 int I444ToABGR(const uint8* src_y, int src_stride_y, | 79 int I444ToABGR(const uint8* src_y, int src_stride_y, |
| 80 const uint8* src_u, int src_stride_u, | 80 const uint8* src_u, int src_stride_u, |
| 81 const uint8* src_v, int src_stride_v, | 81 const uint8* src_v, int src_stride_v, |
| 82 uint8* dst_abgr, int dst_stride_abgr, | 82 uint8* dst_abgr, int dst_stride_abgr, |
| 83 int width, int height); | 83 int width, int height); |
| 84 | 84 |
| 85 // Convert I411 to ARGB. | |
| 86 LIBYUV_API | |
| 87 int I411ToARGB(const uint8* src_y, int src_stride_y, | |
| 88 const uint8* src_u, int src_stride_u, | |
| 89 const uint8* src_v, int src_stride_v, | |
| 90 uint8* dst_argb, int dst_stride_argb, | |
| 91 int width, int height); | |
| 92 | |
| 93 // Convert I420 with Alpha to preattenuated ARGB. | 85 // Convert I420 with Alpha to preattenuated ARGB. |
| 94 LIBYUV_API | 86 LIBYUV_API |
| 95 int I420AlphaToARGB(const uint8* src_y, int src_stride_y, | 87 int I420AlphaToARGB(const uint8* src_y, int src_stride_y, |
| 96 const uint8* src_u, int src_stride_u, | 88 const uint8* src_u, int src_stride_u, |
| 97 const uint8* src_v, int src_stride_v, | 89 const uint8* src_v, int src_stride_v, |
| 98 const uint8* src_a, int src_stride_a, | 90 const uint8* src_a, int src_stride_a, |
| 99 uint8* dst_argb, int dst_stride_argb, | 91 uint8* dst_argb, int dst_stride_argb, |
| 100 int width, int height, int attenuate); | 92 int width, int height, int attenuate); |
| 101 | 93 |
| 102 // Convert I420 with Alpha to preattenuated ABGR. | 94 // Convert I420 with Alpha to preattenuated ABGR. |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 int crop_width, int crop_height, | 302 int crop_width, int crop_height, |
| 311 enum RotationMode rotation, | 303 enum RotationMode rotation, |
| 312 uint32 format); | 304 uint32 format); |
| 313 | 305 |
| 314 #ifdef __cplusplus | 306 #ifdef __cplusplus |
| 315 } // extern "C" | 307 } // extern "C" |
| 316 } // namespace libyuv | 308 } // namespace libyuv |
| 317 #endif | 309 #endif |
| 318 | 310 |
| 319 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ | 311 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ |
| OLD | NEW |