Home | History | Annotate | Download | only in giflib

Lines Matching refs:BitsPerPixel

28 /* Masks given codes to BitsPerPixel, to make sure all codes are in range: */
324 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0x07 ); /* Actual size of the
409 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0);
467 Mask = CodeMask[Private->BitsPerPixel];
496 Pixel &= CodeMask[Private->BitsPerPixel];
836 int BitsPerPixel;
842 BitsPerPixel = GifFile->Image.ColorMap->BitsPerPixel;
844 BitsPerPixel = GifFile->SColorMap->BitsPerPixel;
850 Buf = BitsPerPixel = (BitsPerPixel < 2 ? 2 : BitsPerPixel);
854 Private->BitsPerPixel = BitsPerPixel;
855 Private->ClearCode = (1 << BitsPerPixel);
858 Private->RunningBits = BitsPerPixel + 1; /* Number of bits per code. */
930 Private->RunningBits = Private->BitsPerPixel + 1;