OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2012 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 int width, int height); | 116 int width, int height); |
117 | 117 |
118 // Convert ARGB to J422. | 118 // Convert ARGB to J422. |
119 LIBYUV_API | 119 LIBYUV_API |
120 int ARGBToJ422(const uint8* src_argb, int src_stride_argb, | 120 int ARGBToJ422(const uint8* src_argb, int src_stride_argb, |
121 uint8* dst_yj, int dst_stride_yj, | 121 uint8* dst_yj, int dst_stride_yj, |
122 uint8* dst_u, int dst_stride_u, | 122 uint8* dst_u, int dst_stride_u, |
123 uint8* dst_v, int dst_stride_v, | 123 uint8* dst_v, int dst_stride_v, |
124 int width, int height); | 124 int width, int height); |
125 | 125 |
126 // Convert ARGB To I411. | |
127 LIBYUV_API | |
128 int ARGBToI411(const uint8* src_argb, int src_stride_argb, | |
129 uint8* dst_y, int dst_stride_y, | |
130 uint8* dst_u, int dst_stride_u, | |
131 uint8* dst_v, int dst_stride_v, | |
132 int width, int height); | |
133 | |
134 // Convert ARGB to J400. (JPeg full range). | 126 // Convert ARGB to J400. (JPeg full range). |
135 LIBYUV_API | 127 LIBYUV_API |
136 int ARGBToJ400(const uint8* src_argb, int src_stride_argb, | 128 int ARGBToJ400(const uint8* src_argb, int src_stride_argb, |
137 uint8* dst_yj, int dst_stride_yj, | 129 uint8* dst_yj, int dst_stride_yj, |
138 int width, int height); | 130 int width, int height); |
139 | 131 |
140 // Convert ARGB to I400. | 132 // Convert ARGB to I400. |
141 LIBYUV_API | 133 LIBYUV_API |
142 int ARGBToI400(const uint8* src_argb, int src_stride_argb, | 134 int ARGBToI400(const uint8* src_argb, int src_stride_argb, |
143 uint8* dst_y, int dst_stride_y, | 135 uint8* dst_y, int dst_stride_y, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 int ARGBToUYVY(const uint8* src_argb, int src_stride_argb, | 173 int ARGBToUYVY(const uint8* src_argb, int src_stride_argb, |
182 uint8* dst_uyvy, int dst_stride_uyvy, | 174 uint8* dst_uyvy, int dst_stride_uyvy, |
183 int width, int height); | 175 int width, int height); |
184 | 176 |
185 #ifdef __cplusplus | 177 #ifdef __cplusplus |
186 } // extern "C" | 178 } // extern "C" |
187 } // namespace libyuv | 179 } // namespace libyuv |
188 #endif | 180 #endif |
189 | 181 |
190 #endif // INCLUDE_LIBYUV_CONVERT_FROM_ARGB_H_ | 182 #endif // INCLUDE_LIBYUV_CONVERT_FROM_ARGB_H_ |
OLD | NEW |