Lines Matching refs:bit_depth
125 int bit_depth, color_type, interlace_type, unit_type; in gdImageCreateFromPngCtx() local
194 …png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, N… in gdImageCreateFromPngCtx()
208 if (bit_depth == 16) { in gdImageCreateFromPngCtx()
210 } else if (bit_depth < 8) { in gdImageCreateFromPngCtx()
277 if (bit_depth < 8) { in gdImageCreateFromPngCtx()
278 num_palette = 1 << bit_depth; in gdImageCreateFromPngCtx()
291 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ in gdImageCreateFromPngCtx()
321 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ in gdImageCreateFromPngCtx()
481 int i, j, bit_depth = 0, interlace_type; in gdImagePngCtxEx() local
581 bit_depth = 1; in gdImagePngCtxEx()
583 bit_depth = 2; in gdImagePngCtxEx()
585 bit_depth = 4; in gdImagePngCtxEx()
587 bit_depth = 8; in gdImagePngCtxEx()
602 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_PALETTE, interlace_type, in gdImagePngCtxEx()