| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 uint8* dst_u, int dst_stride_u, | 49 uint8* dst_u, int dst_stride_u, |
| 50 uint8* dst_v, int dst_stride_v, | 50 uint8* dst_v, int dst_stride_v, |
| 51 int width, int height); | 51 int width, int height); |
| 52 | 52 |
| 53 // Copy to I400. Source can be I420, I422, I444, I400, NV12 or NV21. | 53 // Copy to I400. Source can be I420, I422, I444, I400, NV12 or NV21. |
| 54 LIBYUV_API | 54 LIBYUV_API |
| 55 int I400Copy(const uint8* src_y, int src_stride_y, | 55 int I400Copy(const uint8* src_y, int src_stride_y, |
| 56 uint8* dst_y, int dst_stride_y, | 56 uint8* dst_y, int dst_stride_y, |
| 57 int width, int height); | 57 int width, int height); |
| 58 | 58 |
| 59 // TODO(fbarchard): I420ToM420 | |
| 60 | |
| 61 LIBYUV_API | 59 LIBYUV_API |
| 62 int I420ToNV12(const uint8* src_y, int src_stride_y, | 60 int I420ToNV12(const uint8* src_y, int src_stride_y, |
| 63 const uint8* src_u, int src_stride_u, | 61 const uint8* src_u, int src_stride_u, |
| 64 const uint8* src_v, int src_stride_v, | 62 const uint8* src_v, int src_stride_v, |
| 65 uint8* dst_y, int dst_stride_y, | 63 uint8* dst_y, int dst_stride_y, |
| 66 uint8* dst_uv, int dst_stride_uv, | 64 uint8* dst_uv, int dst_stride_uv, |
| 67 int width, int height); | 65 int width, int height); |
| 68 | 66 |
| 69 LIBYUV_API | 67 LIBYUV_API |
| 70 int I420ToNV21(const uint8* src_y, int src_stride_y, | 68 int I420ToNV21(const uint8* src_y, int src_stride_y, |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 uint8* dst_sample, int dst_sample_stride, | 170 uint8* dst_sample, int dst_sample_stride, |
| 173 int width, int height, | 171 int width, int height, |
| 174 uint32 format); | 172 uint32 format); |
| 175 | 173 |
| 176 #ifdef __cplusplus | 174 #ifdef __cplusplus |
| 177 } // extern "C" | 175 } // extern "C" |
| 178 } // namespace libyuv | 176 } // namespace libyuv |
| 179 #endif | 177 #endif |
| 180 | 178 |
| 181 #endif // INCLUDE_LIBYUV_CONVERT_FROM_H_ NOLINT | 179 #endif // INCLUDE_LIBYUV_CONVERT_FROM_H_ NOLINT |
| OLD | NEW |