Searched refs:fromAttrib (Results 1 – 1 of 1) sorted by relevance
820 const struct attrib *fromAttrib; in hwcTestColorConvert() local821 for (fromAttrib = attributes; fromAttrib < attributes + NUMA(attributes); in hwcTestColorConvert()822 fromAttrib++) { in hwcTestColorConvert()823 if (fromAttrib->format == fromFormat) { break; } in hwcTestColorConvert()825 if (fromAttrib >= attributes + NUMA(attributes)) { in hwcTestColorConvert()844 float c1Val = fromAttrib->c1Min in hwcTestColorConvert()845 + ((float) (fromAttrib->c1Max - fromAttrib->c1Min) * color.c1()); in hwcTestColorConvert()846 float c2Val = fromAttrib->c2Min in hwcTestColorConvert()847 + ((float) (fromAttrib->c2Max - fromAttrib->c2Min) * color.c2()); in hwcTestColorConvert()848 float c3Val = fromAttrib->c3Min in hwcTestColorConvert()[all …]