Searched refs:png_byte (Results 1 - 25 of 27) sorted by relevance
12
/vbox/src/libs/libpng-1.2.8/ |
H A D | 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) [all...] |
H A D | pngrtran.c | 91 png_ptr->background_gamma_type = (png_byte)(background_gamma_code); 139 png_byte left; 140 png_byte right; 158 (png_uint_32)(num_palette * png_sizeof (png_byte))); 160 png_ptr->dither_index[i] = (png_byte)i; 174 (png_uint_32)(num_palette * png_sizeof (png_byte))); 178 png_ptr->dither_sort[i] = (png_byte)i; 197 png_byte t; 248 png_ptr->dither_index[j] = (png_byte)i; 249 png_ptr->dither_index[i] = (png_byte) [all...] |
H A D | png.h | 470 * be png_byte or png_uint_16 (as defined below). 474 png_byte red; 475 png_byte green; 476 png_byte blue; 483 png_byte index; /* used for palette files */ 494 png_byte red; /* for use in red green blue files */ 495 png_byte green; 496 png_byte blue; 497 png_byte gray; /* for use in grayscale files */ 498 png_byte alph [all...] |
H A D | 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); 36 buf[0] = (png_byte)((i >> 24) & 0xff); 37 buf[1] = (png_byte)((i >> 16) & 0xff); 38 buf[2] = (png_byte)((i >> 8) & 0xff); 39 buf[3] = (png_byte)(i & 0xff); 50 buf[0] = (png_byte)((i >> 8) & 0xff); 51 buf[1] = (png_byte)( [all...] |
H A D | pngrio.c | 74 png_byte *n_data; 78 n_data = (png_byte *)CVT_PTR_NOCHECK(data); 91 png_byte buf[NEAR_BUF_SIZE];
|
H A D | pnggccrd.c | 473 *dp &= (png_byte)((0x7f7f >> (7 - shift)) & 0xff); 474 *dp |= (png_byte)(value << shift); 529 *dp &= (png_byte)((0x3f3f >> (6 - shift)) & 0xff); 530 *dp |= (png_byte)(value << shift); 583 *dp &= (png_byte)((0xf0f >> (4 - shift)) & 0xff); 584 *dp |= (png_byte)(value << shift); 1534 png_byte v; 1561 v = (png_byte)((*sp >> sshift) & 0x1); 1564 *dp &= (png_byte)((0x7f7f >> (7 - dshift)) & 0xff); 1565 *dp |= (png_byte)( [all...] |
H A D | pngrutil.c | 139 png_byte crc_bytes[4]; 338 png_byte buf[13]; 368 png_ptr->bit_depth = (png_byte)bit_depth; 369 png_ptr->interlaced = (png_byte)interlace_type; 370 png_ptr->color_type = (png_byte)color_type; 372 png_ptr->filter_type = (png_byte)filter_type; 374 png_ptr->compression_type = (png_byte)compression_type; 395 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * 464 png_byte buf[3]; 474 png_byte bu [all...] |
H A D | pngwio.c | 70 png_byte *near_data; /* Needs to be "png_byte *" instead of "png_bytep" */ 74 near_data = (png_byte *)CVT_PTR_NOCHECK(data); 87 png_byte buf[NEAR_BUF_SIZE];
|
H A D | pngset.c | 325 info_ptr->bit_depth = (png_byte)bit_depth; 326 info_ptr->color_type =(png_byte) color_type; 327 info_ptr->compression_type = (png_byte)compression_type; 328 info_ptr->filter_type = (png_byte)filter_type; 329 info_ptr->interlace_type = (png_byte)interlace_type; 338 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); 363 info_ptr->offset_unit_type = (png_byte)unit_type; 394 info_ptr->pcal_type = (png_byte)type; 395 info_ptr->pcal_nparams = (png_byte)nparams; 447 info_ptr->scal_unit = (png_byte)uni [all...] |
H A D | pngtrans.c | 97 png_ptr->filler = (png_byte)filler; 183 *rp = (png_byte)(~(*rp)); 196 *rp = (png_byte)(~(*rp)); 209 *rp = (png_byte)(~(*rp)); 210 *(rp+1) = (png_byte)(~(*(rp+1))); 235 png_byte t = *rp; 244 static png_byte onebppswaptable[256] = { 279 static png_byte twobppswaptable[256] = { 314 static png_byte fourbppswaptable[256] = { 560 png_byte sav [all...] |
H A D | pngget.c | 65 png_byte PNGAPI 75 png_byte PNGAPI 85 png_byte PNGAPI 95 png_byte PNGAPI 105 png_byte PNGAPI 340 png_byte PNGAPI 807 png_byte PNGAPI 810 return (png_byte)(png_ptr? png_ptr->rgb_to_gray_status : 0); 906 png_byte PNGAPI 909 return (png_byte)(png_pt [all...] |
H A D | pngvcrd.c | 173 *dp &= (png_byte)((0x7f7f >> (7 - shift)) & 0xff); 174 *dp |= (png_byte)(value << shift); 229 *dp &= (png_byte)((0x3f3f >> (6 - shift)) & 0xff); 230 *dp |= (png_byte)(value << shift); 283 *dp &= (png_byte)((0xf0f >> (4 - shift)) & 0xff); 284 *dp |= (png_byte)(value << shift); 1033 png_byte v; 1060 v = (png_byte)((*sp >> sshift) & 0x1); 1063 *dp &= (png_byte)((0x7f7f >> (7 - dshift)) & 0xff); 1064 *dp |= (png_byte)( [all...] |
H A D | pngwrite.c | 149 info_ptr->trans[j] = (png_byte)(255 - info_ptr->trans[j]); 402 ptime->month = (png_byte)(ttime->tm_mon + 1); 403 ptime->day = (png_byte)ttime->tm_mday; 404 ptime->hour = (png_byte)ttime->tm_hour; 405 ptime->minute = (png_byte)ttime->tm_min; 406 ptime->second = (png_byte)ttime->tm_sec; 841 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * 1112 default: png_ptr->do_filter = (png_byte)filters; break; 1169 png_ptr->do_filter &= (png_byte)(~PNG_FILTER_PAETH); 1220 png_ptr->num_prev_filters = (png_byte)num_weight [all...] |
H A D | pngconf.h | 1054 typedef unsigned char png_byte; typedef 1131 typedef png_byte FAR * png_bytep; 1153 typedef png_byte FAR * FAR * png_bytepp;
|
H A D | pngmem.c | 161 png_byte huge * hptr; 221 hptr = (png_byte huge *)table; 224 hptr = (png_byte huge *)((long)(hptr) & 0xfffffff0L);
|
H A D | pngerror.c | 130 buffer[iout++] = (png_byte)c;
|
H A D | png.c | 27 const png_byte FARDATA png_sig[8] = {137, 80, 78, 71, 13, 10, 26, 10}; 98 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); 112 png_byte png_signature[8] = {137, 80, 78, 71, 13, 10, 26, 10};
|
H A D | pngtest.c | 206 * png_byte color_type color type of pixels 207 * png_byte bit_depth bit depth of samples 208 * png_byte channels number of channels (1-4) 209 * png_byte pixel_depth bits per pixel (depth*channels) 326 png_byte *n_data; 330 n_data = (png_byte *)CVT_PTR_NOCHECK(data); 338 png_byte buf[NEAR_BUF_SIZE]; 405 png_byte *near_data; /* Needs to be "png_byte *" instead of "png_bytep" */ 409 near_data = (png_byte *)CVT_PTR_NOCHEC [all...] |
H A D | pngpread.c | 115 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes+num_to_check); 202 png_byte chunk_length[4]; 659 png_byte chunk_length[4];
|
H A D | pngread.c | 399 png_byte chunk_length[4]; 688 png_byte chunk_length[4]; 903 png_byte chunk_length[4];
|
/vbox/src/libs/libpng-1.2.8/contrib/visupng/ |
H A D | PngFile.h | 17 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData, 19 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
|
H A D | PngFile.c | 94 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData, 98 png_byte pbSig[8]; 105 png_byte *pbImageData = *ppbImageData; 106 static png_byte **ppbRowPointers = NULL; 228 if ((pbImageData = (png_byte *) malloc(ulRowBytes * (*piHeight) 229 * sizeof(png_byte))) == NULL) 284 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData, 292 static png_byte **ppbRowPointers = NULL;
|
/vbox/src/libs/libpng-1.2.8/contrib/pngminus/ |
H A D | 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 **) mallo [all...] |
H A D | 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)
|
/vbox/src/libs/libpng-1.2.8/contrib/gregbook/ |
H A D | readpng2.c | 196 png_byte png_chunk_types_to_ignore[]=
|
Completed in 1011 milliseconds
12