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

Side by Side Diff: src/utils/SkRGBAToYUV.h

Issue 1513393002: Add ability to extract YUV planes from SkImage (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: gm cleanup Created 4 years, 10 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 | « src/image/SkImage_Gpu.cpp ('k') | src/utils/SkRGBAToYUV.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkRGBAToYUV_DEFINED
9 #define SkRGBAToYUV_DEFINED
10
11 #include "SkPixmap.h"
12 #include "SkSize.h"
13
14 class SkImage;
15 // Works with any image type at the moment, but in the future it may only work w ith raster-backed
16 // images. This really should take a SkPixmap for the input, however the impleme ntation for the
17 // time being requires an image.
18 bool SkRGBAToYUV(const SkImage*, const SkISize [3], void* const planes[3],
19 const size_t rowBytes[3], SkYUVColorSpace);
20
21 #endif
OLDNEW
« no previous file with comments | « src/image/SkImage_Gpu.cpp ('k') | src/utils/SkRGBAToYUV.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698