Lines Matching refs:Kr
556 color_matrix_YCbCr_to_RGB (MatrixData * m, gfloat Kr, gfloat Kb) in color_matrix_YCbCr_to_RGB() argument
558 gfloat Kg = 1.0 - Kr - Kb; in color_matrix_YCbCr_to_RGB()
561 {1., 0., 2 * (1 - Kr), 0.}, in color_matrix_YCbCr_to_RGB()
562 {1., -2 * Kb * (1 - Kb) / Kg, -2 * Kr * (1 - Kr) / Kg, 0.}, in color_matrix_YCbCr_to_RGB()
572 color_matrix_RGB_to_YCbCr (MatrixData * m, gfloat Kr, gfloat Kb) in color_matrix_RGB_to_YCbCr() argument
574 gfloat Kg = 1.0 - Kr - Kb; in color_matrix_RGB_to_YCbCr()
578 k.dm[0][0] = Kr; in color_matrix_RGB_to_YCbCr()
584 k.dm[1][0] = -x * Kr; in color_matrix_RGB_to_YCbCr()
589 x = 1 / (2 * (1 - Kr)); in color_matrix_RGB_to_YCbCr()
590 k.dm[2][0] = x * (1 - Kr); in color_matrix_RGB_to_YCbCr()
607 gdouble Kr = 0, Kb = 0; in compute_matrix_to_RGB() local
620 if (gst_video_color_matrix_get_Kr_Kb (info->colorimetry.matrix, &Kr, &Kb)) in compute_matrix_to_RGB()
621 color_matrix_YCbCr_to_RGB (data, Kr, Kb); in compute_matrix_to_RGB()
630 gdouble Kr = 0, Kb = 0; in compute_matrix_to_YUV() local
635 if (gst_video_color_matrix_get_Kr_Kb (info->colorimetry.matrix, &Kr, &Kb)) in compute_matrix_to_YUV()
636 color_matrix_RGB_to_YCbCr (data, Kr, Kb); in compute_matrix_to_YUV()