Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Side by Side Diff: include/libyuv/planar_functions.h

Issue 1419103007: Raw 24 bit RGB to RGB24 (bgr) (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: st3 for neon 24 bit stores Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | include/libyuv/row.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 int width, int height); 163 int width, int height);
164 164
165 // Convert I422 to RGBA. 165 // Convert I422 to RGBA.
166 LIBYUV_API 166 LIBYUV_API
167 int I422ToRGBA(const uint8* src_y, int src_stride_y, 167 int I422ToRGBA(const uint8* src_y, int src_stride_y,
168 const uint8* src_u, int src_stride_u, 168 const uint8* src_u, int src_stride_u,
169 const uint8* src_v, int src_stride_v, 169 const uint8* src_v, int src_stride_v,
170 uint8* dst_rgba, int dst_stride_rgba, 170 uint8* dst_rgba, int dst_stride_rgba,
171 int width, int height); 171 int width, int height);
172 172
173 // Alias
174 #define RGB24ToRAW RAWToRGB24
175
176 LIBYUV_API
177 int RAWToRGB24(const uint8* src_raw, int src_stride_raw,
178 uint8* dst_rgb24, int dst_stride_rgb24,
179 int width, int height);
180
173 // Draw a rectangle into I420. 181 // Draw a rectangle into I420.
174 LIBYUV_API 182 LIBYUV_API
175 int I420Rect(uint8* dst_y, int dst_stride_y, 183 int I420Rect(uint8* dst_y, int dst_stride_y,
176 uint8* dst_u, int dst_stride_u, 184 uint8* dst_u, int dst_stride_u,
177 uint8* dst_v, int dst_stride_v, 185 uint8* dst_v, int dst_stride_v,
178 int x, int y, int width, int height, 186 int x, int y, int width, int height,
179 int value_y, int value_u, int value_v); 187 int value_y, int value_u, int value_v);
180 188
181 // Draw a rectangle into ARGB. 189 // Draw a rectangle into ARGB.
182 LIBYUV_API 190 LIBYUV_API
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 int ARGBSobelXY(const uint8* src_argb, int src_stride_argb, 445 int ARGBSobelXY(const uint8* src_argb, int src_stride_argb,
438 uint8* dst_argb, int dst_stride_argb, 446 uint8* dst_argb, int dst_stride_argb,
439 int width, int height); 447 int width, int height);
440 448
441 #ifdef __cplusplus 449 #ifdef __cplusplus
442 } // extern "C" 450 } // extern "C"
443 } // namespace libyuv 451 } // namespace libyuv
444 #endif 452 #endif
445 453
446 #endif // INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ NOLINT 454 #endif // INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ NOLINT
OLDNEW
« no previous file with comments | « no previous file | include/libyuv/row.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698