FFmpeg
|
Go to the source code of this file.
Variables | |
static const SwsMatrix3x3 | m_cat16 |
static const SwsMatrix3x3 | m_cat16_inv |
static const AVWhitepointCoefficients | d65 |
static const SwsMatrix3x3 | hpe |
const float | ff_pq_eotf_lut [PQ_LUT_SIZE+1] |
void ff_sws_matrix3x3_mul | ( | SwsMatrix3x3 * | a, |
const SwsMatrix3x3 * | b | ||
) |
Definition at line 26 of file csputils.c.
Referenced by apply_chromatic_adaptation(), ff_sws_get_adaptation(), and ff_sws_ipt_rgb2lms().
void ff_sws_matrix3x3_rmul | ( | const SwsMatrix3x3 * | a, |
SwsMatrix3x3 * | b | ||
) |
Definition at line 39 of file csputils.c.
void ff_sws_matrix3x3_invert | ( | SwsMatrix3x3 * | mat | ) |
Definition at line 52 of file csputils.c.
Referenced by ff_sws_ipt_lms2rgb(), ff_sws_rgb2xyz(), and ff_sws_xyz2rgb().
void ff_sws_matrix3x3_apply | ( | const SwsMatrix3x3 * | mat, |
float | vec[3] | ||
) |
Definition at line 85 of file csputils.c.
Referenced by absolute().
|
inlinestatic |
Definition at line 94 of file csputils.c.
Referenced by apply_chromatic_adaptation(), and ff_sws_rgb2xyz().
|
inlinestatic |
Definition at line 100 of file csputils.c.
Referenced by apply_chromatic_adaptation(), and ff_sws_rgb2xyz().
SwsMatrix3x3 ff_sws_rgb2xyz | ( | const AVColorPrimariesDesc * | desc | ) |
Definition at line 105 of file csputils.c.
Referenced by ff_sws_get_adaptation(), ff_sws_ipt_rgb2lms(), and ff_sws_xyz2rgb().
SwsMatrix3x3 ff_sws_xyz2rgb | ( | const AVColorPrimariesDesc * | prim | ) |
Definition at line 143 of file csputils.c.
Referenced by ff_sws_get_adaptation().
|
static |
Definition at line 164 of file csputils.c.
Referenced by ff_sws_get_adaptation(), and ff_sws_ipt_rgb2lms().
SwsMatrix3x3 ff_sws_get_adaptation | ( | const AVPrimaryCoefficients * | prim, |
AVWhitepointCoefficients | from, | ||
AVWhitepointCoefficients | to | ||
) |
Definition at line 204 of file csputils.c.
Referenced by ff_sws_color_map_generate_dynamic().
SwsMatrix3x3 ff_sws_ipt_rgb2lms | ( | const AVColorPrimariesDesc * | prim | ) |
Definition at line 232 of file csputils.c.
Referenced by ff_sws_ipt_lms2rgb(), and gamut_from_colorspace().
SwsMatrix3x3 ff_sws_ipt_lms2rgb | ( | const AVColorPrimariesDesc * | prim | ) |
Definition at line 252 of file csputils.c.
Referenced by gamut_from_colorspace().
Definition at line 260 of file csputils.c.
Referenced by test_point_gamut().
|
static |
Definition at line 268 of file csputils.c.
Referenced by ff_prim_superset().
bool ff_prim_superset | ( | const AVPrimaryCoefficients * | a, |
const AVPrimaryCoefficients * | b | ||
) |
Returns true if 'b' is entirely contained in 'a'.
Useful for figuring out if colorimetric clipping will occur or not.
Definition at line 281 of file csputils.c.
Referenced by ff_sws_color_map_noop().
|
static |
Definition at line 151 of file csputils.c.
Referenced by apply_chromatic_adaptation().
|
static |
Definition at line 157 of file csputils.c.
Referenced by apply_chromatic_adaptation().
|
static |
Definition at line 221 of file csputils.c.
Referenced by ff_sws_ipt_rgb2lms().
|
static |
Definition at line 226 of file csputils.c.
Referenced by ff_sws_ipt_rgb2lms().
const float ff_pq_eotf_lut[PQ_LUT_SIZE+1] |
Definition at line 288 of file csputils.c.
Referenced by pq_eotf().