/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngwtran.c | 68 /* png_byte bit_depth; bit depth of samples */ 88 (png_uint_32)png_ptr->bit_depth); 124 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The 129 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) argument 133 if (row_info->bit_depth == 8 && 136 switch ((int)bit_depth) 257 row_info->bit_depth = (png_byte)bit_depth; 258 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 267 * true number of bits in bit_depth 274 png_do_shift(png_row_infop row_info, png_bytep row, png_const_color_8p bit_depth) argument [all...] |
H A D | pngrtran.c | 1224 switch (png_ptr->bit_depth) 1479 png_ptr->bit_depth != 16) 1542 png_build_gamma_table(png_ptr, png_ptr->bit_depth); 1863 info_ptr->bit_depth = 8; 1873 if (info_ptr->bit_depth < 8) 1874 info_ptr->bit_depth = 8; 1899 if (info_ptr->bit_depth == 16) 1904 info_ptr->bit_depth = 8; 1909 info_ptr->bit_depth = 8; 1923 info_ptr->bit_depth 3378 png_build_grayscale_palette(int bit_depth, png_colorp palette) argument [all...] |
H A D | pngtrans.c | 70 if (png_ptr->bit_depth == 16) 85 if (png_ptr->bit_depth < 8) 103 if (png_ptr->bit_depth < 8) 175 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8) 243 * if (row_info->bit_depth == 1 && 259 row_info->bit_depth == 8) 274 row_info->bit_depth == 16) 299 if (row_info->bit_depth == 16) 428 if (row_info->bit_depth < 8) 435 if (row_info->bit_depth [all...] |
H A D | pnginfo.h | 94 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */ member in struct:png_info_def 150 * in the pixel data. Values are in the range [1, bit_depth], and are 234 * The integer range [0, 2^bit_depth - 1] maps to the floating-point
|
H A D | pngtest.c | 224 * png_byte bit_depth bit depth of samples 238 if (row_info->bit_depth == 1) 250 if (row_info->bit_depth == 2) 262 if (row_info->bit_depth == 4) 274 if (row_info->bit_depth == 8) 278 if (row_info->bit_depth == 16) 297 if (row_info->bit_depth == 8) 301 if (row_info->bit_depth == 16) 312 if (row_info->bit_depth == 16) 809 int bit_depth, color_typ local [all...] |
H A D | pngwutil.c | 680 int bit_depth, int color_type, int compression_type, int filter_type, 693 switch (bit_depth) 712 if (bit_depth != 8 && bit_depth != 16) 714 if (bit_depth != 8) 722 switch (bit_depth) 737 if (bit_depth != 8 && bit_depth != 16) 745 if (bit_depth != 8 && bit_depth ! 679 png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int compression_type, int filter_type, int interlace_type) argument [all...] |
H A D | png.c | 831 png_uint_32 width, png_uint_32 height, int bit_depth, 892 if (bit_depth != 1 && bit_depth != 2 && bit_depth != 4 && 893 bit_depth != 8 && bit_depth != 16) 906 if (((color_type == PNG_COLOR_TYPE_PALETTE) && bit_depth > 8) || 909 color_type == PNG_COLOR_TYPE_RGB_ALPHA) && bit_depth < 8)) 2142 /* This does the right thing based on the bit_depth field of the 2151 if (png_ptr->bit_depth 830 png_check_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument 2331 png_build_gamma_table(png_structp png_ptr, int bit_depth) argument [all...] |
H A D | pngget.c | 101 return info_ptr->bit_depth; 669 png_uint_32 *width, png_uint_32 *height, int *bit_depth, 677 height == NULL || bit_depth == NULL || color_type == NULL) 682 *bit_depth = info_ptr->bit_depth; 700 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type, 668 png_get_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type) argument
|
H A D | pngset.c | 198 png_uint_32 width, png_uint_32 height, int bit_depth, 209 info_ptr->bit_depth = (png_byte)bit_depth; 216 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type, 231 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); 880 int sample_max = (1 << info_ptr->bit_depth); 889 "tRNS chunk has out-of-range samples for bit_depth"); 197 png_set_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument
|
H A D | pngpriv.h | 611 int bit_depth, int color_type, int compression_method, int filter_method, 885 png_bytep row, png_uint_32 bit_depth)); 890 png_bytep row, png_const_color_8p bit_depth)); 1111 png_uint_32 width, png_uint_32 height, int bit_depth, 1374 int bit_depth));
|
H A D | pngstruct.h | 156 png_byte bit_depth; /* bit depth of file */ member in struct:png_struct_def
|
H A D | pngrutil.c | 558 int bit_depth, color_type, compression_type, filter_type; local 577 bit_depth = buf[8]; 586 png_ptr->bit_depth = (png_byte)bit_depth; 617 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * 620 png_debug1(3, "bit_depth = %d", png_ptr->bit_depth); 623 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, 3490 if ((png_ptr->transformations & PNG_PACK) && png_ptr->bit_depth < 8) 3535 if (png_ptr->bit_depth < 1 [all...] |
H A D | png.h | 835 png_byte bit_depth; /* bit depth of row */ member in struct:png_row_info_struct 1158 PNG_EXPORT(35, void, png_build_grayscale_palette, (int bit_depth, 2012 /* Returns image bit_depth. */ 2131 png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, 2136 png_uint_32 width, png_uint_32 height, int bit_depth, int color_type,
|
H A D | pngwrite.c | 79 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type, 765 png_ptr->row_info.bit_depth = png_ptr->usr_bit_depth; 766 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * 775 png_debug1(3, "row_info->bit_depth = %d", png_ptr->row_info.bit_depth);
|
H A D | pngread.c | 670 png_ptr->row_info.bit_depth = png_ptr->bit_depth; 1369 if ((png_ptr->bit_depth < 8) ||
|
H A D | CHANGES | 360 too large when writing an image with bit_depth < 8 (Bob Dellaca). 470 Fixed a bug in the check for valid IHDR bit_depth/color_types in pngrutil.c 1135 value exceeding 2^bit_depth-1 1220 Check for invalid bit_depth or color_type in png_get_IHDR(), and 2609 Added "bit_depth" parameter to the private png_build_gamma_table() function. 2610 Pass bit_depth=8 to png_build_gamma_table() when bit_depth is 16 but the
|
H A D | pngpread.c | 1045 png_ptr->row_info.bit_depth = png_ptr->bit_depth;
|
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_png.c | 60 int bit_depth, color_type; local 84 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
|