Lines Matching refs:bit_depth
331 if (row_info->bit_depth == 8) in png_do_read_intrapixel()
351 else if (row_info->bit_depth == 16) in png_do_read_intrapixel()
402 row_info.bit_depth = png_ptr->bit_depth; in png_read_row()
1373 if (png_ptr->bit_depth == 16) in png_image_format()
1449 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_header()
2165 if (png_ptr->bit_depth == 16 && in png_image_read_colormap()
2183 if (png_ptr->bit_depth <= 8) in png_image_read_colormap()
2190 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_colormap()
2246 if (png_ptr->bit_depth < 8) in png_image_read_colormap()
2863 if (png_ptr->bit_depth < 8) in png_image_read_colormap()
2886 if (png_ptr->bit_depth > 8) in png_image_read_colormap()
3164 info_ptr->bit_depth == 8) in png_image_read_colormapped()
3176 info_ptr->bit_depth == 8 && in png_image_read_colormapped()
3186 info_ptr->bit_depth == 8 && in png_image_read_colormapped()
3196 info_ptr->bit_depth == 8 && in png_image_read_colormapped()
3441 switch (info_ptr->bit_depth) in png_image_read_background()
4004 if (info_ptr->bit_depth == 16) in png_image_read_direct()