Home
last modified time | relevance | path

Searched refs:BitsPerPixel (Results 1 – 11 of 11) sorted by relevance

/external/libjpeg-turbo/
Dwrgif.c226 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; in emit_header() local
233 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()
/external/giflib/
Degif_lib.c324 (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() local
842 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 …]
Ddgif_lib.c238 int BitsPerPixel; in DGifGetScreenDesc() local
262 BitsPerPixel = (Buf[0] & 0x07) + 1; in DGifGetScreenDesc()
268 GifFile->SColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetScreenDesc()
342 unsigned int BitsPerPixel; in DGifGetImageDesc() local
364 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() local
768 BitsPerPixel = CodeSize; in DGifSetupDecompress()
771 if (BitsPerPixel > 8) { in DGifSetupDecompress()
[all …]
Dgif_lib_private.h34 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */ member
Dgifalloc.c62 Object->BitsPerPixel = GifBitSize(ColorCount); in GifMakeMapObject()
202 ColorUnion->BitsPerPixel = NewGifBitSize; in GifUnionColorMap()
Dgif_lib.h42 int BitsPerPixel; member
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c408 && 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()
Dxm_api.h293 GLint BitsPerPixel; /* True bits per pixel for XImages */ member
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c516 && 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()
DxmesaP.h81 GLint BitsPerPixel; /* True bits per pixel for XImages */ member
Dxm_dd.c721 switch (xmesa->xm_visual->BitsPerPixel) { in xmesa_update_state()
857 xmvisual->BitsPerPixel == 32) { in xmesa_init_driver_functions()