Home
last modified time | relevance | path

Searched refs:sample_depth (Results 1 – 5 of 5) sorted by relevance

/external/libpng/contrib/gregbook/
Dwritepng.h109 int sample_depth; member
Dwritepng.c157 mainprog_ptr->sample_depth, color_type, interlace_type, in writepng_init()
Dwpng.c361 wpng_info.sample_depth = 8; /* <==> maxval 255 */ in main()
/external/libpng/contrib/libtests/
Dpngvalid.c5556 png_byte sample_depth; /* Scale of samples */ member
5618 const png_byte sample_depth = (png_byte)(colour_type == in image_pixel_init() local
5620 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 …]
/external/libpng/
Dpngrutil.c1185 png_byte sample_depth; in png_handle_sBIT() local
1210 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()