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

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

Issue 1367093002: I420Alpha row function in 1 pass (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: bump version 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 | « README.chromium ('k') | 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 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 uint8* dst_argb, int dst_stride_argb, 76 uint8* dst_argb, int dst_stride_argb,
77 int width, int height); 77 int width, int height);
78 78
79 // Convert I420 with Alpha to preattenuated ARGB. 79 // Convert I420 with Alpha to preattenuated ARGB.
80 LIBYUV_API 80 LIBYUV_API
81 int I420AlphaToARGB(const uint8* src_y, int src_stride_y, 81 int I420AlphaToARGB(const uint8* src_y, int src_stride_y,
82 const uint8* src_u, int src_stride_u, 82 const uint8* src_u, int src_stride_u,
83 const uint8* src_v, int src_stride_v, 83 const uint8* src_v, int src_stride_v,
84 const uint8* src_a, int src_stride_a, 84 const uint8* src_a, int src_stride_a,
85 uint8* dst_argb, int dst_stride_argb, 85 uint8* dst_argb, int dst_stride_argb,
86 int width, int height); 86 int width, int height, int attenuate);
87 87
88 // Convert I420 with Alpha to preattenuated ABGR. 88 // Convert I420 with Alpha to preattenuated ABGR.
89 LIBYUV_API 89 LIBYUV_API
90 int I420AlphaToABGR(const uint8* src_y, int src_stride_y, 90 int I420AlphaToABGR(const uint8* src_y, int src_stride_y,
91 const uint8* src_u, int src_stride_u, 91 const uint8* src_u, int src_stride_u,
92 const uint8* src_v, int src_stride_v, 92 const uint8* src_v, int src_stride_v,
93 const uint8* src_a, int src_stride_a, 93 const uint8* src_a, int src_stride_a,
94 uint8* dst_abgr, int dst_stride_abgr, 94 uint8* dst_abgr, int dst_stride_abgr,
95 int width, int height); 95 int width, int height, int attenuate);
96 96
97 // Convert I400 (grey) to ARGB. Reverse of ARGBToI400. 97 // Convert I400 (grey) to ARGB. Reverse of ARGBToI400.
98 LIBYUV_API 98 LIBYUV_API
99 int I400ToARGB(const uint8* src_y, int src_stride_y, 99 int I400ToARGB(const uint8* src_y, int src_stride_y,
100 uint8* dst_argb, int dst_stride_argb, 100 uint8* dst_argb, int dst_stride_argb,
101 int width, int height); 101 int width, int height);
102 102
103 // Convert J400 (jpeg grey) to ARGB. 103 // Convert J400 (jpeg grey) to ARGB.
104 LIBYUV_API 104 LIBYUV_API
105 int J400ToARGB(const uint8* src_y, int src_stride_y, 105 int J400ToARGB(const uint8* src_y, int src_stride_y,
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 int crop_width, int crop_height, 296 int crop_width, int crop_height,
297 enum RotationMode rotation, 297 enum RotationMode rotation,
298 uint32 format); 298 uint32 format);
299 299
300 #ifdef __cplusplus 300 #ifdef __cplusplus
301 } // extern "C" 301 } // extern "C"
302 } // namespace libyuv 302 } // namespace libyuv
303 #endif 303 #endif
304 304
305 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT 305 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ NOLINT
OLDNEW
« no previous file with comments | « README.chromium ('k') | include/libyuv/row.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698