/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libpng/ |
H A D | pngwtran.c | 40 /* png_byte bit_depth; bit depth of samples */ 57 (png_uint_32)png_ptr->bit_depth); 87 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The 92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) argument 96 if (row_info->bit_depth == 8 && 99 switch ((int)bit_depth) 199 row_info->bit_depth = (png_byte)bit_depth; 200 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 209 * true number of bits in bit_depth 216 png_do_shift(png_row_infop row_info, png_bytep row, png_color_8p bit_depth) argument [all...] |
H A D | pngrtran.c | 793 switch (png_ptr->bit_depth) 893 png_build_gamma_table(png_ptr, png_ptr->bit_depth); 1010 double m = (double)(((png_uint_32)1 << png_ptr->bit_depth) - 1); 1179 info_ptr->bit_depth = 8; 1189 if (info_ptr->bit_depth < 8) 1190 info_ptr->bit_depth = 8; 1218 if ((png_ptr->transformations & PNG_16_TO_8) && (info_ptr->bit_depth == 16)) 1219 info_ptr->bit_depth = 8; 1237 png_ptr->palette_lookup && info_ptr->bit_depth == 8) 1245 if ((png_ptr->transformations & PNG_PACK) && (info_ptr->bit_depth < 2506 png_build_grayscale_palette(int bit_depth, png_colorp palette) argument 3922 png_build_gamma_table(png_structp png_ptr, png_byte bit_depth) argument [all...] |
H A D | pngtrans.c | 41 if (png_ptr->bit_depth == 16) 55 if (png_ptr->bit_depth < 8) 72 if (png_ptr->bit_depth < 8) 140 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8) 204 * if (row_info->bit_depth == 1 && 219 row_info->bit_depth == 8) 232 row_info->bit_depth == 16) 256 row_info->bit_depth == 16) 385 row_info->bit_depth < 8) 391 if (row_info->bit_depth [all...] |
H A D | png.c | 779 png_uint_32 width, png_uint_32 height, int bit_depth, 839 if (bit_depth != 1 && bit_depth != 2 && bit_depth != 4 && 840 bit_depth != 8 && bit_depth != 16) 853 if (((color_type == PNG_COLOR_TYPE_PALETTE) && bit_depth > 8) || 856 color_type == PNG_COLOR_TYPE_RGB_ALPHA) && bit_depth < 8)) 778 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
|
H A D | pngtest.c | 168 * png_byte bit_depth bit depth of samples 181 if (row_info->bit_depth == 1) 191 if (row_info->bit_depth == 2) 201 if (row_info->bit_depth == 4) 211 if (row_info->bit_depth == 8) 214 if (row_info->bit_depth == 16) 233 if (row_info->bit_depth == 8) 236 if (row_info->bit_depth == 16) 246 if (row_info->bit_depth == 16) 661 int bit_depth, color_typ local [all...] |
H A D | example.c | 89 int bit_depth, color_type, interlace_type; 101 int bit_depth, color_type, interlace_type; 177 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 208 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 637 * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on 644 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_???,
|
H A D | pngwutil.c | 418 int bit_depth, int color_type, int compression_type, int filter_type, 432 switch (bit_depth) 444 if (bit_depth != 8 && bit_depth != 16) 449 switch (bit_depth) 459 if (bit_depth != 8 && bit_depth != 16) 464 if (bit_depth != 8 && bit_depth != 16) 513 png_ptr->bit_depth 417 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 | pngget.c | 76 return info_ptr->bit_depth; 578 png_uint_32 *width, png_uint_32 *height, int *bit_depth, 586 height == NULL || bit_depth == NULL || color_type == NULL) 591 *bit_depth = info_ptr->bit_depth; 609 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type, 577 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 | 222 png_uint_32 width, png_uint_32 height, int bit_depth, 233 info_ptr->bit_depth = (png_byte)bit_depth; 240 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type, 251 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); 841 int sample_max = (1 << info_ptr->bit_depth); 849 "tRNS chunk has out-of-range samples for bit_depth"); 221 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 | 340 int bit_depth, int color_type, int compression_method, int filter_method, 481 png_byte bit_depth)); 609 png_bytep row, png_uint_32 bit_depth)); 614 png_color_8p bit_depth)); 828 png_uint_32 width, png_uint_32 height, int bit_depth,
|
H A D | png.h | 651 png_byte bit_depth PNG_DEPSTRUCT; /* 1, 2, 4, 8, or 16 bits/channel 717 * in the pixel data. Values are in the range [1, bit_depth], and are 806 * The integer range [0, 2^bit_depth - 1] maps to the floating-point 1004 png_byte bit_depth; /* bit depth of row */ member in struct:png_row_info_struct 1208 png_byte bit_depth PNG_DEPSTRUCT; /* bit depth of file */ 1646 PNG_EXPORT(void,png_build_grayscale_palette) PNGARG((int bit_depth, 2179 /* Returns image bit_depth. */ 2300 int *bit_depth, int *color_type, int *interlace_method, 2304 png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth,
|
H A D | pngrutil.c | 421 int bit_depth, color_type, compression_type, filter_type; local 440 bit_depth = buf[8]; 449 png_ptr->bit_depth = (png_byte)bit_depth; 479 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * 482 png_debug1(3, "bit_depth = %d", png_ptr->bit_depth); 485 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, 3216 if ((png_ptr->transformations & PNG_PACK) && png_ptr->bit_depth < 8)
|
H A D | pngwrite.c | 50 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type, 773 png_ptr->row_info.bit_depth = png_ptr->usr_bit_depth; 774 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * 783 png_debug1(3, "row_info->bit_depth = %d", png_ptr->row_info.bit_depth);
|
H A D | pngread.c | 634 png_ptr->row_info.bit_depth = png_ptr->bit_depth; 1254 if ((png_ptr->bit_depth < 8) ||
|
H A D | pngpread.c | 934 png_ptr->row_info.bit_depth = png_ptr->bit_depth;
|
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libpng/contrib/pngminus/ |
H A D | pnm2png.c | 203 int bit_depth = 0; local 223 bit_depth = 1; 236 bit_depth = 1; 238 bit_depth = 2; 240 bit_depth = 4; 242 bit_depth = 8; 244 bit_depth = 16; 257 bit_depth = 1; 259 bit_depth = 2; 261 bit_depth [all...] |
H A D | png2pnm.c | 200 int bit_depth; local 247 &width, &height, &bit_depth, &color_type, 256 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 264 if (bit_depth == 16) 281 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 285 if (bit_depth == 16) 350 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); 357 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); 368 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); 383 if (bit_depth [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/png/ |
H A D | png.c | 275 int bit_depth, color_type, interlace_type; local 301 png_get_IHDR(png_ptr, info_ptr, &info_width, &info_height, &bit_depth, 326 } else if (bit_depth == 16) {
|
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/libpng/ |
H A D | pngtclDecls.h | 130 PNG_IMPEXP void png_build_grayscale_palette(int bit_depth, 463 int *bit_depth, int *color_type, 469 int bit_depth, int color_type, 669 int bit_depth, int color_type, 842 png_uint_32 bit_depth); 845 png_color_8p bit_depth); 1048 void (*png_build_grayscale_palettePtr) (int bit_depth, png_colorp palette); /* 32 */ 1156 png_uint_32 (*png_get_IHDRPtr) (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); /* 140 */ 1157 void (*png_set_IHDRPtr) (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); /* 141 */ 1224 void (*png_write_IHDRPtr) (png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, in [all...] |
/macosx-10.10.1/emacs-93/emacs/src/ |
H A D | image.c | 6099 int bit_depth, color_type, interlace_type; 6215 fn_png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 6233 if (bit_depth == 16) 6085 int bit_depth, color_type, interlace_type; local
|