| 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 27 matching lines...) Expand all Loading... |
| 38 // Convert I422 to I420. | 38 // Convert I422 to I420. |
| 39 LIBYUV_API | 39 LIBYUV_API |
| 40 int I422ToI420(const uint8* src_y, int src_stride_y, | 40 int I422ToI420(const uint8* src_y, int src_stride_y, |
| 41 const uint8* src_u, int src_stride_u, | 41 const uint8* src_u, int src_stride_u, |
| 42 const uint8* src_v, int src_stride_v, | 42 const uint8* src_v, int src_stride_v, |
| 43 uint8* dst_y, int dst_stride_y, | 43 uint8* dst_y, int dst_stride_y, |
| 44 uint8* dst_u, int dst_stride_u, | 44 uint8* dst_u, int dst_stride_u, |
| 45 uint8* dst_v, int dst_stride_v, | 45 uint8* dst_v, int dst_stride_v, |
| 46 int width, int height); | 46 int width, int height); |
| 47 | 47 |
| 48 // Convert I411 to I420. | |
| 49 LIBYUV_API | |
| 50 int I411ToI420(const uint8* src_y, int src_stride_y, | |
| 51 const uint8* src_u, int src_stride_u, | |
| 52 const uint8* src_v, int src_stride_v, | |
| 53 uint8* dst_y, int dst_stride_y, | |
| 54 uint8* dst_u, int dst_stride_u, | |
| 55 uint8* dst_v, int dst_stride_v, | |
| 56 int width, int height); | |
| 57 | |
| 58 // Copy I420 to I420. | 48 // Copy I420 to I420. |
| 59 #define I420ToI420 I420Copy | 49 #define I420ToI420 I420Copy |
| 60 LIBYUV_API | 50 LIBYUV_API |
| 61 int I420Copy(const uint8* src_y, int src_stride_y, | 51 int I420Copy(const uint8* src_y, int src_stride_y, |
| 62 const uint8* src_u, int src_stride_u, | 52 const uint8* src_u, int src_stride_u, |
| 63 const uint8* src_v, int src_stride_v, | 53 const uint8* src_v, int src_stride_v, |
| 64 uint8* dst_y, int dst_stride_y, | 54 uint8* dst_y, int dst_stride_y, |
| 65 uint8* dst_u, int dst_stride_u, | 55 uint8* dst_u, int dst_stride_u, |
| 66 uint8* dst_v, int dst_stride_v, | 56 uint8* dst_v, int dst_stride_v, |
| 67 int width, int height); | 57 int width, int height); |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 int crop_width, int crop_height, | 240 int crop_width, int crop_height, |
| 251 enum RotationMode rotation, | 241 enum RotationMode rotation, |
| 252 uint32 format); | 242 uint32 format); |
| 253 | 243 |
| 254 #ifdef __cplusplus | 244 #ifdef __cplusplus |
| 255 } // extern "C" | 245 } // extern "C" |
| 256 } // namespace libyuv | 246 } // namespace libyuv |
| 257 #endif | 247 #endif |
| 258 | 248 |
| 259 #endif // INCLUDE_LIBYUV_CONVERT_H_ | 249 #endif // INCLUDE_LIBYUV_CONVERT_H_ |
| OLD | NEW |