| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 int width, int height); | 111 int width, int height); |
| 112 | 112 |
| 113 // Convert M420 to I420. | 113 // Convert M420 to I420. |
| 114 LIBYUV_API | 114 LIBYUV_API |
| 115 int M420ToI420(const uint8* src_m420, int src_stride_m420, | 115 int M420ToI420(const uint8* src_m420, int src_stride_m420, |
| 116 uint8* dst_y, int dst_stride_y, | 116 uint8* dst_y, int dst_stride_y, |
| 117 uint8* dst_u, int dst_stride_u, | 117 uint8* dst_u, int dst_stride_u, |
| 118 uint8* dst_v, int dst_stride_v, | 118 uint8* dst_v, int dst_stride_v, |
| 119 int width, int height); | 119 int width, int height); |
| 120 | 120 |
| 121 // Convert Android420 to I420. |
| 122 LIBYUV_API |
| 123 int Android420ToI420(const uint8* src_y, int src_stride_y, |
| 124 const uint8* src_u, int src_stride_u, |
| 125 const uint8* src_v, int src_stride_v, |
| 126 int pixel_stride_uv, |
| 127 uint8* dst_y, int dst_stride_y, |
| 128 uint8* dst_u, int dst_stride_u, |
| 129 uint8* dst_v, int dst_stride_v, |
| 130 int width, int height); |
| 131 |
| 121 // ARGB little endian (bgra in memory) to I420. | 132 // ARGB little endian (bgra in memory) to I420. |
| 122 LIBYUV_API | 133 LIBYUV_API |
| 123 int ARGBToI420(const uint8* src_frame, int src_stride_frame, | 134 int ARGBToI420(const uint8* src_frame, int src_stride_frame, |
| 124 uint8* dst_y, int dst_stride_y, | 135 uint8* dst_y, int dst_stride_y, |
| 125 uint8* dst_u, int dst_stride_u, | 136 uint8* dst_u, int dst_stride_u, |
| 126 uint8* dst_v, int dst_stride_v, | 137 uint8* dst_v, int dst_stride_v, |
| 127 int width, int height); | 138 int width, int height); |
| 128 | 139 |
| 129 // BGRA little endian (argb in memory) to I420. | 140 // BGRA little endian (argb in memory) to I420. |
| 130 LIBYUV_API | 141 LIBYUV_API |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 int crop_width, int crop_height, | 250 int crop_width, int crop_height, |
| 240 enum RotationMode rotation, | 251 enum RotationMode rotation, |
| 241 uint32 format); | 252 uint32 format); |
| 242 | 253 |
| 243 #ifdef __cplusplus | 254 #ifdef __cplusplus |
| 244 } // extern "C" | 255 } // extern "C" |
| 245 } // namespace libyuv | 256 } // namespace libyuv |
| 246 #endif | 257 #endif |
| 247 | 258 |
| 248 #endif // INCLUDE_LIBYUV_CONVERT_H_ NOLINT | 259 #endif // INCLUDE_LIBYUV_CONVERT_H_ NOLINT |
| OLD | NEW |