Searched refs:mid_cbcr (Results 1 – 1 of 1) sorted by relevance
/external/igt-gpu-tools/lib/ |
D | igt_color_encoding.c | 92 float ofs_cbcr, float mid_cbcr, float max_cbcr, in ycbcr_input_convert_matrix() argument 98 t = igt_matrix_translate(0.f, -mid_cbcr, -mid_cbcr); in ycbcr_input_convert_matrix() 101 t = igt_matrix_translate(-ofs_y, -mid_cbcr, -mid_cbcr); in ycbcr_input_convert_matrix() 103 scale * max_val / (max_cbcr - mid_cbcr), in ycbcr_input_convert_matrix() 104 scale * max_val / (max_cbcr - mid_cbcr)); in ycbcr_input_convert_matrix() 112 float ofs_cbcr, float mid_cbcr, float max_cbcr, in ycbcr_output_convert_matrix() argument 119 t = igt_matrix_translate(0.f, mid_cbcr, mid_cbcr); in ycbcr_output_convert_matrix() 122 scale * (max_cbcr - mid_cbcr) / max_val, in ycbcr_output_convert_matrix() 123 scale * (max_cbcr - mid_cbcr) / max_val); in ycbcr_output_convert_matrix() 124 t = igt_matrix_translate(ofs_y, mid_cbcr, mid_cbcr); in ycbcr_output_convert_matrix() [all …]
|