Lines Matching refs:bit_depth
176 int bit_depth; in png2pnm() local
222 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, in png2pnm()
231 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) in png2pnm()
239 if (bit_depth == 16) in png2pnm()
256 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, in png2pnm()
260 if (bit_depth == 16) in png2pnm()
334 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
341 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
352 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
370 if (bit_depth == 16) in png2pnm()
386 if (bit_depth == 16) in png2pnm()
397 if (bit_depth == 16) in png2pnm()