Searched refs:linear_g (Results 1 – 3 of 3) sorted by relevance
255 float linear_g = transform->input_gamma_table_g[device_g];258 float out_linear_r = mat[0][0]*linear_r + mat[1][0]*linear_g + mat[2][0]*linear_b;259 float out_linear_g = mat[0][1]*linear_r + mat[1][1]*linear_g + mat[2][1]*linear_b;260 float out_linear_b = mat[0][2]*linear_r + mat[1][2]*linear_g + mat[2][2]*linear_b;390 float linear_g = transform->input_gamma_table_g[device_g]; in qcms_transform_data_rgb_out_lut_precache() local393 float out_linear_r = mat[0][0]*linear_r + mat[1][0]*linear_g + mat[2][0]*linear_b; in qcms_transform_data_rgb_out_lut_precache()394 float out_linear_g = mat[0][1]*linear_r + mat[1][1]*linear_g + mat[2][1]*linear_b; in qcms_transform_data_rgb_out_lut_precache()395 float out_linear_b = mat[0][2]*linear_r + mat[1][2]*linear_g + mat[2][2]*linear_b; in qcms_transform_data_rgb_out_lut_precache()428 float linear_g = transform->input_gamma_table_g[device_g]; in qcms_transform_data_rgba_out_lut_precache() local431 float out_linear_r = mat[0][0]*linear_r + mat[1][0]*linear_g + mat[2][0]*linear_b; in qcms_transform_data_rgba_out_lut_precache()[all …]
138 float linear_g = *src++; in qcms_transform_module_clut_only() local142 int y = floor(linear_g * (transform->grid_size-1)); in qcms_transform_module_clut_only()145 int y_n = ceil(linear_g * (transform->grid_size-1)); in qcms_transform_module_clut_only()148 float y_d = linear_g * (transform->grid_size-1) - y; in qcms_transform_module_clut_only()196 float linear_g = lut_interp_linear_float(device_g, in qcms_transform_module_clut() local202 int y = floor(linear_g * (transform->grid_size-1)); in qcms_transform_module_clut()205 int y_n = ceil(linear_g * (transform->grid_size-1)); in qcms_transform_module_clut()208 float y_d = linear_g * (transform->grid_size-1) - y; in qcms_transform_module_clut()
715 float out_linear_g = mat[0][1]*linear_r + mat[1][1]*linear_g + mat[2][1]*linear_b;716 float out_linear_b = mat[0][2]*linear_r + mat[1][2]*linear_g + mat[2][2]*linear_b;