blob: 9ecd2c8366b9ef0697310f026af628043d9f4121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkYUVMath_DEFINED
#define SkYUVMath_DEFINED
#include "include/core/SkImageInfo.h"
void SkColorMatrix_RGB2YUV(SkYUVColorSpace, float m[20]);
void SkColorMatrix_YUV2RGB(SkYUVColorSpace, float m[20]);
// Used to create the pre-compiled tables in SkYUVMath.cpp
void SkColorMatrix_DumpYUVMatrixTables();
#endif
|