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

  /external/skia/src/codec/
SkBmpRLECodec.cpp 71 uint32_t maxColors = 1 << this->bitsPerPixel();
72 // Don't bother reading more than maxColors.
74 fNumColors == 0 ? maxColors : SkTMin(fNumColors, maxColors);
97 for (; i < maxColors; i++) {
102 fColorTable.reset(new SkColorTable(colorTable, maxColors));
SkBmpStandardCodec.cpp 70 uint32_t maxColors = 1 << this->bitsPerPixel();
71 // Don't bother reading more than maxColors.
73 fNumColors == 0 ? maxColors : SkTMin(fNumColors, maxColors);
112 for (; i < maxColors; i++) {
117 this->applyColorXform(colorTable, colorTable, maxColors);
121 fColorTable.reset(new SkColorTable(colorTable, maxColors));
SkPngCodec.cpp 309 const int maxColors = 1 << fBitDepth;
310 if (numColors < maxColors) {
312 sk_memset32(colorTable + numColors, lastColor, maxColors - numColors);
315 fColorTable.reset(new SkColorTable(colorTable, maxColors));
    [all...]
  /external/skqp/src/codec/
SkBmpRLECodec.cpp 71 uint32_t maxColors = 1 << this->bitsPerPixel();
72 // Don't bother reading more than maxColors.
74 fNumColors == 0 ? maxColors : SkTMin(fNumColors, maxColors);
97 for (; i < maxColors; i++) {
102 fColorTable.reset(new SkColorTable(colorTable, maxColors));
SkBmpStandardCodec.cpp 70 uint32_t maxColors = 1 << this->bitsPerPixel();
71 // Don't bother reading more than maxColors.
73 fNumColors == 0 ? maxColors : SkTMin(fNumColors, maxColors);
112 for (; i < maxColors; i++) {
117 this->applyColorXform(colorTable, colorTable, maxColors);
121 fColorTable.reset(new SkColorTable(colorTable, maxColors));
SkPngCodec.cpp 309 const int maxColors = 1 << fBitDepth;
310 if (numColors < maxColors) {
312 sk_memset32(colorTable + numColors, lastColor, maxColors - numColors);
315 fColorTable.reset(new SkColorTable(colorTable, maxColors));
    [all...]

Completed in 315 milliseconds