Lines Matching refs:NumLevels
30 static int NumLevels = DEFAULT_NUM_LEVELS, ImageWidth = DEFAULT_WIDTH, variable
45 &NumLevels, &SizeFlag, &ImageWidth, &ImageHeight, in main()
60 if (NumLevels == (1 << i)) { in main()
68 LevelStep = 256 / NumLevels; in main()
74 ImageWidth = (ImageWidth / NumLevels) * NumLevels; in main()
88 if ((ColorMap = GifMakeMapObject(8 * NumLevels, NULL)) == NULL) { in main()
93 for (j = 0; j < NumLevels; j++) { in main()
95 c = i * NumLevels + j; in main()
130 for (i = 0, l = 0; i < NumLevels; i++) { in main()
131 for (j = 0; j < ImageWidth / NumLevels; j++) { in main()
132 Line[l++] = i + NumLevels * c; in main()