LUT_RED
int linear = apply_lut_to_channel_value(&linear_eotf, i * 0x101, LUT_RED);
srgb = apply_lut_to_channel_value(&srgb_eotf, i * 0x101, LUT_RED);
final = apply_lut_to_channel_value(&srgb_inv_eotf, srgb, LUT_RED);
pixel->r = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->r, LUT_RED);
pixel->r = apply_lut_to_channel_value(&srgb_inv_eotf, pixel->r, LUT_RED);
pixel->r = apply_lut_to_channel_value(&srgb_eotf, pixel->r, LUT_RED);