Searched refs:BitsPerPixel (Results 1 – 17 of 17) sorted by relevance
223 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; in emit_header() local230 BitsPerPixel = 1; in emit_header()231 while (num_colors > (1 << BitsPerPixel)) in emit_header()232 BitsPerPixel++; in emit_header()233 ColorMapSize = 1 << BitsPerPixel; in emit_header()234 if (BitsPerPixel <= 1) in emit_header()237 InitCodeSize = BitsPerPixel; in emit_header()252 FlagByte |= (BitsPerPixel-1) << 4; /* color resolution */ in emit_header()253 FlagByte |= (BitsPerPixel-1); /* size of global color table */ in emit_header()
320 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0x07 ); /* Actual size of the in EGifPutScreenDesc()401 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0); in EGifPutImageDesc()459 Mask = CodeMask[Private->BitsPerPixel]; in EGifPutLine()488 Pixel &= CodeMask[Private->BitsPerPixel]; in EGifPutPixel()829 int BitsPerPixel; in EGifSetupCompress() local835 BitsPerPixel = GifFile->Image.ColorMap->BitsPerPixel; in EGifSetupCompress()837 BitsPerPixel = GifFile->SColorMap->BitsPerPixel; in EGifSetupCompress()843 Buf = BitsPerPixel = (BitsPerPixel < 2 ? 2 : BitsPerPixel); in EGifSetupCompress()847 Private->BitsPerPixel = BitsPerPixel; in EGifSetupCompress()848 Private->ClearCode = (1 << BitsPerPixel); in EGifSetupCompress()[all …]
231 int BitsPerPixel; in DGifGetScreenDesc() local255 BitsPerPixel = (Buf[0] & 0x07) + 1; in DGifGetScreenDesc()261 GifFile->SColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetScreenDesc()333 unsigned int BitsPerPixel; in DGifGetImageDesc() local355 BitsPerPixel = (Buf[0] & 0x07) + 1; in DGifGetImageDesc()367 GifFile->Image.ColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetImageDesc()700 *CodeSize = Private->BitsPerPixel; in DGifGetCode()746 int i, BitsPerPixel; in DGifSetupDecompress() local752 BitsPerPixel = CodeSize; in DGifSetupDecompress()755 Private->BitsPerPixel = BitsPerPixel; in DGifSetupDecompress()[all …]
34 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */ member
62 Object->BitsPerPixel = GifBitSize(ColorCount); in GifMakeMapObject()195 ColorUnion->BitsPerPixel = NewGifBitSize; in GifUnionColorMap()
41 int BitsPerPixel; member
77 static int BitsPerPixel(SrcConfig sc) { in BitsPerPixel() function111 SkASSERT(SkIsAlign8(BitsPerPixel(sc))); in BytesPerPixel()112 return BitsPerPixel(sc) >> 3; in BytesPerPixel()
408 int deltaSrc = SkIsAlign8(BitsPerPixel(sc)) ? BytesPerPixel(sc) : in CreateSwizzler()409 BitsPerPixel(sc); in CreateSwizzler()
363 (unsigned) (1 << (colorMap->BitsPerPixel)));
328 && v->BitsPerPixel == 32) { in choose_pixel_format()340 && v->BitsPerPixel == 32) { in choose_pixel_format()352 && v->BitsPerPixel == 32) { in choose_pixel_format()365 && v->BitsPerPixel == 16) { in choose_pixel_format()563 v->BitsPerPixel = bits_per_pixel(v); in initialize_visual_and_buffer()564 assert(v->BitsPerPixel > 0); in initialize_visual_and_buffer()582 if (v->BitsPerPixel == 32) { in initialize_visual_and_buffer()600 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel); in initialize_visual_and_buffer()
291 GLint BitsPerPixel; /* True bits per pixel for XImages */ member
513 && v->BitsPerPixel==32 in setup_truecolor()523 if (v->BitsPerPixel==32) { in setup_truecolor()530 else if (v->BitsPerPixel == 24) { in setup_truecolor()538 && v->BitsPerPixel==16 in setup_truecolor()568 v->BitsPerPixel = bits_per_pixel(v); in initialize_visual_and_buffer()569 assert(v->BitsPerPixel > 0); in initialize_visual_and_buffer()599 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()865 xmvisual->BitsPerPixel == 32) { in xmesa_init_driver_functions()
130 cmap->ColorCount != (1 << cmap->BitsPerPixel))) { in find_colormap()341 SkASSERT(cmap->ColorCount == (1 << (cmap->BitsPerPixel)));
245 if (cmap == NULL || cmap->ColorCount != (1 << cmap->BitsPerPixel)) { in drawFrame()
282 int depth = sdl->format->BitsPerPixel; in setRealDimension()