Flutter Engine
The Flutter Engine
|
#include "src/core/SkYUVMath.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkM44.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkDebug.h"
#include <cstring>
Go to the source code of this file.
Functions | |
void | SkColorMatrix_RGB2YUV (SkYUVColorSpace cs, float m[20]) |
void | SkColorMatrix_YUV2RGB (SkYUVColorSpace cs, float m[20]) |
static void | colormatrix_to_matrix44 (const float src[20], SkM44 *dst) |
static void | matrix44_to_colormatrix (const SkM44 &src, float dst[20]) |
static void | scale3 (float m[], float s) |
static void | make_rgb_to_yuv_matrix_ycbcr (float mx[20], const YUVCoeff &c) |
static void | make_rgb_to_yuv_matrix_ydzdx (float mx[20], Range range) |
static void | make_rgb_to_yuv_matrix_gbr (float mx[20], Range range) |
static void | make_rgb_to_yuv_matrix_ycgco (float mx[20], int bits, Range range) |
static void | make_rgb_to_yuv_matrix (float mx[20], SkYUVColorSpace cs) |
static void | dump (const float m[20], SkYUVColorSpace cs, bool rgb2yuv) |
void | SkColorMatrix_DumpYUVMatrixTables () |
|
static |
Definition at line 414 of file SkYUVMath.cpp.
|
static |
Definition at line 629 of file SkYUVMath.cpp.
|
static |
Definition at line 588 of file SkYUVMath.cpp.
|
static |
Definition at line 539 of file SkYUVMath.cpp.
|
static |
Definition at line 478 of file SkYUVMath.cpp.
|
static |
Definition at line 563 of file SkYUVMath.cpp.
|
static |
Definition at line 512 of file SkYUVMath.cpp.
|
static |
|
static |
void SkColorMatrix_DumpYUVMatrixTables | ( | ) |
Definition at line 672 of file SkYUVMath.cpp.
void SkColorMatrix_RGB2YUV | ( | SkYUVColorSpace | cs, |
float | m[20] | ||
) |
Definition at line 389 of file SkYUVMath.cpp.
void SkColorMatrix_YUV2RGB | ( | SkYUVColorSpace | cs, |
float | m[20] | ||
) |
Definition at line 398 of file SkYUVMath.cpp.
const float BT2020_10bit_full_rgb_to_yuv[] |
Definition at line 91 of file SkYUVMath.cpp.
const float BT2020_10bit_full_yuv_to_rgb[] |
Definition at line 97 of file SkYUVMath.cpp.
const float BT2020_10bit_limited_rgb_to_yuv[] |
Definition at line 103 of file SkYUVMath.cpp.
const float BT2020_10bit_limited_yuv_to_rgb[] |
Definition at line 109 of file SkYUVMath.cpp.
const float BT2020_12bit_full_rgb_to_yuv[] |
Definition at line 115 of file SkYUVMath.cpp.
const float BT2020_12bit_full_yuv_to_rgb[] |
Definition at line 121 of file SkYUVMath.cpp.
const float BT2020_12bit_limited_rgb_to_yuv[] |
Definition at line 127 of file SkYUVMath.cpp.
const float BT2020_12bit_limited_yuv_to_rgb[] |
Definition at line 133 of file SkYUVMath.cpp.
const float BT2020_8bit_full_rgb_to_yuv[] |
Definition at line 67 of file SkYUVMath.cpp.
const float BT2020_8bit_full_yuv_to_rgb[] |
Definition at line 73 of file SkYUVMath.cpp.
const float BT2020_8bit_limited_rgb_to_yuv[] |
Definition at line 79 of file SkYUVMath.cpp.
const float BT2020_8bit_limited_yuv_to_rgb[] |
Definition at line 85 of file SkYUVMath.cpp.
const float FCC_full_rgb_to_yuv[] |
Definition at line 139 of file SkYUVMath.cpp.
const float FCC_full_yuv_to_rgb[] |
Definition at line 145 of file SkYUVMath.cpp.
const float FCC_limited_rgb_to_yuv[] |
Definition at line 151 of file SkYUVMath.cpp.
const float FCC_limited_yuv_to_rgb[] |
Definition at line 157 of file SkYUVMath.cpp.
const float GBR_full_rgb_to_yuv[] |
Definition at line 211 of file SkYUVMath.cpp.
const float GBR_full_yuv_to_rgb[] |
Definition at line 217 of file SkYUVMath.cpp.
const float GBR_limited_rgb_to_yuv[] |
Definition at line 223 of file SkYUVMath.cpp.
const float GBR_limited_yuv_to_rgb[] |
Definition at line 229 of file SkYUVMath.cpp.
const float JPEG_full_rgb_to_yuv[] |
Definition at line 19 of file SkYUVMath.cpp.
const float JPEG_full_yuv_to_rgb[] |
Definition at line 25 of file SkYUVMath.cpp.
|
constexpr |
Definition at line 387 of file SkYUVMath.cpp.
const float Rec601_limited_rgb_to_yuv[] |
Definition at line 31 of file SkYUVMath.cpp.
const float Rec601_limited_yuv_to_rgb[] |
Definition at line 37 of file SkYUVMath.cpp.
const float Rec709_full_rgb_to_yuv[] |
Definition at line 43 of file SkYUVMath.cpp.
const float Rec709_full_yuv_to_rgb[] |
Definition at line 49 of file SkYUVMath.cpp.
const float Rec709_limited_rgb_to_yuv[] |
Definition at line 55 of file SkYUVMath.cpp.
const float Rec709_limited_yuv_to_rgb[] |
Definition at line 61 of file SkYUVMath.cpp.
const float* rgb_to_yuv_array[] |
Definition at line 360 of file SkYUVMath.cpp.
const float SMPTE240_full_rgb_to_yuv[] |
Definition at line 163 of file SkYUVMath.cpp.
const float SMPTE240_full_yuv_to_rgb[] |
Definition at line 169 of file SkYUVMath.cpp.
const float SMPTE240_limited_rgb_to_yuv[] |
Definition at line 175 of file SkYUVMath.cpp.
const float SMPTE240_limited_yuv_to_rgb[] |
Definition at line 181 of file SkYUVMath.cpp.
const float YCgCo_10bit_full_rgb_to_yuv[] |
Definition at line 259 of file SkYUVMath.cpp.
const float YCgCo_10bit_full_yuv_to_rgb[] |
Definition at line 265 of file SkYUVMath.cpp.
const float YCgCo_10bit_limited_rgb_to_yuv[] |
Definition at line 271 of file SkYUVMath.cpp.
const float YCgCo_10bit_limited_yuv_to_rgb[] |
Definition at line 277 of file SkYUVMath.cpp.
const float YCgCo_12bit_full_rgb_to_yuv[] |
Definition at line 283 of file SkYUVMath.cpp.
const float YCgCo_12bit_full_yuv_to_rgb[] |
Definition at line 289 of file SkYUVMath.cpp.
const float YCgCo_12bit_limited_rgb_to_yuv[] |
Definition at line 295 of file SkYUVMath.cpp.
const float YCgCo_12bit_limited_yuv_to_rgb[] |
Definition at line 301 of file SkYUVMath.cpp.
const float YCgCo_8bit_full_rgb_to_yuv[] |
Definition at line 235 of file SkYUVMath.cpp.
const float YCgCo_8bit_full_yuv_to_rgb[] |
Definition at line 241 of file SkYUVMath.cpp.
const float YCgCo_8bit_limited_rgb_to_yuv[] |
Definition at line 247 of file SkYUVMath.cpp.
const float YCgCo_8bit_limited_yuv_to_rgb[] |
Definition at line 253 of file SkYUVMath.cpp.
const float YDZDX_full_rgb_to_yuv[] |
Definition at line 187 of file SkYUVMath.cpp.
const float YDZDX_full_yuv_to_rgb[] |
Definition at line 193 of file SkYUVMath.cpp.
const float YDZDX_limited_rgb_to_yuv[] |
Definition at line 199 of file SkYUVMath.cpp.
const float YDZDX_limited_yuv_to_rgb[] |
Definition at line 205 of file SkYUVMath.cpp.
const float* yuv_to_rgb_array[] |
Definition at line 333 of file SkYUVMath.cpp.