| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 uint8* dst_argb, int dst_stride_argb, | 76 uint8* dst_argb, int dst_stride_argb, |
| 77 int width, int height); | 77 int width, int height); |
| 78 | 78 |
| 79 // Convert I420 with Alpha to preattenuated ARGB. | 79 // Convert I420 with Alpha to preattenuated ARGB. |
| 80 LIBYUV_API | 80 LIBYUV_API |
| 81 int I420AlphaToARGB(const uint8* src_y, int src_stride_y, | 81 int I420AlphaToARGB(const uint8* src_y, int src_stride_y, |
| 82 const uint8* src_u, int src_stride_u, | 82 const uint8* src_u, int src_stride_u, |
| 83 const uint8* src_v, int src_stride_v, | 83 const uint8* src_v, int src_stride_v, |
| 84 const uint8* src_a, int src_stride_a, | 84 const uint8* src_a, int src_stride_a, |
| 85 uint8* dst_argb, int dst_stride_argb, | 85 uint8* dst_argb, int dst_stride_argb, |
| 86 int width, int height); | 86 int width, int height, int attenuate); |
| 87 | 87 |
| 88 // Convert I420 with Alpha to preattenuated ABGR. | 88 // Convert I420 with Alpha to preattenuated ABGR. |
| 89 LIBYUV_API | 89 LIBYUV_API |
| 90 int I420AlphaToABGR(const uint8* src_y, int src_stride_y, | 90 int I420AlphaToABGR(const uint8* src_y, int src_stride_y, |
| 91 const uint8* src_u, int src_stride_u, | 91 const uint8* src_u, int src_stride_u, |
| 92 const uint8* src_v, int src_stride_v, | 92 const uint8* src_v, int src_stride_v, |
| 93 const uint8* src_a, int src_stride_a, | 93 const uint8* src_a, int src_stride_a, |
| 94 uint8* dst_abgr, int dst_stride_abgr, | 94 uint8* dst_abgr, int dst_stride_abgr, |
| 95 int width, int height); | 95 int width, int height, int attenuate); |
| 96 | 96 |
| 97 // Convert I400 (grey) to ARGB. Reverse of ARGBToI400. | 97 // Convert I400 (grey) to ARGB. Reverse of ARGBToI400. |
| 98 LIBYUV_API | 98 LIBYUV_API |
| 99 int I400ToARGB(const uint8* src_y, int src_stride_y, | 99 int I400ToARGB(const uint8* src_y, int src_stride_y, |
| 100 uint8* dst_argb, int dst_stride_argb, | 100 uint8* dst_argb, int dst_stride_argb, |
| 101 int width, int height); | 101 int width, int height); |
| 102 | 102 |
| 103 // Convert J400 (jpeg grey) to ARGB. | 103 // Convert J400 (jpeg grey) to ARGB. |
| 104 LIBYUV_API | 104 LIBYUV_API |
| 105 int J400ToARGB(const uint8* src_y, int src_stride_y, | 105 int J400ToARGB(const uint8* src_y, int src_stride_y, |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 int crop_width, int crop_height, | 296 int crop_width, int crop_height, |
| 297 enum RotationMode rotation, | 297 enum RotationMode rotation, |
| 298 uint32 format); | 298 uint32 format); |
| 299 | 299 |
| 300 #ifdef __cplusplus | 300 #ifdef __cplusplus |
| 301 } // extern "C" | 301 } // extern "C" |
| 302 } // namespace libyuv | 302 } // namespace libyuv |
| 303 #endif | 303 #endif |
| 304 | 304 |
| 305 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT | 305 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT |
| OLD | NEW |