Searched refs:sample_depth (Results 1 – 5 of 5) sorted by relevance
109 int sample_depth; member
157 mainprog_ptr->sample_depth, color_type, interlace_type, in writepng_init()
361 wpng_info.sample_depth = 8; /* <==> maxval 255 */ in main()
5556 png_byte sample_depth; /* Scale of samples */ member5618 const png_byte sample_depth = (png_byte)(colour_type == in image_pixel_init() local5620 const unsigned int max = (1U<<sample_depth)-1; in image_pixel_init()5633 sample_depth; in image_pixel_init()5706 this->sample_depth = sample_depth; in image_pixel_init()5767 this->bit_depth = this->sample_depth = 8; in image_pixel_add_alpha()5777 this->bit_depth = this->sample_depth = 8; in image_pixel_add_alpha()5972 const unsigned int scale = (1U<<that->sample_depth)-1; in image_transform_mod_end()5992 if (sig_bits && that->red_sBIT < that->sample_depth) in image_transform_mod_end()5993 that->red >>= that->sample_depth - that->red_sBIT; in image_transform_mod_end()[all …]
1185 png_byte sample_depth; in png_handle_sBIT() local1210 sample_depth = 8; in png_handle_sBIT()1216 sample_depth = png_ptr->bit_depth; in png_handle_sBIT()1226 buf[0] = buf[1] = buf[2] = buf[3] = sample_depth; in png_handle_sBIT()1234 if (buf[i] == 0 || buf[i] > sample_depth) in png_handle_sBIT()