Home
last modified time | relevance | path

Searched refs:fromAttrib (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp824 const struct attrib *fromAttrib; in hwcTestColorConvert() local
825 for (fromAttrib = attributes; fromAttrib < attributes + NUMA(attributes); in hwcTestColorConvert()
826 fromAttrib++) { in hwcTestColorConvert()
827 if (fromAttrib->format == fromFormat) { break; } in hwcTestColorConvert()
829 if (fromAttrib >= attributes + NUMA(attributes)) { in hwcTestColorConvert()
848 float c1Val = fromAttrib->c1Min in hwcTestColorConvert()
849 + ((float) (fromAttrib->c1Max - fromAttrib->c1Min) * color.c1()); in hwcTestColorConvert()
850 float c2Val = fromAttrib->c2Min in hwcTestColorConvert()
851 + ((float) (fromAttrib->c2Max - fromAttrib->c2Min) * color.c2()); in hwcTestColorConvert()
852 float c3Val = fromAttrib->c3Min in hwcTestColorConvert()
[all …]