Home | History | Annotate | Download | only in images

Lines Matching refs:ColorCount

126     if (cmap && ((unsigned)cmap->ColorCount > 256 ||
127 cmap->ColorCount != (1 << cmap->BitsPerPixel))) {
134 static int find_transpIndex(const SavedImage& image, int colorCount) {
142 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)) {