Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp119 IComposerClient::Color srcColor = desiredPixelColors[pixel]; in fillBuffer() local
123 pixelColor[0] = srcColor.r; in fillBuffer()
124 pixelColor[1] = srcColor.g; in fillBuffer()
125 pixelColor[2] = srcColor.b; in fillBuffer()
128 pixelColor[3] = srcColor.a; in fillBuffer()
/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.cpp127 Color srcColor = desiredPixelColors[static_cast<size_t>(pixel)]; in fillBuffer() local
131 pixelColor[0] = static_cast<uint8_t>(std::round(255.0f * srcColor.r)); in fillBuffer()
132 pixelColor[1] = static_cast<uint8_t>(std::round(255.0f * srcColor.g)); in fillBuffer()
133 pixelColor[2] = static_cast<uint8_t>(std::round(255.0f * srcColor.b)); in fillBuffer()
136 pixelColor[3] = static_cast<uint8_t>(std::round(255.0f * srcColor.a)); in fillBuffer()