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

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

Issue 1388273002: Reimplement NV21ToARGB to allow different color matrix. (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: include scale_row.h for scaling macros Created 5 years, 2 months 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 uint8* dst_argb, int dst_stride_argb, 138 uint8* dst_argb, int dst_stride_argb,
139 int width, int height); 139 int width, int height);
140 140
141 // Convert NV12 to RGB565. 141 // Convert NV12 to RGB565.
142 LIBYUV_API 142 LIBYUV_API
143 int NV12ToRGB565(const uint8* src_y, int src_stride_y, 143 int NV12ToRGB565(const uint8* src_y, int src_stride_y,
144 const uint8* src_uv, int src_stride_uv, 144 const uint8* src_uv, int src_stride_uv,
145 uint8* dst_rgb565, int dst_stride_rgb565, 145 uint8* dst_rgb565, int dst_stride_rgb565,
146 int width, int height); 146 int width, int height);
147 147
148 // Convert NV21 to RGB565.
149 LIBYUV_API
150 int NV21ToRGB565(const uint8* src_y, int src_stride_y,
151 const uint8* src_uv, int src_stride_uv,
152 uint8* dst_rgb565, int dst_stride_rgb565,
153 int width, int height);
154
155 // I422ToARGB is in convert_argb.h 148 // I422ToARGB is in convert_argb.h
156 // Convert I422 to BGRA. 149 // Convert I422 to BGRA.
157 LIBYUV_API 150 LIBYUV_API
158 int I422ToBGRA(const uint8* src_y, int src_stride_y, 151 int I422ToBGRA(const uint8* src_y, int src_stride_y,
159 const uint8* src_u, int src_stride_u, 152 const uint8* src_u, int src_stride_u,
160 const uint8* src_v, int src_stride_v, 153 const uint8* src_v, int src_stride_v,
161 uint8* dst_bgra, int dst_stride_bgra, 154 uint8* dst_bgra, int dst_stride_bgra,
162 int width, int height); 155 int width, int height);
163 156
164 // Convert I422 to ABGR. 157 // Convert I422 to ABGR.
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 int ARGBSobelXY(const uint8* src_argb, int src_stride_argb, 437 int ARGBSobelXY(const uint8* src_argb, int src_stride_argb,
445 uint8* dst_argb, int dst_stride_argb, 438 uint8* dst_argb, int dst_stride_argb,
446 int width, int height); 439 int width, int height);
447 440
448 #ifdef __cplusplus 441 #ifdef __cplusplus
449 } // extern "C" 442 } // extern "C"
450 } // namespace libyuv 443 } // namespace libyuv
451 #endif 444 #endif
452 445
453 #endif // INCLUDE_LIBYUV_PLANAR_FUNCTIONS_H_ NOLINT 446 #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