Home
last modified time | relevance | path

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

/external/skia/tools/skqp/
Dmake_skqp_model.cpp29 uint8_t minColor[4], maxColor[4], color[4]; in update() local
30 memcpy(minColor, minPtr, 4); in update()
34 minColor[i] = std::min(minColor[i], color[i]); in update()
37 memcpy(minPtr, minColor, 4); in update()
/external/deqp/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp238 bool inline isColorInRange (const Vec4& color, const Vec4& minColor, const Vec4& maxColor) in isColorInRange() argument
240 return (minColor.x() <= color.x() && color.x() <= maxColor.x()) in isColorInRange()
241 && (minColor.y() <= color.y() && color.y() <= maxColor.y()) in isColorInRange()
242 && (minColor.z() <= color.z() && color.z() <= maxColor.z()) in isColorInRange()
243 && (minColor.w() <= color.w() && color.w() <= maxColor.w()); in isColorInRange()
249 const Vec4 minColor = color - colorThreshold; in countPixels() local
261 if (isColorInRange(pixels.getPixel(x, y), minColor, maxColor)) in countPixels()
/external/angle/src/image_util/
Dloadimage_etc.cpp716 const R8G8B8A8 &minColor, in matchBC1Bits()
724 {minColor.R, minColor.G, minColor.B}}; in matchBC1Bits()
838 const R8G8B8A8 &minColor = subblockColors[minColorIndex]; in packBC1() local
843 uint16_t min16 = RGB8ToRGB565(minColor); in packBC1()
847 bits = matchBC1Bits(pixelIndices, pixelIndexCounts, subblockColors, numColors, minColor, in packBC1()