Lines Matching refs:bit_depth
219 int bit_depth; in png2pnm() local
266 &width, &height, &bit_depth, &color_type, in png2pnm()
275 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) in png2pnm()
283 if (bit_depth == 16) in png2pnm()
300 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, in png2pnm()
304 if (bit_depth == 16) in png2pnm()
378 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
385 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
396 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
411 if (bit_depth == 16){ in png2pnm()
423 if (bit_depth == 16) in png2pnm()
431 if (bit_depth == 16) in png2pnm()