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