Go to the documentation of this file.
20 #ifndef AVFILTER_COLORSPACE_H
21 #define AVFILTER_COLORSPACE_H
27 #define REFERENCE_WHITE 100.0f
31 const double src1[3][3],
const double src2[3][3]);
35 double rgb2xyz[3][3]);
This structure describes decoded (raw) audio or video data.
static const char rgb2yuv[]
Struct containing luma coefficients to be used for RGB to YUV/YCoCg, or similar calculations.
void ff_matrix_mul_3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
Struct defining the red, green, and blue primary locations in terms of CIE 1931 chromaticity x and y.
void ff_fill_rgb2yuv_table(const AVLumaCoefficients *coeffs, double rgb2yuv[3][3])
void ff_matrix_invert_3x3(const double in[3][3], double out[3][3])
void ff_update_hdr_metadata(AVFrame *in, double peak)
double ff_determine_signal_peak(AVFrame *in)
Struct containing chromaticity x and y values for the standard CIE 1931 chromaticity definition.
void ff_matrix_mul_3x3_vec(double dst[3], const double vec[3], const double mat[3][3])
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
void ff_fill_rgb2xyz_table(const AVPrimaryCoefficients *coeffs, const AVWhitepointCoefficients *wp, double rgb2xyz[3][3])