Searched refs:numColors (Results 1 - 17 of 17) sorted by relevance

/external/skia/gm/
H A Ddrawatlascolor.cpp123 const int numColors = SK_ARRAY_COUNT(gColors); variable
124 SkASSERT(numColors == kNumColors);
125 SkRSXform xforms[numColors];
126 SkRect rects[numColors];
127 SkColor quadColors[numColors];
132 for (int i = 0; i < numColors; ++i) {
154 canvas->drawAtlas(fAtlas, xforms, rects, quadColors, numColors,
156 canvas->translate(0.0f, numColors*(target.height()+kPad));
158 canvas->drawAtlas(fAtlas, xforms, rects, quadColors, numColors,
/external/skia/src/codec/
H A DSkBmpStandardCodec.cpp18 uint16_t bitsPerPixel, uint32_t numColors,
24 , fNumColors(numColors)
71 bool SkBmpStandardCodec::createColorTable(SkAlphaType dstAlphaType, int* numColors) { argument
78 if (nullptr != numColors) {
82 *numColors = maxColors;
17 SkBmpStandardCodec(const SkImageInfo& 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 DSkBmpRLECodec.h29 * @param numColors the number of colors in the color table
39 uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
H A DSkBmpStandardCodec.h30 * @param numColors the number of colors in the color table
41 uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
H A DSkPngCodec.cpp97 int numColors; local
99 if (!png_get_PLTE(fPng_ptr, fInfo_ptr, &palette, &numColors)) {
127 if (numColorsWithAlpha < numColors) {
137 SkOpts::RGB_to_RGB1(colorPtr + numColorsWithAlpha, palette, numColors - numColorsWithAlpha);
139 SkOpts::RGB_to_BGR1(colorPtr + numColorsWithAlpha, palette, numColors - numColorsWithAlpha);
146 if (numColors < maxColors) {
147 SkPMColor lastColor = numColors > 0 ? colorPtr[numColors - 1] : SK_ColorBLACK;
148 sk_memset32(colorPtr + numColors, lastColor, maxColors - numColors);
[all...]
H A DSkBmpCodec.cpp177 uint32_t numColors = 0; local
241 numColors = get_int(iBuffer.get(), 28);
502 *codecOut = new SkBmpStandardCodec(imageInfo, stream, bitsPerPixel, numColors,
521 *codecOut = new SkBmpRLECodec(imageInfo, stream, bitsPerPixel, numColors,
H A DSkBmpRLECodec.cpp18 uint16_t bitsPerPixel, uint32_t numColors,
24 , fNumColors(numColors)
73 bool SkBmpRLECodec::createColorTable(int* numColors) { argument
80 if (nullptr != numColors) {
84 *numColors = maxColors;
17 SkBmpRLECodec(const SkImageInfo& info, SkStream* stream, uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor, uint32_t offset, SkCodec::SkScanlineOrder rowOrder, size_t RLEBytes) argument
/external/libvncserver/webclients/novnc/include/
H A Drfb.js1605 var indexedToRGB = function (data, numColors, palette, width, height) {
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/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp546 const int numColors = 256;
551 dst.resize(numColors);
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_driver.c683 static void drv_load_palette(ScrnInfoPtr pScrn, int numColors, argument
693 for (i = 0; i < numColors; i++) {
703 for (i = 0; i < numColors; i++) {
719 for (i = 0; i < numColors; i++) {
/external/libvncserver/libvncclient/
H A Dtight.c454 uint8_t numColors; local
462 if (!ReadFromRFBServer(client, (char*)&numColors, 1))
465 client->rectColors = (int)numColors;
/external/mesa3d/src/mesa/state_tracker/
H A Dst_program.c631 uint numColors = 0; local
666 fs_output_semantic_index[fs_num_outputs] = numColors;
668 numColors++;
/external/deqp/modules/glshared/
H A DglsBufferTestUtil.cpp735 const int numColors = 256;
740 dst.resize(numColors);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.publisher_1.1.2.v20100824-2220.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/
H A Dpdebuild.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/pde/ org/eclipse/pde/build/ ...

Completed in 278 milliseconds