blob: 1dcbea3e9b357ee9b3f9a224828add29fb9f588c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrTextureToYUVPlanes_DEFINED
#define GrTextureToYUVPlanes_DEFINED
#include "SkImageInfo.h"
#include "SkSize.h"
class GrContext;
class GrTextureProxy;
bool GrTextureToYUVPlanes(GrContext*, sk_sp<GrTextureProxy>,
const SkISize[3], void* const planes[3],
const size_t rowBytes[3], SkYUVColorSpace);
#endif
|