Lines Matching refs:BitsPerPixel
28 /* Masks given codes to BitsPerPixel, to make sure all codes are in range: */
320 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0x07 ); /* Actual size of the
401 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0);
459 Mask = CodeMask[Private->BitsPerPixel];
488 Pixel &= CodeMask[Private->BitsPerPixel];
829 int BitsPerPixel;
835 BitsPerPixel = GifFile->Image.ColorMap->BitsPerPixel;
837 BitsPerPixel = GifFile->SColorMap->BitsPerPixel;
843 Buf = BitsPerPixel = (BitsPerPixel < 2 ? 2 : BitsPerPixel);
847 Private->BitsPerPixel = BitsPerPixel;
848 Private->ClearCode = (1 << BitsPerPixel);
851 Private->RunningBits = BitsPerPixel + 1; /* Number of bits per code. */
923 Private->RunningBits = Private->BitsPerPixel + 1;