Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngvalid.c6019 png_byte sample_depth; /* Scale of samples */ member
6081 const png_byte sample_depth = (png_byte)(colour_type == in image_pixel_init() local
6083 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 …]
/external/libpng/contrib/gregbook/
Dwritepng.h109 int sample_depth; member
Dwritepng.c157 mainprog_ptr->sample_depth, color_type, interlace_type, in writepng_init()
Dwpng.c362 wpng_info.sample_depth = 8; /* <==> maxval 255 */ in main()
/external/pdfium/third_party/libpng16/
Dpngrutil.c1151 png_byte sample_depth; in png_handle_sBIT() local
1176 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()
/external/libpng/
Dpngrutil.c1161 png_byte sample_depth; in png_handle_sBIT() local
1186 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()
/external/ImageMagick/coders/
Dpng.c627 sample_depth, member
3750 mng_info->ob[object_id]->sample_depth=ping_bit_depth; in ReadOnePNGImage()