Home | History | Annotate | Download | only in images

Lines Matching refs:colorCount

122     if (cmap && ((unsigned)cmap->ColorCount > 256 ||
123 cmap->ColorCount != (1 << cmap->BitsPerPixel))) {
130 static int find_transpIndex(const SavedImage& image, int colorCount) {
138 if (transpIndex >= colorCount) {
221 int colorCount = 0;
228 colorCount = cmap->ColorCount;
229 SkColorTable* ctable = SkNEW_ARGS(SkColorTable, (colorCount));
231 for (int index = 0; index < colorCount; index++)
237 transpIndex = find_transpIndex(temp_save, colorCount);
276 static_cast<unsigned>(colorCount)) {