Home | History | Annotate | Download | only in images

Lines Matching refs:bit_depth

227     int bit_depth, color_type, interlace_type;
228 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
232 if (bit_depth == 16) {
237 if (bit_depth < 8) {
241 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
269 int bit_depth, color_type, interlace_type;
270 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
442 int bit_depth, color_type, interlace_type;
444 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
460 int bit_depth, color_type, interlace_type;
461 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
504 if (16 == bit_depth) {
512 if (16 == bit_depth) {
628 int bit_depth, color_type, interlace_type;
629 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
1123 * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on