/external/libpng/ |
pngwtran.c | 39 /* png_byte color_type; color type of pixels */ 40 /* png_byte bit_depth; bit depth of samples */ 41 /* png_byte channels; number of channels (1-4) */ 42 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 126 *dp = (png_byte)v; 132 *dp = (png_byte)v; 148 png_byte value; 150 value = (png_byte)(*sp & 0x03); 155 *dp = (png_byte)v; 164 *dp = (png_byte)v [all...] |
pngrtran.c | 114 png_ptr->background_gamma_type = (png_byte)(background_gamma_code); 157 png_byte left; 158 png_byte right; 179 (png_uint_32)(num_palette * png_sizeof(png_byte))); 181 png_ptr->dither_index[i] = (png_byte)i; 196 (png_uint_32)(num_palette * png_sizeof(png_byte))); 200 png_ptr->dither_sort[i] = (png_byte)i; 220 png_byte t; 273 png_ptr->dither_index[j] = (png_byte)i; 274 png_ptr->dither_index[i] = (png_byte)j [all...] |
pngwutil.c | 26 buf[0] = (png_byte)((i >> 24) & 0xff); 27 buf[1] = (png_byte)((i >> 16) & 0xff); 28 buf[2] = (png_byte)((i >> 8) & 0xff); 29 buf[3] = (png_byte)(i & 0xff); 39 buf[0] = (png_byte)((i >> 24) & 0xff); 40 buf[1] = (png_byte)((i >> 16) & 0xff); 41 buf[2] = (png_byte)((i >> 8) & 0xff); 42 buf[3] = (png_byte)(i & 0xff); 52 buf[0] = (png_byte)((i >> 8) & 0xff); 53 buf[1] = (png_byte)(i & 0xff) [all...] |
png.h | 630 * be png_byte or png_uint_16 (as defined below). 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 * [all...] |
pngrio.c | 99 png_byte *n_data; 105 n_data = (png_byte *)CVT_PTR_NOCHECK(data); 119 png_byte buf[NEAR_BUF_SIZE];
|
pngrutil.c | 114 png_byte buf[8]; 209 png_byte crc_bytes[4]; 239 png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size, 459 png_byte buf[13]; 489 png_ptr->bit_depth = (png_byte)bit_depth; 490 png_ptr->interlaced = (png_byte)interlace_type; 491 png_ptr->color_type = (png_byte)color_type; 493 png_ptr->filter_type = (png_byte)filter_type; 495 png_ptr->compression_type = (png_byte)compression_type; 519 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth [all...] |
pngwio.c | 78 png_byte *near_data; /* Needs to be "png_byte *" instead of "png_bytep" */ 84 near_data = (png_byte *)CVT_PTR_NOCHECK(data); 97 png_byte buf[NEAR_BUF_SIZE];
|
pngset.c | 239 info_ptr->bit_depth = (png_byte)bit_depth; 240 info_ptr->color_type = (png_byte)color_type; 241 info_ptr->compression_type = (png_byte)compression_type; 242 info_ptr->filter_type = (png_byte)filter_type; 243 info_ptr->interlace_type = (png_byte)interlace_type; 257 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); 283 info_ptr->offset_unit_type = (png_byte)unit_type; 316 info_ptr->pcal_type = (png_byte)type; 317 info_ptr->pcal_nparams = (png_byte)nparams; 372 info_ptr->scal_unit = (png_byte)unit [all...] |
pngtrans.c | 122 png_ptr->filler = (png_byte)filler; 224 *rp = (png_byte)(~(*rp)); 237 *rp = (png_byte)(~(*rp)); 250 *rp = (png_byte)(~(*rp)); 251 *(rp+1) = (png_byte)(~(*(rp+1))); 277 png_byte t = *rp; 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 [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngwtran.c | 34 /* png_byte color_type; color type of pixels */ 35 /* png_byte bit_depth; bit depth of samples */ 36 /* png_byte channels; number of channels (1-4) */ 37 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 120 *dp = (png_byte)v; 126 *dp = (png_byte)v; 142 png_byte value; 144 value = (png_byte)(*sp & 0x03); 149 *dp = (png_byte)v; 158 *dp = (png_byte)v [all...] |
pngrtran.c | 95 png_ptr->background_gamma_type = (png_byte)(background_gamma_code); 134 png_byte left; 135 png_byte right; 154 (png_uint_32)(num_palette * png_sizeof (png_byte))); 156 png_ptr->dither_index[i] = (png_byte)i; 170 (png_uint_32)(num_palette * png_sizeof (png_byte))); 174 png_ptr->dither_sort[i] = (png_byte)i; 193 png_byte t; 244 png_ptr->dither_index[j] = (png_byte)i; 245 png_ptr->dither_index[i] = (png_byte)j [all...] |
png.h | 514 * be png_byte or png_uint_16 (as defined below). 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 * [all...] |
pngwutil.c | 22 buf[0] = (png_byte)((i >> 24) & 0xff); 23 buf[1] = (png_byte)((i >> 16) & 0xff); 24 buf[2] = (png_byte)((i >> 8) & 0xff); 25 buf[3] = (png_byte)(i & 0xff); 35 buf[0] = (png_byte)((i >> 24) & 0xff); 36 buf[1] = (png_byte)((i >> 16) & 0xff); 37 buf[2] = (png_byte)((i >> 8) & 0xff); 38 buf[3] = (png_byte)(i & 0xff); 48 buf[0] = (png_byte)((i >> 8) & 0xff); 49 buf[1] = (png_byte)(i & 0xff) [all...] |
pngrio.c | 77 png_byte *n_data; 82 n_data = (png_byte *)CVT_PTR_NOCHECK(data); 95 png_byte buf[NEAR_BUF_SIZE];
|
pnggccrd.c | [all...] |
pngrutil.c | 147 png_byte crc_bytes[4]; 350 png_byte buf[13]; 380 png_ptr->bit_depth = (png_byte)bit_depth; 381 png_ptr->interlaced = (png_byte)interlace_type; 382 png_ptr->color_type = (png_byte)color_type; 384 png_ptr->filter_type = (png_byte)filter_type; 386 png_ptr->compression_type = (png_byte)compression_type; 407 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * 476 png_byte buf[3]; 486 png_byte buf[3] [all...] |
pngwio.c | 71 png_byte *near_data; /* Needs to be "png_byte *" instead of "png_bytep" */ 76 near_data = (png_byte *)CVT_PTR_NOCHECK(data); 89 png_byte buf[NEAR_BUF_SIZE];
|
pngset.c | 340 info_ptr->bit_depth = (png_byte)bit_depth; 341 info_ptr->color_type =(png_byte) color_type; 342 info_ptr->compression_type = (png_byte)compression_type; 343 info_ptr->filter_type = (png_byte)filter_type; 344 info_ptr->interlace_type = (png_byte)interlace_type; 353 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); 378 info_ptr->offset_unit_type = (png_byte)unit_type; 409 info_ptr->pcal_type = (png_byte)type; 410 info_ptr->pcal_nparams = (png_byte)nparams; 462 info_ptr->scal_unit = (png_byte)unit [all...] |
pngtrans.c | 104 png_ptr->filler = (png_byte)filler; 194 *rp = (png_byte)(~(*rp)); 207 *rp = (png_byte)(~(*rp)); 220 *rp = (png_byte)(~(*rp)); 221 *(rp+1) = (png_byte)(~(*(rp+1))); 246 png_byte t = *rp; 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 [all...] |
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); 924 png_byte PNGAPI 928 return (png_byte)(png_ptr? png_ptr->mmx_bitdepth_threshold : 0) [all...] |
pngvcrd.c | 564 *dp &= (png_byte)((0x7f7f >> (7 - shift)) & 0xff); 565 *dp |= (png_byte)(value << shift); 620 *dp &= (png_byte)((0x3f3f >> (6 - shift)) & 0xff); 621 *dp |= (png_byte)(value << shift); 674 *dp &= (png_byte)((0xf0f >> (4 - shift)) & 0xff); 675 *dp |= (png_byte)(value << shift); [all...] |
/external/libpng/contrib/visupng/ |
PngFile.h | 20 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData, 22 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
|
PngFile.c | 97 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData, 101 png_byte pbSig[8]; 108 png_byte *pbImageData = *ppbImageData; 109 static png_byte **ppbRowPointers = NULL; 231 if ((pbImageData = (png_byte *) malloc(ulRowBytes * (*piHeight) 232 * sizeof(png_byte))) == NULL) 287 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData, 295 static png_byte **ppbRowPointers = NULL;
|
/external/libpng/contrib/pngminus/ |
pnm2png.c | 190 png_byte *png_pixels = NULL; 191 png_byte **row_pointers = NULL; 192 png_byte *pix_ptr = NULL; 335 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) 355 *pix_ptr = (png_byte) ((tmp16 >> 8) & 0xFF); 357 *pix_ptr = (png_byte) (tmp16 & 0xFF); 372 *pix_ptr++ = (png_byte) ((tmp16 >> 8) & 0xFF); 373 *pix_ptr++ = (png_byte) (tmp16 & 0xFF); 414 if ((row_pointers = (png_byte **) malloc (height * sizeof (png_bytep))) == NULL [all...] |
png2pnm.c | 192 png_byte buf[8]; 193 png_byte *png_pixels = NULL; 194 png_byte **row_pointers = NULL; 195 png_byte *pix_ptr = NULL; 317 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) { 322 if ((row_pointers = (png_byte **) malloc (height * sizeof (png_bytep))) == NULL)
|