Searched refs:bit_depth (Results 1 - 6 of 6) sorted by relevance

/haiku/src/tools/translation/pnginfo/
H A Dpnginfo.cpp137 int bit_depth, color_type, interlace_type, compression_type, filter_type; local
138 png_get_IHDR(ppng, pinfo, &width, &height, &bit_depth, &color_type,
144 printf("bit depth (bits/channel): %d\n", bit_depth);
/haiku/src/add-ons/translators/png/
H A DPNGTranslator.cpp351 int bit_depth, color_type, interlace_type; local
352 png_get_IHDR(ppng, pinfo, &width, &height, &bit_depth, &color_type,
358 if (bit_depth == 16)
360 else if (bit_depth < 8)
366 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
748 int bit_depth, color_type, interlace_type; local
749 bit_depth = 8;
892 png_set_IHDR(ppng, pinfo, width, height, bit_depth, color_type,
/haiku/src/add-ons/accelerants/common/
H A Ddecode_edid.c61 display->digital_params.bit_depth = 0;
62 if (raw->digital_params.bit_depth > 0 && raw->digital_params.bit_depth < 7)
63 display->digital_params.bit_depth = raw->digital_params.bit_depth * 2 + 4;
H A Ddump_edid.c538 dprintf(" Digital Bit Depth: %d\n", edid->display.digital_params.bit_depth);
/haiku/headers/private/graphics/common/
H A Dedid.h42 uint8 bit_depth; member in struct:__anon85
H A Dedid_raw.h83 bit_depth : 3, // 0=undefined, 1=6,2=8,3=10,4=12,5=14,6=16,7=reserved

Completed in 55 milliseconds