/external/skia/gm/ |
D | drawatlascolor.cpp | 123 const int numColors = SK_ARRAY_COUNT(gColors); in onDraw() local 124 SkASSERT(numColors == kNumColors); in onDraw() 125 SkRSXform xforms[numColors]; in onDraw() 126 SkRect rects[numColors]; in onDraw() 127 SkColor quadColors[numColors]; in onDraw() 132 for (int i = 0; i < numColors; ++i) { in onDraw() 154 canvas->drawAtlas(fAtlas, xforms, rects, quadColors, numColors, in onDraw() 156 canvas->translate(0.0f, numColors*(target.height()+kPad)); in onDraw() 158 canvas->drawAtlas(fAtlas, xforms, rects, quadColors, numColors, in onDraw()
|
/external/skia/src/codec/ |
D | SkPngCodec.cpp | 97 int numColors; in decodePalette() local 99 if (!png_get_PLTE(fPng_ptr, fInfo_ptr, &palette, &numColors)) { in decodePalette() 127 if (numColorsWithAlpha < numColors) { in decodePalette() 137 SkOpts::RGB_to_RGB1(colorPtr + numColorsWithAlpha, palette, numColors - numColorsWithAlpha); in decodePalette() 139 SkOpts::RGB_to_BGR1(colorPtr + numColorsWithAlpha, palette, numColors - numColorsWithAlpha); in decodePalette() 146 if (numColors < maxColors) { in decodePalette() 147 SkPMColor lastColor = numColors > 0 ? colorPtr[numColors - 1] : SK_ColorBLACK; in decodePalette() 148 sk_memset32(colorPtr + numColors, lastColor, maxColors - numColors); in decodePalette()
|
D | SkBmpStandardCodec.cpp | 18 uint16_t bitsPerPixel, uint32_t numColors, in SkBmpStandardCodec() argument 24 , fNumColors(numColors) in SkBmpStandardCodec() 71 bool SkBmpStandardCodec::createColorTable(SkAlphaType dstAlphaType, int* numColors) { in createColorTable() argument 78 if (nullptr != numColors) { in createColorTable() 82 *numColors = maxColors; in createColorTable()
|
D | SkBmpRLECodec.cpp | 18 uint16_t bitsPerPixel, uint32_t numColors, in SkBmpRLECodec() argument 24 , fNumColors(numColors) in SkBmpRLECodec() 73 bool SkBmpRLECodec::createColorTable(int* numColors) { in createColorTable() argument 80 if (nullptr != numColors) { in createColorTable() 84 *numColors = maxColors; in createColorTable()
|
D | SkBmpCodec.cpp | 177 uint32_t numColors = 0; in ReadHeader() local 241 numColors = get_int(iBuffer.get(), 28); in ReadHeader() 502 *codecOut = new SkBmpStandardCodec(imageInfo, stream, bitsPerPixel, numColors, in ReadHeader() 521 *codecOut = new SkBmpRLECodec(imageInfo, stream, bitsPerPixel, numColors, in ReadHeader()
|
D | SkBmpStandardCodec.h | 41 uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
|
D | SkBmpRLECodec.h | 39 uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
|
/external/libvncserver/webclients/novnc/include/ |
D | rfb.js | 1605 var indexedToRGB = function (data, numColors, palette, width, height) { argument 1610 if (numColors === 2) { 1654 var numColors = rQ[rQi + 2] + 1; 1655 var paletteSize = numColors * this._fb_depth; 1659 var bpp = (numColors <= 2) ? 1 : 8; 1685 var rgb = indexedToRGB(data, numColors, palette, this._FBU.width, this._FBU.height);
|
/external/libvncserver/libvncclient/ |
D | tight.c | 454 uint8_t numColors; in InitFilterPaletteBPP() local 462 if (!ReadFromRFBServer(client, (char*)&numColors, 1)) in InitFilterPaletteBPP() 465 client->rectColors = (int)numColors; in InitFilterPaletteBPP()
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_driver.c | 683 static void drv_load_palette(ScrnInfoPtr pScrn, int numColors, in drv_load_palette() argument 693 for (i = 0; i < numColors; i++) { in drv_load_palette() 703 for (i = 0; i < numColors; i++) { in drv_load_palette() 719 for (i = 0; i < numColors; i++) { in drv_load_palette()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_program.c | 631 uint numColors = 0; in st_translate_fragment_program() local 666 fs_output_semantic_index[fs_num_outputs] = numColors; in st_translate_fragment_program() 668 numColors++; in st_translate_fragment_program()
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferTestUtil.cpp | 546 const int numColors = 256; in computeIndexVerifierColors() local 551 dst.resize(numColors); in computeIndexVerifierColors()
|
/external/deqp/modules/glshared/ |
D | glsBufferTestUtil.cpp | 735 const int numColors = 256; in computeIndexVerifierColors() local 740 dst.resize(numColors); in computeIndexVerifierColors()
|