Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkYUVMath.h
Go to the documentation of this file.
1/*
2 * Copyright 2019 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 SkYUVMath_DEFINED
9#define SkYUVMath_DEFINED
10
11enum SkYUVColorSpace : int;
12
13void SkColorMatrix_RGB2YUV(SkYUVColorSpace, float m[20]);
14void SkColorMatrix_YUV2RGB(SkYUVColorSpace, float m[20]);
15
16// Used to create the pre-compiled tables in SkYUVMath.cpp
18
19#endif
SkYUVColorSpace
Definition SkImageInfo.h:68
void SkColorMatrix_RGB2YUV(SkYUVColorSpace, float m[20])
void SkColorMatrix_YUV2RGB(SkYUVColorSpace, float m[20])
void SkColorMatrix_DumpYUVMatrixTables()
Type::kYUV Type::kRGBA() int(0.7 *637)