Home | History | Annotate | Download | only in images

Lines Matching refs:bit_depth

228     int bit_depth, color_type, interlace_type;
229 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
233 if (bit_depth == 16) {
238 if (bit_depth < 8) {
242 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
270 int bit_depth, color_type, interlace_type;
271 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
448 int bit_depth, color_type, interlace_type;
450 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
466 int bit_depth, color_type, interlace_type;
467 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
510 if (16 == bit_depth) {
518 if (16 == bit_depth) {
634 int bit_depth, color_type, interlace_type;
635 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
1036 * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on