Home | History | Annotate | Download | only in libpng

Lines Matching full:bit_depth

228    png_uint_32 width, png_uint_32 height, int bit_depth,
239 info_ptr->bit_depth = (png_byte)bit_depth;
246 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type,
257 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth);
873 int sample_max = (1 << info_ptr->bit_depth);
881 "tRNS chunk has out-of-range samples for bit_depth");