Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp828 const struct attrib *toAttrib; in hwcTestColorConvert() local
829 for (toAttrib = attributes; toAttrib < attributes + NUMA(attributes); in hwcTestColorConvert()
830 toAttrib++) { in hwcTestColorConvert()
831 if (toAttrib->format == toFormat) { break; } in hwcTestColorConvert()
833 if (toAttrib >= attributes + NUMA(attributes)) { in hwcTestColorConvert()
870 if (fromAttrib->rgb && toAttrib->yuv) { in hwcTestColorConvert()
907 if (fromAttrib->yuv && toAttrib->rgb) { in hwcTestColorConvert()
925 c1Val = (toAttrib->c1Low in hwcTestColorConvert()
926 + (float) (toAttrib->c1High - toAttrib->c1Low) * color.c1()); in hwcTestColorConvert()
927 c2Val = (toAttrib->c1Low in hwcTestColorConvert()
[all …]