| 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 I444 to ABGR. |
| 64 LIBYUV_API |
| 65 int I444ToABGR(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_abgr, int dst_stride_abgr, |
| 69 int width, int height); |
| 70 |
| 63 // Convert I411 to ARGB. | 71 // Convert I411 to ARGB. |
| 64 LIBYUV_API | 72 LIBYUV_API |
| 65 int I411ToARGB(const uint8* src_y, int src_stride_y, | 73 int I411ToARGB(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_argb, int dst_stride_argb, | 76 uint8* dst_argb, int dst_stride_argb, |
| 69 int width, int height); | 77 int width, int height); |
| 70 | 78 |
| 71 // Convert I420 with Alpha to preattenuated ARGB. | 79 // Convert I420 with Alpha to preattenuated ARGB. |
| 72 LIBYUV_API | 80 LIBYUV_API |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 int crop_width, int crop_height, | 296 int crop_width, int crop_height, |
| 289 enum RotationMode rotation, | 297 enum RotationMode rotation, |
| 290 uint32 format); | 298 uint32 format); |
| 291 | 299 |
| 292 #ifdef __cplusplus | 300 #ifdef __cplusplus |
| 293 } // extern "C" | 301 } // extern "C" |
| 294 } // namespace libyuv | 302 } // namespace libyuv |
| 295 #endif | 303 #endif |
| 296 | 304 |
| 297 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT | 305 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT |
| OLD | NEW |