/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | wrgif.c | 226 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()
|
/third_party/libjpeg-turbo/ |
D | wrgif.c | 226 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()
|
/third_party/giflib/ |
D | egif_lib.c | 332 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0x07 ); /* Actual size of the in EGifPutScreenDesc() 419 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0); in EGifPutImageDesc() 477 Mask = CodeMask[Private->BitsPerPixel]; in EGifPutLine() 506 Pixel &= CodeMask[Private->BitsPerPixel]; in EGifPutPixel() 847 int BitsPerPixel; in EGifSetupCompress() local 853 BitsPerPixel = GifFile->Image.ColorMap->BitsPerPixel; in EGifSetupCompress() 855 BitsPerPixel = GifFile->SColorMap->BitsPerPixel; in EGifSetupCompress() 861 Buf = BitsPerPixel = (BitsPerPixel < 2 ? 2 : BitsPerPixel); in EGifSetupCompress() 865 Private->BitsPerPixel = BitsPerPixel; in EGifSetupCompress() 866 Private->ClearCode = (1 << BitsPerPixel); in EGifSetupCompress() [all …]
|
D | dgif_lib.c | 244 int BitsPerPixel; in DGifGetScreenDesc() local 268 BitsPerPixel = (Buf[0] & 0x07) + 1; in DGifGetScreenDesc() 274 GifFile->SColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetScreenDesc() 361 unsigned int BitsPerPixel; in DGifGetImageHeader() local 382 BitsPerPixel = (Buf[0] & 0x07) + 1; in DGifGetImageHeader() 394 GifFile->Image.ColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetImageHeader() 759 *CodeSize = Private->BitsPerPixel; in DGifGetCode() 806 int i, BitsPerPixel; in DGifSetupDecompress() local 815 BitsPerPixel = CodeSize; in DGifSetupDecompress() 818 if (BitsPerPixel > 8) { in DGifSetupDecompress() [all …]
|
D | giftext.c | 105 GifFile->SColorMap ? GifFile->SColorMap->BitsPerPixel : 0, in main() 149 GifFile->Image.ColorMap->BitsPerPixel); in main() 159 Len = 1 << GifFile->Image.ColorMap->BitsPerPixel; in main() 330 * GifFile->Image.ColorMap->BitsPerPixel) / 8; in PrintCodeBlock() 333 * GifFile->SColorMap->BitsPerPixel) / 8; in PrintCodeBlock()
|
D | gif_lib_private.h | 40 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */ member
|
D | gifalloc.c | 65 Object->BitsPerPixel = GifBitSize(ColorCount); in GifMakeMapObject() 205 ColorUnion->BitsPerPixel = NewGifBitSize; in GifUnionColorMap()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | wrgif.c | 256 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; in emit_header() local 263 BitsPerPixel = 1; in emit_header() 264 while (num_colors > (1 << BitsPerPixel)) in emit_header() 265 BitsPerPixel++; in emit_header() 266 ColorMapSize = 1 << BitsPerPixel; in emit_header() 267 if (BitsPerPixel <= 1) in emit_header() 270 InitCodeSize = BitsPerPixel; in emit_header() 285 FlagByte |= (BitsPerPixel - 1) << 4; /* color resolution */ in emit_header() 286 FlagByte |= (BitsPerPixel - 1); /* size of global color table */ in emit_header()
|
/third_party/giflib/tests/ |
D | welcome2.dmp | 5 ColorResolution = 8, BitsPerPixel = 8, BackGround = 0, Aspect = 0. 34 Image is Non Interlaced, BitsPerPixel = 8. 60 Image is Non Interlaced, BitsPerPixel = 8. 86 Image is Non Interlaced, BitsPerPixel = 8.
|
D | treescap-interlaced.dmp | 5 ColorResolution = 7, BitsPerPixel = 4, BackGround = 0, Aspect = 0.
|
D | treescap.dmp | 5 ColorResolution = 7, BitsPerPixel = 4, BackGround = 0, Aspect = 0.
|
D | solid2.dmp | 5 ColorResolution = 7, BitsPerPixel = 7, BackGround = 0, Aspect = 0.
|
D | porsche.dmp | 5 ColorResolution = 4, BitsPerPixel = 5, BackGround = 0, Aspect = 0.
|
D | gifgrid.dmp | 5 ColorResolution = 3, BitsPerPixel = 3, BackGround = 0, Aspect = 0.
|
D | x-trans.dmp | 5 ColorResolution = 7, BitsPerPixel = 8, BackGround = 0, Aspect = 0.
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/ |
D | SDL_blendfillrect.c | 206 if (dst->format->BitsPerPixel < 8) { in SDL_BlendFillRect() 227 switch (dst->format->BitsPerPixel) { in SDL_BlendFillRect() 277 if (dst->format->BitsPerPixel < 8) { in SDL_BlendFillRects() 288 switch (dst->format->BitsPerPixel) { in SDL_BlendFillRects()
|
D | SDL_drawpoint.c | 37 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoint() 78 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoints()
|
D | SDL_blendpoint.c | 204 if (dst->format->BitsPerPixel < 8) { in SDL_BlendPoint() 221 switch (dst->format->BitsPerPixel) { in SDL_BlendPoint() 275 if (dst->format->BitsPerPixel < 8) { in SDL_BlendPoints() 286 switch (dst->format->BitsPerPixel) { in SDL_BlendPoints()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/vivante/ |
D | SDL_vivantevideo.h | 45 …layType Display, int *Width, int *Height, unsigned long *Physical, int *Stride, int *BitsPerPixel); 49 …ativeWindowType Window, int *X, int *Y, int *Width, int *Height, int *BitsPerPixel, unsigned int *…
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_bmp.c | 505 if (saveme->format->BitsPerPixel >= 8 && (saveme->format->Amask || in SDL_SaveBMP_RW() 512 if (saveme->format->BitsPerPixel == 8) { in SDL_SaveBMP_RW() 516 saveme->format->BitsPerPixel); in SDL_SaveBMP_RW() 518 } else if ((saveme->format->BitsPerPixel == 24) && !save32bit && in SDL_SaveBMP_RW() 543 format.BitsPerPixel); in SDL_SaveBMP_RW() 579 biBitCount = surface->format->BitsPerPixel; in SDL_SaveBMP_RW()
|
D | SDL_pixels.c | 535 format->BitsPerPixel = bpp; in SDL_InitFormat() 654 if (palette && palette->ncolors != (1 << format->BitsPerPixel)) { in SDL_SetPixelFormatPalette() 754 switch (surface->format->BitsPerPixel) { in SDL_CalculatePitch() 1020 if (srcfmt->BitsPerPixel != dstfmt->BitsPerPixel) in SDL_MapSurface()
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testautomation_pixels.c | 146 …DLTest_AssertCheck(result->BitsPerPixel == 0, "Verify value of result.BitsPerPixel; expected: 0, g… in pixels_allocFreeFormat() 167 …DLTest_AssertCheck(result->BitsPerPixel > 0, "Verify value of result.BitsPerPixel; expected: >0, g… in pixels_allocFreeFormat()
|
D | testspriteminimal.c | 62 switch (temp->format->BitsPerPixel) { in LoadSprite()
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
D | xm_api.c | 413 && v->BitsPerPixel == 32) { in choose_pixel_format() 425 && v->BitsPerPixel == 32) { in choose_pixel_format() 437 && v->BitsPerPixel == 32) { in choose_pixel_format() 450 && v->BitsPerPixel == 16) { in choose_pixel_format() 650 v->BitsPerPixel = bits_per_pixel(v); in initialize_visual_and_buffer() 651 assert(v->BitsPerPixel > 0); in initialize_visual_and_buffer() 663 if (v->BitsPerPixel == 32) { in initialize_visual_and_buffer() 679 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel); in initialize_visual_and_buffer()
|
/third_party/mesa3d/src/mesa/drivers/x11/ |
D | xm_api.c | 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() 600 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel); in initialize_visual_and_buffer()
|