/external/libpng/ |
D | example.c | 834 png_color_8 sig_bit; 837 sig_bit.gray = true_bit_depth; 840 sig_bit.red = true_red_bit_depth; 841 sig_bit.green = true_green_bit_depth; 842 sig_bit.blue = true_blue_bit_depth; 845 sig_bit.alpha = true_alpha_bit_depth; 847 png_set_sBIT(png_ptr, info_ptr, &sig_bit); 925 png_set_shift(png_ptr, &sig_bit);
|
D | png.c | 4237 png_byte shift, sig_bit; 4241 sig_bit = png_ptr->sig_bit.red; 4243 if (png_ptr->sig_bit.green > sig_bit) 4244 sig_bit = png_ptr->sig_bit.green; 4246 if (png_ptr->sig_bit.blue > sig_bit) 4247 sig_bit = png_ptr->sig_bit.blue; 4250 sig_bit = png_ptr->sig_bit.gray; 4270 if (sig_bit > 0 && sig_bit < 16U) 4272 shift = (png_byte)((16U - sig_bit) & 0xff);
|
D | pnginfo.h | 139 png_color_8 sig_bit; /* significant bits in color channels */ member
|
D | pngget.c | 1032 png_color_8p *sig_bit) in png_get_sBIT() argument 1037 (info_ptr->valid & PNG_INFO_sBIT) != 0 && sig_bit != NULL) in png_get_sBIT() 1039 *sig_bit = &(info_ptr->sig_bit); in png_get_sBIT()
|
D | pngrutil.c | 1219 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1220 png_ptr->sig_bit.green = buf[1]; in png_handle_sBIT() 1221 png_ptr->sig_bit.blue = buf[2]; in png_handle_sBIT() 1222 png_ptr->sig_bit.alpha = buf[3]; in png_handle_sBIT() 1227 png_ptr->sig_bit.gray = buf[0]; in png_handle_sBIT() 1228 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1229 png_ptr->sig_bit.green = buf[0]; in png_handle_sBIT() 1230 png_ptr->sig_bit.blue = buf[0]; in png_handle_sBIT() 1231 png_ptr->sig_bit.alpha = buf[1]; in png_handle_sBIT() 1234 png_set_sBIT(png_ptr, info_ptr, &(png_ptr->sig_bit)); in png_handle_sBIT()
|
D | pngset.c | 639 png_const_color_8p sig_bit) in png_set_sBIT() argument 643 if (png_ptr == NULL || info_ptr == NULL || sig_bit == NULL) in png_set_sBIT() 646 info_ptr->sig_bit = *sig_bit; in png_set_sBIT()
|
D | pngstruct.h | 306 png_color_8 sig_bit; /* significant bits in each available channel */ member
|
D | pngtest.c | 1267 png_color_8p sig_bit; in test_one_file() local 1269 if (png_get_sBIT(read_ptr, read_info_ptr, &sig_bit) != 0) in test_one_file() 1270 png_set_sBIT(write_ptr, write_info_ptr, sig_bit); in test_one_file()
|
D | png.h | 2069 png_inforp info_ptr, png_color_8p *sig_bit)); 2074 png_inforp info_ptr, png_const_color_8p sig_bit));
|
D | pngwrite.c | 171 png_write_sBIT(png_ptr, &(info_ptr->sig_bit), info_ptr->color_type); in png_write_info_before_PLTE() 1374 png_set_shift(png_ptr, &info_ptr->sig_bit); in png_write_png()
|
D | pngrtran.c | 1895 int shift = 8 - png_ptr->sig_bit.red; in png_init_read_transformations() 1912 shift = 8 - png_ptr->sig_bit.green; in png_init_read_transformations() 1922 shift = 8 - png_ptr->sig_bit.blue; in png_init_read_transformations()
|
D | libpng-manual.txt | 1446 png_get_sBIT(png_ptr, info_ptr, &sig_bit); 1448 sig_bit - the number of significant bits for 1874 png_color_8p sig_bit; 1876 if (png_get_sBIT(png_ptr, info_ptr, &sig_bit)) 1877 png_set_shift(png_ptr, sig_bit); 3095 png_set_sBIT(png_ptr, info_ptr, sig_bit); 3097 sig_bit - the number of significant bits for 3491 sig_bit.red = true_bit_depth; 3492 sig_bit.green = true_bit_depth; 3493 sig_bit.blue = true_bit_depth; [all …]
|
D | pngread.c | 1153 png_set_shift(png_ptr, &info_ptr->sig_bit); in png_read_png()
|
D | CHANGES | 2295 Clarified usage of sig_bit versus sig_bit_p in example.c (Vincent Torri)
|
/external/pdfium/third_party/libpng16/ |
D | png.c | 4238 png_byte shift, sig_bit; 4242 sig_bit = png_ptr->sig_bit.red; 4244 if (png_ptr->sig_bit.green > sig_bit) 4245 sig_bit = png_ptr->sig_bit.green; 4247 if (png_ptr->sig_bit.blue > sig_bit) 4248 sig_bit = png_ptr->sig_bit.blue; 4251 sig_bit = png_ptr->sig_bit.gray; 4271 if (sig_bit > 0 && sig_bit < 16U) 4273 shift = (png_byte)((16U - sig_bit) & 0xff);
|
D | pnginfo.h | 139 png_color_8 sig_bit; /* significant bits in color channels */ member
|
D | pngget.c | 1032 png_color_8p *sig_bit) in png_get_sBIT() argument 1037 (info_ptr->valid & PNG_INFO_sBIT) != 0 && sig_bit != NULL) in png_get_sBIT() 1039 *sig_bit = &(info_ptr->sig_bit); in png_get_sBIT()
|
D | pngrutil.c | 1219 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1220 png_ptr->sig_bit.green = buf[1]; in png_handle_sBIT() 1221 png_ptr->sig_bit.blue = buf[2]; in png_handle_sBIT() 1222 png_ptr->sig_bit.alpha = buf[3]; in png_handle_sBIT() 1227 png_ptr->sig_bit.gray = buf[0]; in png_handle_sBIT() 1228 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1229 png_ptr->sig_bit.green = buf[0]; in png_handle_sBIT() 1230 png_ptr->sig_bit.blue = buf[0]; in png_handle_sBIT() 1231 png_ptr->sig_bit.alpha = buf[1]; in png_handle_sBIT() 1234 png_set_sBIT(png_ptr, info_ptr, &(png_ptr->sig_bit)); in png_handle_sBIT()
|
D | pngset.c | 639 png_const_color_8p sig_bit) in png_set_sBIT() argument 643 if (png_ptr == NULL || info_ptr == NULL || sig_bit == NULL) in png_set_sBIT() 646 info_ptr->sig_bit = *sig_bit; in png_set_sBIT()
|
D | pngstruct.h | 306 png_color_8 sig_bit; /* significant bits in each available channel */ member
|
D | pngwrite.c | 171 png_write_sBIT(png_ptr, &(info_ptr->sig_bit), info_ptr->color_type); in png_write_info_before_PLTE() 1374 png_set_shift(png_ptr, &info_ptr->sig_bit); in png_write_png()
|
D | png.h | 2069 png_inforp info_ptr, png_color_8p *sig_bit)); 2074 png_inforp info_ptr, png_const_color_8p sig_bit));
|
D | pngrtran.c | 1895 int shift = 8 - png_ptr->sig_bit.red; in png_init_read_transformations() 1912 shift = 8 - png_ptr->sig_bit.green; in png_init_read_transformations() 1922 shift = 8 - png_ptr->sig_bit.blue; in png_init_read_transformations()
|
D | pngread.c | 1153 png_set_shift(png_ptr, &info_ptr->sig_bit); in png_read_png()
|