Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/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()
/third_party/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()
/third_party/giflib/
Degif_lib.c332 (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 …]
Ddgif_lib.c244 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 …]
Dgiftext.c105 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()
Dgif_lib_private.h40 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */ member
Dgifalloc.c65 Object->BitsPerPixel = GifBitSize(ColorCount); in GifMakeMapObject()
205 ColorUnion->BitsPerPixel = NewGifBitSize; in GifUnionColorMap()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dwrgif.c256 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/
Dwelcome2.dmp5 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.
Dtreescap-interlaced.dmp5 ColorResolution = 7, BitsPerPixel = 4, BackGround = 0, Aspect = 0.
Dtreescap.dmp5 ColorResolution = 7, BitsPerPixel = 4, BackGround = 0, Aspect = 0.
Dsolid2.dmp5 ColorResolution = 7, BitsPerPixel = 7, BackGround = 0, Aspect = 0.
Dporsche.dmp5 ColorResolution = 4, BitsPerPixel = 5, BackGround = 0, Aspect = 0.
Dgifgrid.dmp5 ColorResolution = 3, BitsPerPixel = 3, BackGround = 0, Aspect = 0.
Dx-trans.dmp5 ColorResolution = 7, BitsPerPixel = 8, BackGround = 0, Aspect = 0.
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_blendfillrect.c206 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()
DSDL_drawpoint.c37 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoint()
78 if (dst->format->BitsPerPixel < 8) { in SDL_DrawPoints()
DSDL_blendpoint.c204 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/
DSDL_vivantevideo.h45 …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/
DSDL_bmp.c505 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()
DSDL_pixels.c535 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/
Dtestautomation_pixels.c146 …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()
Dtestspriteminimal.c62 switch (temp->format->BitsPerPixel) { in LoadSprite()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c413 && 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/
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()
600 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel); in initialize_visual_and_buffer()

123