/external/syslinux/com32/lib/libpng/ |
D | example.c | 655 png_color_8 sig_bit; 657 sig_bit.gray = true_bit_depth; 659 sig_bit.red = true_red_bit_depth; 660 sig_bit.green = true_green_bit_depth; 661 sig_bit.blue = true_blue_bit_depth; 663 sig_bit.alpha = true_alpha_bit_depth; 664 png_set_sBIT(png_ptr, info_ptr, &sig_bit); 726 png_set_shift(png_ptr, &sig_bit);
|
D | pngrtran.c | 1159 int sr = 8 - png_ptr->sig_bit.red; in png_init_read_transformations() 1160 int sg = 8 - png_ptr->sig_bit.green; in png_init_read_transformations() 1161 int sb = 8 - png_ptr->sig_bit.blue; in png_init_read_transformations() 4236 int sig_bit; in png_build_gamma_table() local 4241 sig_bit = (int)png_ptr->sig_bit.red; in png_build_gamma_table() 4243 if ((int)png_ptr->sig_bit.green > sig_bit) in png_build_gamma_table() 4244 sig_bit = png_ptr->sig_bit.green; in png_build_gamma_table() 4246 if ((int)png_ptr->sig_bit.blue > sig_bit) in png_build_gamma_table() 4247 sig_bit = png_ptr->sig_bit.blue; in png_build_gamma_table() 4251 sig_bit = (int)png_ptr->sig_bit.gray; in png_build_gamma_table() [all …]
|
D | pngget.c | 748 png_get_sBIT(png_structp png_ptr, png_infop info_ptr, png_color_8p *sig_bit) in png_get_sBIT() argument 753 && sig_bit != NULL) in png_get_sBIT() 755 *sig_bit = &(info_ptr->sig_bit); in png_get_sBIT()
|
D | pngrutil.c | 800 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 801 png_ptr->sig_bit.green = buf[1]; in png_handle_sBIT() 802 png_ptr->sig_bit.blue = buf[2]; in png_handle_sBIT() 803 png_ptr->sig_bit.alpha = buf[3]; in png_handle_sBIT() 807 png_ptr->sig_bit.gray = buf[0]; in png_handle_sBIT() 808 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 809 png_ptr->sig_bit.green = buf[0]; in png_handle_sBIT() 810 png_ptr->sig_bit.blue = buf[0]; in png_handle_sBIT() 811 png_ptr->sig_bit.alpha = buf[1]; in png_handle_sBIT() 813 png_set_sBIT(png_ptr, info_ptr, &(png_ptr->sig_bit)); in png_handle_sBIT()
|
D | pngset.c | 495 png_color_8p sig_bit) in png_set_sBIT() argument 502 png_memcpy(&(info_ptr->sig_bit), sig_bit, png_sizeof(png_color_8)); in png_set_sBIT()
|
/external/skia/third_party/libpng/ |
D | example.c | 858 png_color_8 sig_bit; 861 sig_bit.gray = true_bit_depth; 864 sig_bit.red = true_red_bit_depth; 865 sig_bit.green = true_green_bit_depth; 866 sig_bit.blue = true_blue_bit_depth; 869 sig_bit.alpha = true_alpha_bit_depth; 871 png_set_sBIT(png_ptr, info_ptr, &sig_bit); 950 png_set_shift(png_ptr, &sig_bit);
|
D | png.c | 4128 png_byte shift, sig_bit; 4132 sig_bit = png_ptr->sig_bit.red; 4134 if (png_ptr->sig_bit.green > sig_bit) 4135 sig_bit = png_ptr->sig_bit.green; 4137 if (png_ptr->sig_bit.blue > sig_bit) 4138 sig_bit = png_ptr->sig_bit.blue; 4141 sig_bit = png_ptr->sig_bit.gray; 4161 if (sig_bit > 0 && sig_bit < 16U) 4163 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 | 1002 png_color_8p *sig_bit) in png_get_sBIT() argument 1007 (info_ptr->valid & PNG_INFO_sBIT) != 0 && sig_bit != NULL) in png_get_sBIT() 1009 *sig_bit = &(info_ptr->sig_bit); in png_get_sBIT()
|
D | pngrutil.c | 1209 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1210 png_ptr->sig_bit.green = buf[1]; in png_handle_sBIT() 1211 png_ptr->sig_bit.blue = buf[2]; in png_handle_sBIT() 1212 png_ptr->sig_bit.alpha = buf[3]; in png_handle_sBIT() 1217 png_ptr->sig_bit.gray = buf[0]; in png_handle_sBIT() 1218 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1219 png_ptr->sig_bit.green = buf[0]; in png_handle_sBIT() 1220 png_ptr->sig_bit.blue = buf[0]; in png_handle_sBIT() 1221 png_ptr->sig_bit.alpha = buf[1]; in png_handle_sBIT() 1224 png_set_sBIT(png_ptr, info_ptr, &(png_ptr->sig_bit)); in png_handle_sBIT()
|
D | pngset.c | 578 png_const_color_8p sig_bit) in png_set_sBIT() argument 582 if (png_ptr == NULL || info_ptr == NULL || sig_bit == NULL) in png_set_sBIT() 585 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
|
/external/libpng/ |
D | example.c | 858 png_color_8 sig_bit; 861 sig_bit.gray = true_bit_depth; 864 sig_bit.red = true_red_bit_depth; 865 sig_bit.green = true_green_bit_depth; 866 sig_bit.blue = true_blue_bit_depth; 869 sig_bit.alpha = true_alpha_bit_depth; 871 png_set_sBIT(png_ptr, info_ptr, &sig_bit); 950 png_set_shift(png_ptr, &sig_bit);
|
D | png.c | 4162 png_byte shift, sig_bit; 4166 sig_bit = png_ptr->sig_bit.red; 4168 if (png_ptr->sig_bit.green > sig_bit) 4169 sig_bit = png_ptr->sig_bit.green; 4171 if (png_ptr->sig_bit.blue > sig_bit) 4172 sig_bit = png_ptr->sig_bit.blue; 4175 sig_bit = png_ptr->sig_bit.gray; 4195 if (sig_bit > 0 && sig_bit < 16U) 4197 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 | 1002 png_color_8p *sig_bit) in png_get_sBIT() argument 1007 (info_ptr->valid & PNG_INFO_sBIT) != 0 && sig_bit != NULL) in png_get_sBIT() 1009 *sig_bit = &(info_ptr->sig_bit); in png_get_sBIT()
|
D | pngrutil.c | 1211 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1212 png_ptr->sig_bit.green = buf[1]; in png_handle_sBIT() 1213 png_ptr->sig_bit.blue = buf[2]; in png_handle_sBIT() 1214 png_ptr->sig_bit.alpha = buf[3]; in png_handle_sBIT() 1219 png_ptr->sig_bit.gray = buf[0]; in png_handle_sBIT() 1220 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1221 png_ptr->sig_bit.green = buf[0]; in png_handle_sBIT() 1222 png_ptr->sig_bit.blue = buf[0]; in png_handle_sBIT() 1223 png_ptr->sig_bit.alpha = buf[1]; in png_handle_sBIT() 1226 png_set_sBIT(png_ptr, info_ptr, &(png_ptr->sig_bit)); in png_handle_sBIT()
|
D | pngset.c | 578 png_const_color_8p sig_bit) in png_set_sBIT() argument 582 if (png_ptr == NULL || info_ptr == NULL || sig_bit == NULL) in png_set_sBIT() 585 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
|
/external/pdfium/third_party/libpng16/ |
D | png.c | 4129 png_byte shift, sig_bit; 4133 sig_bit = png_ptr->sig_bit.red; 4135 if (png_ptr->sig_bit.green > sig_bit) 4136 sig_bit = png_ptr->sig_bit.green; 4138 if (png_ptr->sig_bit.blue > sig_bit) 4139 sig_bit = png_ptr->sig_bit.blue; 4142 sig_bit = png_ptr->sig_bit.gray; 4162 if (sig_bit > 0 && sig_bit < 16U) 4164 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 | 1002 png_color_8p *sig_bit) in png_get_sBIT() argument 1007 (info_ptr->valid & PNG_INFO_sBIT) != 0 && sig_bit != NULL) in png_get_sBIT() 1009 *sig_bit = &(info_ptr->sig_bit); in png_get_sBIT()
|
D | pngrutil.c | 1209 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1210 png_ptr->sig_bit.green = buf[1]; in png_handle_sBIT() 1211 png_ptr->sig_bit.blue = buf[2]; in png_handle_sBIT() 1212 png_ptr->sig_bit.alpha = buf[3]; in png_handle_sBIT() 1217 png_ptr->sig_bit.gray = buf[0]; in png_handle_sBIT() 1218 png_ptr->sig_bit.red = buf[0]; in png_handle_sBIT() 1219 png_ptr->sig_bit.green = buf[0]; in png_handle_sBIT() 1220 png_ptr->sig_bit.blue = buf[0]; in png_handle_sBIT() 1221 png_ptr->sig_bit.alpha = buf[1]; in png_handle_sBIT() 1224 png_set_sBIT(png_ptr, info_ptr, &(png_ptr->sig_bit)); in png_handle_sBIT()
|
D | pngset.c | 590 png_const_color_8p sig_bit) in png_set_sBIT() argument 594 if (png_ptr == NULL || info_ptr == NULL || sig_bit == NULL) in png_set_sBIT() 597 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
|