| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2011 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 LIBYUV_API | 35 LIBYUV_API |
| 36 int I420ToI444(const uint8* src_y, int src_stride_y, | 36 int I420ToI444(const uint8* src_y, int src_stride_y, |
| 37 const uint8* src_u, int src_stride_u, | 37 const uint8* src_u, int src_stride_u, |
| 38 const uint8* src_v, int src_stride_v, | 38 const uint8* src_v, int src_stride_v, |
| 39 uint8* dst_y, int dst_stride_y, | 39 uint8* dst_y, int dst_stride_y, |
| 40 uint8* dst_u, int dst_stride_u, | 40 uint8* dst_u, int dst_stride_u, |
| 41 uint8* dst_v, int dst_stride_v, | 41 uint8* dst_v, int dst_stride_v, |
| 42 int width, int height); | 42 int width, int height); |
| 43 | 43 |
| 44 LIBYUV_API | |
| 45 int I420ToI411(const uint8* src_y, int src_stride_y, | |
| 46 const uint8* src_u, int src_stride_u, | |
| 47 const uint8* src_v, int src_stride_v, | |
| 48 uint8* dst_y, int dst_stride_y, | |
| 49 uint8* dst_u, int dst_stride_u, | |
| 50 uint8* dst_v, int dst_stride_v, | |
| 51 int width, int height); | |
| 52 | |
| 53 // Copy to I400. Source can be I420, I422, I444, I400, NV12 or NV21. | 44 // Copy to I400. Source can be I420, I422, I444, I400, NV12 or NV21. |
| 54 LIBYUV_API | 45 LIBYUV_API |
| 55 int I400Copy(const uint8* src_y, int src_stride_y, | 46 int I400Copy(const uint8* src_y, int src_stride_y, |
| 56 uint8* dst_y, int dst_stride_y, | 47 uint8* dst_y, int dst_stride_y, |
| 57 int width, int height); | 48 int width, int height); |
| 58 | 49 |
| 59 LIBYUV_API | 50 LIBYUV_API |
| 60 int I420ToNV12(const uint8* src_y, int src_stride_y, | 51 int I420ToNV12(const uint8* src_y, int src_stride_y, |
| 61 const uint8* src_u, int src_stride_u, | 52 const uint8* src_u, int src_stride_u, |
| 62 const uint8* src_v, int src_stride_v, | 53 const uint8* src_v, int src_stride_v, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 uint8* dst_sample, int dst_sample_stride, | 161 uint8* dst_sample, int dst_sample_stride, |
| 171 int width, int height, | 162 int width, int height, |
| 172 uint32 format); | 163 uint32 format); |
| 173 | 164 |
| 174 #ifdef __cplusplus | 165 #ifdef __cplusplus |
| 175 } // extern "C" | 166 } // extern "C" |
| 176 } // namespace libyuv | 167 } // namespace libyuv |
| 177 #endif | 168 #endif |
| 178 | 169 |
| 179 #endif // INCLUDE_LIBYUV_CONVERT_FROM_H_ | 170 #endif // INCLUDE_LIBYUV_CONVERT_FROM_H_ |
| OLD | NEW |