Home
last modified time | relevance | path

Searched refs:maxColor (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
31 memcpy(maxColor, maxPtr, 4); in update()
35 maxColor[i] = std::max(maxColor[i], color[i]); in update()
38 memcpy(maxPtr, maxColor, 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()
250 const Vec4 maxColor = color + colorThreshold; in countPixels() local
261 if (isColorInRange(pixels.getPixel(x, y), minColor, maxColor)) in countPixels()
/external/angle/src/image_util/
Dloadimage_etc.cpp717 const R8G8B8A8 &maxColor, in matchBC1Bits()
723 uint8_t decodedColors[2][3] = {{maxColor.R, maxColor.G, maxColor.B}, in matchBC1Bits()
839 const R8G8B8A8 &maxColor = subblockColors[maxColorIndex]; in packBC1() local
842 uint16_t max16 = RGB8ToRGB565(maxColor); in packBC1()
848 maxColor, nonOpaquePunchThroughAlpha); in packBC1()