Home | History | Annotate | Download | only in Shader

Lines Matching refs:Kg

1989 			// G = Y - 2 * Kb * (1 - Kb) / Kg * Pb - 2 * Kr * (1 - Kr) / Kg * Pr
2017 const float Kg = 1.0f - Kr - Kb;
2020 const float Gb = -2 * Kb * (1 - Kb) / Kg;
2021 const float Gr = -2 * Kr * (1 - Kr) / Kg;