Searched refs:sample_depth (Results 1 – 7 of 7) sorted by relevance
6019 png_byte sample_depth; /* Scale of samples */ member6081 const png_byte sample_depth = (png_byte)(colour_type == in image_pixel_init() local6083 const unsigned int max = (1U<<sample_depth)-1; in image_pixel_init()6096 sample_depth; in image_pixel_init()6169 this->sample_depth = sample_depth; in image_pixel_init()6230 this->bit_depth = this->sample_depth = 8; in image_pixel_add_alpha()6240 this->bit_depth = this->sample_depth = 8; in image_pixel_add_alpha()6435 const unsigned int scale = (1U<<that->sample_depth)-1; in image_transform_mod_end()6455 if (sig_bits && that->red_sBIT < that->sample_depth) in image_transform_mod_end()6456 that->red >>= that->sample_depth - that->red_sBIT; in image_transform_mod_end()[all …]
109 int sample_depth; member
157 mainprog_ptr->sample_depth, color_type, interlace_type, in writepng_init()
362 wpng_info.sample_depth = 8; /* <==> maxval 255 */ in main()
1161 png_byte sample_depth; in png_handle_sBIT() local1186 sample_depth = 8; in png_handle_sBIT()1192 sample_depth = png_ptr->bit_depth; in png_handle_sBIT()1202 buf[0] = buf[1] = buf[2] = buf[3] = sample_depth; in png_handle_sBIT()1210 if (buf[i] == 0 || buf[i] > sample_depth) in png_handle_sBIT()
1151 png_byte sample_depth; in png_handle_sBIT() local1176 sample_depth = 8; in png_handle_sBIT()1182 sample_depth = png_ptr->bit_depth; in png_handle_sBIT()1192 buf[0] = buf[1] = buf[2] = buf[3] = sample_depth; in png_handle_sBIT()1200 if (buf[i] == 0 || buf[i] > sample_depth) in png_handle_sBIT()
635 sample_depth, member4034 mng_info->ob[object_id]->sample_depth=ping_bit_depth; in ReadOnePNGImage()