HomeSort by relevance Sort by last modified time
    Searched defs:colorTable (Results 1 - 6 of 6) sorted by null

  /external/skia/src/codec/
SkBmpRLECodec.cpp 68 SkPMColor colorTable[256];
91 colorTable[i] = packARGB(0xFF, red, green, blue);
98 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
102 fColorTable.reset(new SkColorTable(colorTable, maxColors));
251 // Just set a known colorType for the colorTable. No need to actually transform
252 // the colors in the colorTable.
SkBmpStandardCodec.cpp 68 SkPMColor colorTable[256];
107 colorTable[i] = packARGB(alpha, red, green, blue);
114 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
118 this->applyColorXform(colorTable, colorTable, maxColors);
122 fColorTable.reset(new SkColorTable(colorTable, maxColors));
SkPngCodec.cpp 269 SkPMColor colorTable[256];
285 colorTable[i] = proc(alphas[i], palette->red, palette->green, palette->blue);
300 SkOpts::RGB_to_RGB1(colorTable + numColorsWithAlpha, (const uint8_t*)palette,
303 SkOpts::RGB_to_BGR1(colorTable + numColorsWithAlpha, (const uint8_t*)palette,
309 this->applyColorXform(colorTable, colorTable, numColors);
316 SkPMColor lastColor = numColors > 0 ? colorTable[numColors - 1] : SK_ColorBLACK;
317 sk_memset32(colorTable + numColors, lastColor, maxColors - numColors);
320 fColorTable.reset(new SkColorTable(colorTable, maxColors));
    [all...]
  /external/skqp/src/codec/
SkBmpRLECodec.cpp 68 SkPMColor colorTable[256];
91 colorTable[i] = packARGB(0xFF, red, green, blue);
98 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
102 fColorTable.reset(new SkColorTable(colorTable, maxColors));
251 // Just set a known colorType for the colorTable. No need to actually transform
252 // the colors in the colorTable.
SkBmpStandardCodec.cpp 68 SkPMColor colorTable[256];
107 colorTable[i] = packARGB(alpha, red, green, blue);
114 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
118 this->applyColorXform(colorTable, colorTable, maxColors);
122 fColorTable.reset(new SkColorTable(colorTable, maxColors));
SkPngCodec.cpp 269 SkPMColor colorTable[256];
285 colorTable[i] = proc(alphas[i], palette->red, palette->green, palette->blue);
300 SkOpts::RGB_to_RGB1(colorTable + numColorsWithAlpha, (const uint8_t*)palette,
303 SkOpts::RGB_to_BGR1(colorTable + numColorsWithAlpha, (const uint8_t*)palette,
309 this->applyColorXform(colorTable, colorTable, numColors);
316 SkPMColor lastColor = numColors > 0 ? colorTable[numColors - 1] : SK_ColorBLACK;
317 sk_memset32(colorTable + numColors, lastColor, maxColors - numColors);
320 fColorTable.reset(new SkColorTable(colorTable, maxColors));
    [all...]

Completed in 416 milliseconds