Lines Matching refs:Kr
1567 color_matrix_YCbCr_to_RGB (MatrixData * m, gdouble Kr, gdouble Kb) in color_matrix_YCbCr_to_RGB() argument
1569 gdouble Kg = 1.0 - Kr - Kb; in color_matrix_YCbCr_to_RGB()
1572 {1., 0., 2 * (1 - Kr), 0.}, in color_matrix_YCbCr_to_RGB()
1573 {1., -2 * Kb * (1 - Kb) / Kg, -2 * Kr * (1 - Kr) / Kg, 0.}, in color_matrix_YCbCr_to_RGB()
1583 color_matrix_RGB_to_YCbCr (MatrixData * m, gdouble Kr, gdouble Kb) in color_matrix_RGB_to_YCbCr() argument
1585 gdouble Kg = 1.0 - Kr - Kb; in color_matrix_RGB_to_YCbCr()
1589 k.dm[0][0] = Kr; in color_matrix_RGB_to_YCbCr()
1595 k.dm[1][0] = -x * Kr; in color_matrix_RGB_to_YCbCr()
1600 x = 1 / (2 * (1 - Kr)); in color_matrix_RGB_to_YCbCr()
1601 k.dm[2][0] = x * (1 - Kr); in color_matrix_RGB_to_YCbCr()
1618 gdouble Kr = 0, Kb = 0; in compute_matrix_to_RGB() local
1631 if (gst_video_color_matrix_get_Kr_Kb (info->colorimetry.matrix, &Kr, &Kb)) in compute_matrix_to_RGB()
1632 color_matrix_YCbCr_to_RGB (data, Kr, Kb); in compute_matrix_to_RGB()
1641 gdouble Kr = 0, Kb = 0; in compute_matrix_to_YUV() local
1646 if (gst_video_color_matrix_get_Kr_Kb (info->colorimetry.matrix, &Kr, &Kb)) in compute_matrix_to_YUV()
1647 color_matrix_RGB_to_YCbCr (data, Kr, Kb); in compute_matrix_to_YUV()