/external/qemu/distrib/libpng-1.2.19/ |
D | pngrtran.c | 95 png_ptr->background_gamma_type = (png_byte)(background_gamma_code); in png_set_background() 134 png_byte left; 135 png_byte right; 154 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither() 156 png_ptr->dither_index[i] = (png_byte)i; in png_set_dither() 170 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither() 174 png_ptr->dither_sort[i] = (png_byte)i; in png_set_dither() 193 png_byte t; in png_set_dither() 244 png_ptr->dither_index[j] = (png_byte)i; in png_set_dither() 245 png_ptr->dither_index[i] = (png_byte)j; in png_set_dither() [all …]
|
D | pngwtran.c | 120 *dp = (png_byte)v; in png_do_pack() 126 *dp = (png_byte)v; in png_do_pack() 142 png_byte value; in png_do_pack() 144 value = (png_byte)(*sp & 0x03); in png_do_pack() 149 *dp = (png_byte)v; in png_do_pack() 158 *dp = (png_byte)v; in png_do_pack() 174 png_byte value; in png_do_pack() 176 value = (png_byte)(*sp & 0x0f); in png_do_pack() 182 *dp = (png_byte)v; in png_do_pack() 192 *dp = (png_byte)v; in png_do_pack() [all …]
|
D | png.h | 518 png_byte red; 519 png_byte green; 520 png_byte blue; 527 png_byte index; /* used for palette files */ 538 png_byte red; /* for use in red green blue files */ 539 png_byte green; 540 png_byte blue; 541 png_byte gray; /* for use in grayscale files */ 542 png_byte alpha; /* for alpha channel files */ 570 png_byte depth; /* depth of palette samples */ [all …]
|
D | pngwutil.c | 22 buf[0] = (png_byte)((i >> 24) & 0xff); in png_save_uint_32() 23 buf[1] = (png_byte)((i >> 16) & 0xff); in png_save_uint_32() 24 buf[2] = (png_byte)((i >> 8) & 0xff); in png_save_uint_32() 25 buf[3] = (png_byte)(i & 0xff); in png_save_uint_32() 35 buf[0] = (png_byte)((i >> 24) & 0xff); in png_save_int_32() 36 buf[1] = (png_byte)((i >> 16) & 0xff); in png_save_int_32() 37 buf[2] = (png_byte)((i >> 8) & 0xff); in png_save_int_32() 38 buf[3] = (png_byte)(i & 0xff); in png_save_int_32() 48 buf[0] = (png_byte)((i >> 8) & 0xff); in png_save_uint_16() 49 buf[1] = (png_byte)(i & 0xff); in png_save_uint_16() [all …]
|
D | pngtrans.c | 104 png_ptr->filler = (png_byte)filler; in png_set_filler() 194 *rp = (png_byte)(~(*rp)); in png_do_invert() 207 *rp = (png_byte)(~(*rp)); in png_do_invert() 220 *rp = (png_byte)(~(*rp)); in png_do_invert() 221 *(rp+1) = (png_byte)(~(*(rp+1))); in png_do_invert() 246 png_byte t = *rp; in png_do_swap() 255 static PNG_CONST png_byte onebppswaptable[256] = { 290 static PNG_CONST png_byte twobppswaptable[256] = { 325 static PNG_CONST png_byte fourbppswaptable[256] = { 571 png_byte save = *rp; in png_do_bgr() [all …]
|
D | pngrutil.c | 147 png_byte crc_bytes[4]; in png_crc_error() 350 png_byte buf[13]; in png_handle_IHDR() 380 png_ptr->bit_depth = (png_byte)bit_depth; in png_handle_IHDR() 381 png_ptr->interlaced = (png_byte)interlace_type; in png_handle_IHDR() 382 png_ptr->color_type = (png_byte)color_type; in png_handle_IHDR() 384 png_ptr->filter_type = (png_byte)filter_type; in png_handle_IHDR() 386 png_ptr->compression_type = (png_byte)compression_type; in png_handle_IHDR() 407 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * in png_handle_IHDR() 476 png_byte buf[3]; in png_handle_PLTE() 486 png_byte buf[3]; in png_handle_PLTE() [all …]
|
D | pnggccrd.c | 1506 *dp &= (png_byte)((0x7f7f >> (7 - shift)) & 0xff); in png_combine_row() 1507 *dp |= (png_byte)(value << shift); in png_combine_row() 1562 *dp &= (png_byte)((0x3f3f >> (6 - shift)) & 0xff); in png_combine_row() 1563 *dp |= (png_byte)(value << shift); in png_combine_row() 1617 *dp &= (png_byte)((0xf0f >> (4 - shift)) & 0xff); in png_combine_row() 1618 *dp |= (png_byte)(value << shift); in png_combine_row() 2082 png_byte v; in png_do_read_interlace() 2109 v = (png_byte)((*sp >> sshift) & 0x1); in png_do_read_interlace() 2112 *dp &= (png_byte)((0x7f7f >> (7 - dshift)) & 0xff); in png_do_read_interlace() 2113 *dp |= (png_byte)(v << dshift); in png_do_read_interlace() [all …]
|
D | pngset.c | 340 info_ptr->bit_depth = (png_byte)bit_depth; in png_set_IHDR() 341 info_ptr->color_type =(png_byte) color_type; in png_set_IHDR() 342 info_ptr->compression_type = (png_byte)compression_type; in png_set_IHDR() 343 info_ptr->filter_type = (png_byte)filter_type; in png_set_IHDR() 344 info_ptr->interlace_type = (png_byte)interlace_type; in png_set_IHDR() 353 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); in png_set_IHDR() 378 info_ptr->offset_unit_type = (png_byte)unit_type; in png_set_oFFs() 409 info_ptr->pcal_type = (png_byte)type; in png_set_pCAL() 410 info_ptr->pcal_nparams = (png_byte)nparams; in png_set_pCAL() 462 info_ptr->scal_unit = (png_byte)unit; in png_set_sCAL() [all …]
|
D | pngrio.c | 77 png_byte *n_data; in png_default_read_data() 82 n_data = (png_byte *)CVT_PTR_NOCHECK(data); in png_default_read_data() 95 png_byte buf[NEAR_BUF_SIZE]; in png_default_read_data()
|
D | pngget.c | 67 png_byte PNGAPI 77 png_byte PNGAPI 87 png_byte PNGAPI 97 png_byte PNGAPI 107 png_byte PNGAPI 342 png_byte PNGAPI 815 png_byte PNGAPI 818 return (png_byte)(png_ptr? png_ptr->rgb_to_gray_status : 0); in png_get_rgb_to_gray_status() 924 png_byte PNGAPI 928 return (png_byte)(png_ptr? png_ptr->mmx_bitdepth_threshold : 0); in png_get_mmx_bitdepth_threshold()
|
D | pngwio.c | 71 png_byte *near_data; /* Needs to be "png_byte *" instead of "png_bytep" */ in png_default_write_data() 76 near_data = (png_byte *)CVT_PTR_NOCHECK(data); in png_default_write_data() 89 png_byte buf[NEAR_BUF_SIZE]; in png_default_write_data()
|
/external/libpng/ |
D | pngrtran.c | 114 png_ptr->background_gamma_type = (png_byte)(background_gamma_code); in png_set_background() 157 png_byte left; 158 png_byte right; 179 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither() 181 png_ptr->dither_index[i] = (png_byte)i; in png_set_dither() 196 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither() 200 png_ptr->dither_sort[i] = (png_byte)i; in png_set_dither() 220 png_byte t; in png_set_dither() 273 png_ptr->dither_index[j] = (png_byte)i; in png_set_dither() 274 png_ptr->dither_index[i] = (png_byte)j; in png_set_dither() [all …]
|
D | pngwtran.c | 126 *dp = (png_byte)v; in png_do_pack() 132 *dp = (png_byte)v; in png_do_pack() 148 png_byte value; in png_do_pack() 150 value = (png_byte)(*sp & 0x03); in png_do_pack() 155 *dp = (png_byte)v; in png_do_pack() 164 *dp = (png_byte)v; in png_do_pack() 180 png_byte value; in png_do_pack() 182 value = (png_byte)(*sp & 0x0f); in png_do_pack() 188 *dp = (png_byte)v; in png_do_pack() 198 *dp = (png_byte)v; in png_do_pack() [all …]
|
D | png.h | 634 png_byte red; 635 png_byte green; 636 png_byte blue; 643 png_byte index; /* used for palette files */ 654 png_byte red; /* for use in red green blue files */ 655 png_byte green; 656 png_byte blue; 657 png_byte gray; /* for use in grayscale files */ 658 png_byte alpha; /* for alpha channel files */ 686 png_byte depth; /* depth of palette samples */ [all …]
|
D | pngwutil.c | 26 buf[0] = (png_byte)((i >> 24) & 0xff); in png_save_uint_32() 27 buf[1] = (png_byte)((i >> 16) & 0xff); in png_save_uint_32() 28 buf[2] = (png_byte)((i >> 8) & 0xff); in png_save_uint_32() 29 buf[3] = (png_byte)(i & 0xff); in png_save_uint_32() 39 buf[0] = (png_byte)((i >> 24) & 0xff); in png_save_int_32() 40 buf[1] = (png_byte)((i >> 16) & 0xff); in png_save_int_32() 41 buf[2] = (png_byte)((i >> 8) & 0xff); in png_save_int_32() 42 buf[3] = (png_byte)(i & 0xff); in png_save_int_32() 52 buf[0] = (png_byte)((i >> 8) & 0xff); in png_save_uint_16() 53 buf[1] = (png_byte)(i & 0xff); in png_save_uint_16() [all …]
|
D | pngtrans.c | 122 png_ptr->filler = (png_byte)filler; in png_set_filler() 224 *rp = (png_byte)(~(*rp)); in png_do_invert() 237 *rp = (png_byte)(~(*rp)); in png_do_invert() 250 *rp = (png_byte)(~(*rp)); in png_do_invert() 251 *(rp+1) = (png_byte)(~(*(rp+1))); in png_do_invert() 277 png_byte t = *rp; in png_do_swap() 286 static PNG_CONST png_byte onebppswaptable[256] = { 321 static PNG_CONST png_byte twobppswaptable[256] = { 356 static PNG_CONST png_byte fourbppswaptable[256] = { 605 png_byte save = *rp; in png_do_bgr() [all …]
|
D | pngrutil.c | 114 png_byte buf[8]; in png_read_chunk_header() 209 png_byte crc_bytes[4]; in png_crc_error() 239 png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size, in png_inflate() 459 png_byte buf[13]; in png_handle_IHDR() 489 png_ptr->bit_depth = (png_byte)bit_depth; in png_handle_IHDR() 490 png_ptr->interlaced = (png_byte)interlace_type; in png_handle_IHDR() 491 png_ptr->color_type = (png_byte)color_type; in png_handle_IHDR() 493 png_ptr->filter_type = (png_byte)filter_type; in png_handle_IHDR() 495 png_ptr->compression_type = (png_byte)compression_type; in png_handle_IHDR() 519 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * in png_handle_IHDR() [all …]
|
D | pngset.c | 239 info_ptr->bit_depth = (png_byte)bit_depth; in png_set_IHDR() 240 info_ptr->color_type = (png_byte)color_type; in png_set_IHDR() 241 info_ptr->compression_type = (png_byte)compression_type; in png_set_IHDR() 242 info_ptr->filter_type = (png_byte)filter_type; in png_set_IHDR() 243 info_ptr->interlace_type = (png_byte)interlace_type; in png_set_IHDR() 257 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); in png_set_IHDR() 283 info_ptr->offset_unit_type = (png_byte)unit_type; in png_set_oFFs() 316 info_ptr->pcal_type = (png_byte)type; in png_set_pCAL() 317 info_ptr->pcal_nparams = (png_byte)nparams; in png_set_pCAL() 372 info_ptr->scal_unit = (png_byte)unit; in png_set_sCAL() [all …]
|
D | pngrio.c | 99 png_byte *n_data; in png_default_read_data() 105 n_data = (png_byte *)CVT_PTR_NOCHECK(data); in png_default_read_data() 119 png_byte buf[NEAR_BUF_SIZE]; in png_default_read_data()
|
D | pngwio.c | 78 png_byte *near_data; /* Needs to be "png_byte *" instead of "png_bytep" */ in png_default_write_data() 84 near_data = (png_byte *)CVT_PTR_NOCHECK(data); in png_default_write_data() 97 png_byte buf[NEAR_BUF_SIZE]; in png_default_write_data()
|
D | pngget.c | 72 png_byte PNGAPI 81 png_byte PNGAPI 90 png_byte PNGAPI 99 png_byte PNGAPI 108 png_byte PNGAPI 371 png_byte PNGAPI 860 png_byte PNGAPI 863 return (png_byte)(png_ptr? png_ptr->rgb_to_gray_status : 0); in png_get_rgb_to_gray_status() 912 png_byte PNGAPI
|
/external/libpng/contrib/pngminus/ |
D | pnm2png.c | 190 png_byte *png_pixels = NULL; in pnm2png() 191 png_byte **row_pointers = NULL; in pnm2png() 192 png_byte *pix_ptr = NULL; in pnm2png() 335 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) in pnm2png() 355 *pix_ptr = (png_byte) ((tmp16 >> 8) & 0xFF); in pnm2png() 357 *pix_ptr = (png_byte) (tmp16 & 0xFF); in pnm2png() 372 *pix_ptr++ = (png_byte) ((tmp16 >> 8) & 0xFF); in pnm2png() 373 *pix_ptr++ = (png_byte) (tmp16 & 0xFF); in pnm2png() 414 if ((row_pointers = (png_byte **) malloc (height * sizeof (png_bytep))) == NULL) in pnm2png() 512 png_byte token[16]; in get_value()
|
D | png2pnm.c | 192 png_byte buf[8]; in png2pnm() 193 png_byte *png_pixels = NULL; in png2pnm() 194 png_byte **row_pointers = NULL; in png2pnm() 195 png_byte *pix_ptr = NULL; in png2pnm() 317 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) { in png2pnm() 322 if ((row_pointers = (png_byte **) malloc (height * sizeof (png_bytep))) == NULL) in png2pnm()
|
/external/libpng/contrib/visupng/ |
D | PngFile.c | 97 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData, in PngLoadImage() 101 png_byte pbSig[8]; in PngLoadImage() 108 png_byte *pbImageData = *ppbImageData; in PngLoadImage() 109 static png_byte **ppbRowPointers = NULL; in PngLoadImage() 231 if ((pbImageData = (png_byte *) malloc(ulRowBytes * (*piHeight) in PngLoadImage() 232 * sizeof(png_byte))) == NULL) in PngLoadImage() 287 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData, in PngSaveImage() 295 static png_byte **ppbRowPointers = NULL; in PngSaveImage()
|
D | PngFile.h | 20 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData, 22 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
|