Lines Matching defs:bit_depth
201 int bit_depth;
248 &width, &height, &bit_depth, &color_type,
257 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
265 if (bit_depth == 16)
282 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
286 if (bit_depth == 16)
351 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
358 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
369 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
384 if (bit_depth == 16){
396 if (bit_depth == 16)
404 if (bit_depth == 16){