Home
last modified time | relevance | path

Searched refs:BitsPerPixel (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
H A 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/mesa3d/src/gallium/frontends/glx/xlib/
H A Dxm_api.c414 && v->BitsPerPixel == 32) { in choose_pixel_format()
426 && v->BitsPerPixel == 32) { in choose_pixel_format()
438 && v->BitsPerPixel == 32) { in choose_pixel_format()
451 && v->BitsPerPixel == 16) { in choose_pixel_format()
651 v->BitsPerPixel = bits_per_pixel(v); in initialize_visual_and_buffer()
652 assert(v->BitsPerPixel > 0); in initialize_visual_and_buffer()
664 if (v->BitsPerPixel == 32) { in initialize_visual_and_buffer()
680 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel); in initialize_visual_and_buffer()
H A Dxm_api.h294 GLint BitsPerPixel; /* True bits per pixel for XImages */ member
/third_party/skia/third_party/externals/libwebp/examples/
H A Danim_util.c491 if (cmap == NULL || cmap->ColorCount != (1 << cmap->BitsPerPixel)) { in ReadFrameGIF()

Completed in 5 milliseconds