Home | History | Annotate | Download | only in common

Lines Matching full:cbase

333 // Take the base RGB color <cbase> and override its luminosity
335 static tcu::Vec4 SetLum(const tcu::Vec4& cbase, const tcu::Vec4& clum)
337 float lbase = Luminance(cbase);
340 tcu::Vec4 color = cbase + tcu::Vec4(ldiff);
356 // Take the base RGB color <cbase> and override its saturation with
359 static tcu::Vec4 SetLumSat(const tcu::Vec4& cbase, const tcu::Vec4& csat, const tcu::Vec4& clum)
361 float minbase = MinRGB(cbase);
362 float sbase = Saturation(cbase);
372 color = (cbase - tcu::Vec4(minbase)) * ssat / sbase;