Home | History | Annotate | Download | only in images

Lines Matching refs:colorCount

118     if (cmap && ((unsigned)cmap->ColorCount > 256 ||
119 cmap->ColorCount != (1 << cmap->BitsPerPixel))) {
126 static int find_transpIndex(const SavedImage& image, int colorCount) {
134 if (transpIndex >= colorCount) {
217 int colorCount = 0;
224 colorCount = cmap->ColorCount;
225 SkColorTable* ctable = SkNEW_ARGS(SkColorTable, (colorCount));
227 for (int index = 0; index < colorCount; index++)
233 transpIndex = find_transpIndex(temp_save, colorCount);
272 static_cast<unsigned>(colorCount)) {