Searched refs:BitsPerPixel (Results 1 – 11 of 11) sorted by relevance
226 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; in emit_header() local233 BitsPerPixel = 1; in emit_header()234 while (num_colors > (1 << BitsPerPixel)) in emit_header()235 BitsPerPixel++; in emit_header()236 ColorMapSize = 1 << BitsPerPixel; in emit_header()237 if (BitsPerPixel <= 1) in emit_header()240 InitCodeSize = BitsPerPixel; in emit_header()255 FlagByte |= (BitsPerPixel - 1) << 4; /* color resolution */ in emit_header()256 FlagByte |= (BitsPerPixel - 1); /* size of global color table */ in emit_header()
324 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0x07 ); /* Actual size of the in EGifPutScreenDesc()409 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0); in EGifPutImageDesc()467 Mask = CodeMask[Private->BitsPerPixel]; in EGifPutLine()496 Pixel &= CodeMask[Private->BitsPerPixel]; in EGifPutPixel()836 int BitsPerPixel; in EGifSetupCompress() local842 BitsPerPixel = GifFile->Image.ColorMap->BitsPerPixel; in EGifSetupCompress()844 BitsPerPixel = GifFile->SColorMap->BitsPerPixel; in EGifSetupCompress()850 Buf = BitsPerPixel = (BitsPerPixel < 2 ? 2 : BitsPerPixel); in EGifSetupCompress()854 Private->BitsPerPixel = BitsPerPixel; in EGifSetupCompress()855 Private->ClearCode = (1 << BitsPerPixel); in EGifSetupCompress()[all …]
238 int BitsPerPixel; in DGifGetScreenDesc() local262 BitsPerPixel = (Buf[0] & 0x07) + 1; in DGifGetScreenDesc()268 GifFile->SColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetScreenDesc()342 unsigned int BitsPerPixel; in DGifGetImageDesc() local364 BitsPerPixel = (Buf[0] & 0x07) + 1; in DGifGetImageDesc()376 GifFile->Image.ColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetImageDesc()712 *CodeSize = Private->BitsPerPixel; in DGifGetCode()759 int i, BitsPerPixel; in DGifSetupDecompress() local768 BitsPerPixel = CodeSize; in DGifSetupDecompress()771 if (BitsPerPixel > 8) { in DGifSetupDecompress()[all …]
34 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */ member
62 Object->BitsPerPixel = GifBitSize(ColorCount); in GifMakeMapObject()202 ColorUnion->BitsPerPixel = NewGifBitSize; in GifUnionColorMap()
42 int BitsPerPixel; member
408 && v->BitsPerPixel == 32) { in choose_pixel_format()420 && v->BitsPerPixel == 32) { in choose_pixel_format()432 && v->BitsPerPixel == 32) { in choose_pixel_format()445 && v->BitsPerPixel == 16) { in choose_pixel_format()647 v->BitsPerPixel = bits_per_pixel(v); in initialize_visual_and_buffer()648 assert(v->BitsPerPixel > 0); in initialize_visual_and_buffer()666 if (v->BitsPerPixel == 32) { in initialize_visual_and_buffer()684 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel); in initialize_visual_and_buffer()
293 GLint BitsPerPixel; /* True bits per pixel for XImages */ member
516 && v->BitsPerPixel==32 in setup_truecolor()526 if (v->BitsPerPixel==32) { in setup_truecolor()533 else if (v->BitsPerPixel == 24) { in setup_truecolor()541 && v->BitsPerPixel==16 in setup_truecolor()571 v->BitsPerPixel = bits_per_pixel(v); in initialize_visual_and_buffer()572 assert(v->BitsPerPixel > 0); in initialize_visual_and_buffer()602 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel); in initialize_visual_and_buffer()
81 GLint BitsPerPixel; /* True bits per pixel for XImages */ member
721 switch (xmesa->xm_visual->BitsPerPixel) { in xmesa_update_state()857 xmvisual->BitsPerPixel == 32) { in xmesa_init_driver_functions()