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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 uint8* dst_y, int dst_stride_y, | 104 uint8* dst_y, int dst_stride_y, |
105 uint8* dst_uv, int dst_stride_uv, | 105 uint8* dst_uv, int dst_stride_uv, |
106 int width, int height); | 106 int width, int height); |
107 | 107 |
108 LIBYUV_API | 108 LIBYUV_API |
109 int UYVYToNV12(const uint8* src_uyvy, int src_stride_uyvy, | 109 int UYVYToNV12(const uint8* src_uyvy, int src_stride_uyvy, |
110 uint8* dst_y, int dst_stride_y, | 110 uint8* dst_y, int dst_stride_y, |
111 uint8* dst_uv, int dst_stride_uv, | 111 uint8* dst_uv, int dst_stride_uv, |
112 int width, int height); | 112 int width, int height); |
113 | 113 |
| 114 LIBYUV_API |
| 115 int YUY2ToY(const uint8* src_yuy2, int src_stride_yuy2, |
| 116 uint8* dst_y, int dst_stride_y, |
| 117 int width, int height); |
| 118 |
114 // Convert I420 to I400. (calls CopyPlane ignoring u/v). | 119 // Convert I420 to I400. (calls CopyPlane ignoring u/v). |
115 LIBYUV_API | 120 LIBYUV_API |
116 int I420ToI400(const uint8* src_y, int src_stride_y, | 121 int I420ToI400(const uint8* src_y, int src_stride_y, |
117 const uint8* src_u, int src_stride_u, | 122 const uint8* src_u, int src_stride_u, |
118 const uint8* src_v, int src_stride_v, | 123 const uint8* src_v, int src_stride_v, |
119 uint8* dst_y, int dst_stride_y, | 124 uint8* dst_y, int dst_stride_y, |
120 int width, int height); | 125 int width, int height); |
121 | 126 |
122 // Alias | 127 // Alias |
123 #define J420ToJ400 I420ToI400 | 128 #define J420ToJ400 I420ToI400 |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 int ARGBSobelXY(const uint8* src_argb, int src_stride_argb, | 525 int ARGBSobelXY(const uint8* src_argb, int src_stride_argb, |
521 uint8* dst_argb, int dst_stride_argb, | 526 uint8* dst_argb, int dst_stride_argb, |
522 int width, int height); | 527 int width, int height); |
523 | 528 |
524 #ifdef __cplusplus | 529 #ifdef __cplusplus |
525 } // extern "C" | 530 } // extern "C" |
526 } // namespace libyuv | 531 } // namespace libyuv |
527 #endif | 532 #endif |
528 | 533 |
529 #endif // INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ | 534 #endif // INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ |
OLD | NEW |