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

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

Issue 2399153004: libyuv::YUY2ToY for isolating Y channel of YUY2. (Closed)
Patch Set: coalesce for YUY2ToY Created 4 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 | source/planar_functions.cc » ('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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | source/planar_functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698