Searched defs:numColors (Results 1 - 10 of 10) sorted by relevance

/external/skia/gm/
H A Ddrawatlascolor.cpp119 const int numColors = SK_ARRAY_COUNT(gColors); variable
120 SkASSERT(numColors == kNumColors);
121 SkRSXform xforms[numColors];
122 SkRect rects[numColors];
123 SkColor quadColors[numColors];
128 for (int i = 0; i < numColors; ++i) {
151 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors,
153 canvas->translate(0.0f, numColors*(target.height()+kPad));
155 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors,
/external/skia/src/codec/
H A DSkBmpRLECodec.cpp18 uint16_t bitsPerPixel, uint32_t numColors,
23 , fNumColors(numColors)
17 SkBmpRLECodec(int width, int height, const SkEncodedInfo& info, SkStream* stream, uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor, uint32_t offset, SkCodec::SkScanlineOrder rowOrder) argument
H A DSkBmpStandardCodec.cpp18 SkStream* stream, uint16_t bitsPerPixel, uint32_t numColors,
24 , fNumColors(numColors)
17 SkBmpStandardCodec(int width, int height, const SkEncodedInfo& info, SkStream* stream, uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor, uint32_t offset, SkCodec::SkScanlineOrder rowOrder, bool isOpaque, bool inIco) argument
H A DSkBmpCodec.cpp218 uint32_t numColors = 0; local
246 numColors = get_int(iBuffer.get(), 28);
480 numColors, bytesPerColor, offset - bytesRead,
567 numColors, bytesPerColor, offset - bytesRead,
H A DSkPngCodec.cpp250 int numColors; local
252 if (!png_get_PLTE(fPng_ptr, fInfo_ptr, &palette, &numColors)) {
281 if (numColorsWithAlpha < numColors) {
292 numColors - numColorsWithAlpha);
295 numColors - numColorsWithAlpha);
300 this->applyColorXform(colorTable, colorTable, numColors);
306 if (numColors < maxColors) {
307 SkPMColor lastColor = numColors > 0 ? colorTable[numColors - 1] : SK_ColorBLACK;
308 sk_memset32(colorTable + numColors, lastColo
[all...]
/external/libvncserver/libvncclient/
H A Dtight.c454 uint8_t numColors; local
462 if (!ReadFromRFBServer(client, (char*)&numColors, 1))
465 client->rectColors = (int)numColors;
/external/skia/third_party/gif/
H A DSkGifImageReader.cpp755 const int numColors = 2 << (currentComponent[8] & 0x7); local
760 isLocalColormapDefined, numColors))
798 currentFrame->localColorMap().setNumColors(numColors);
799 GETN(SK_BYTES_PER_COLORMAP_ENTRY * numColors, SkGIFImageColormap);
855 const int globalColors = m_globalColorMap.numColors();
871 // here. If its numColors is set, it will be defined.
908 m_localColorMap.isDefined(), m_localColorMap.numColors());
H A DSkGifImageReader.h177 int numColors() const { return m_colors; } function in class:final
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp418 std::vector<Vec4> generateColors (const int numColors) argument
440 DE_ASSERT(numColors <= DE_LENGTH_OF_ARRAY(colors));
442 return std::vector<Vec4>(colors, colors + numColors);
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp684 const int numColors = DE_LENGTH_OF_ARRAY(s_colors); local
686 colorTable << " const vec4 colors[" << numColors << "] = vec4[" << numColors << "]("; local
690 for (int i = 0; i < numColors; ++i)

Completed in 178 milliseconds