Lines Matching refs:bit_depth
124 int bit_depth, color_type, interlace_type; in gdImageCreateFromPngCtx() local
193 …png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, N… in gdImageCreateFromPngCtx()
207 if (bit_depth == 16) { in gdImageCreateFromPngCtx()
209 } else if (bit_depth < 8) { in gdImageCreateFromPngCtx()
262 if (bit_depth < 8) { in gdImageCreateFromPngCtx()
263 num_palette = 1 << bit_depth; in gdImageCreateFromPngCtx()
276 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ in gdImageCreateFromPngCtx()
306 if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ in gdImageCreateFromPngCtx()
466 int i, j, bit_depth = 0, interlace_type; in gdImagePngCtxEx() local
560 bit_depth = 1; in gdImagePngCtxEx()
562 bit_depth = 2; in gdImagePngCtxEx()
564 bit_depth = 4; in gdImagePngCtxEx()
566 bit_depth = 8; in gdImagePngCtxEx()
581 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_PALETTE, interlace_type, in gdImagePngCtxEx()