Searched refs:png_byte (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpnginfo.h94 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */
95 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */
97 png_byte compression_type; /* must be PNG_COMPRESSION_TYPE_BASE (IHDR) */
98 png_byte filter_type; /* must be PNG_FILTER_TYPE_BASE (from IHDR) */
99 png_byte interlace_type; /* One of PNG_INTERLACE_NONE, PNG_INTERLACE_ADAM7 */
102 png_byte channels; /* number of data channels per pixel (1, 2, 3, 4) */
103 png_byte pixel_depth; /* number of bits per pixel */
104 png_byte spare_byte; /* to align the data, and for future use */
105 png_byte signature[8]; /* magic bytes read by libpng from start of file */
124 png_byte srgb_inten
[all...]
H A Dpngstruct.h85 png_byte user_transform_depth; /* bit depth of user transformed pixels */
86 png_byte user_transform_channels; /* channels in user transformed pixels */
149 png_byte chunk_name[5]; /* null-terminated name of current chunk */
150 png_byte compression; /* file compression type (always 0) */
151 png_byte filter; /* file filter type (always 0) */
152 png_byte interlaced; /* PNG_INTERLACE_NONE, PNG_INTERLACE_ADAM7 */
153 png_byte pass; /* current interlace pass (0 - 6) */
154 png_byte do_filter; /* row filter flags (see PNG_FILTER_ below ) */
155 png_byte color_type; /* color type of file */
156 png_byte bit_dept
[all...]
H A Dpngwtran.c67 /* png_byte color_type; color type of pixels */
68 /* png_byte bit_depth; bit depth of samples */
69 /* png_byte channels; number of channels (1-4) */
70 /* png_byte pixel_depth; bits per pixel (depth*channels) */
163 *dp = (png_byte)v;
170 *dp = (png_byte)v;
189 png_byte value;
191 value = (png_byte)(*sp & 0x03);
197 *dp = (png_byte)v;
209 *dp = (png_byte)
[all...]
H A Dpngrtran.c144 png_ptr->background_gamma_type = (png_byte)(background_gamma_code);
402 png_byte left;
403 png_byte right;
425 (png_uint_32)(num_palette * png_sizeof(png_byte)));
427 png_ptr->quantize_index[i] = (png_byte)i;
442 (png_uint_32)(num_palette * png_sizeof(png_byte)));
446 png_ptr->quantize_sort[i] = (png_byte)i;
466 png_byte t;
521 png_ptr->quantize_index[j] = (png_byte)i;
522 png_ptr->quantize_index[i] = (png_byte)
[all...]
H A Dpngrio.c107 png_byte *n_data;
114 n_data = (png_byte *)CVT_PTR_NOCHECK(data);
124 png_byte buf[NEAR_BUF_SIZE];
H A Dpngwutil.c54 buf[0] = (png_byte)((i >> 24) & 0xff);
55 buf[1] = (png_byte)((i >> 16) & 0xff);
56 buf[2] = (png_byte)((i >> 8) & 0xff);
57 buf[3] = (png_byte)(i & 0xff);
70 buf[0] = (png_byte)((i >> 24) & 0xff);
71 buf[1] = (png_byte)((i >> 16) & 0xff);
72 buf[2] = (png_byte)((i >> 8) & 0xff);
73 buf[3] = (png_byte)(i & 0xff);
84 buf[0] = (png_byte)((i >> 8) & 0xff);
85 buf[1] = (png_byte)(
[all...]
H A Dpng.h558 * be png_byte or png_uint_16 (as defined below).
562 png_byte red;
563 png_byte green;
564 png_byte blue;
572 png_byte index; /* used for palette files */
584 png_byte red; /* for use in red green blue files */
585 png_byte green;
586 png_byte blue;
587 png_byte gray; /* for use in grayscale files */
588 png_byte alph
[all...]
H A Dpngpriv.h467 #define PNG_IHDR PNG_CONST png_byte png_IHDR[5] = { 73, 72, 68, 82, '\0'}
468 #define PNG_IDAT PNG_CONST png_byte png_IDAT[5] = { 73, 68, 65, 84, '\0'}
469 #define PNG_IEND PNG_CONST png_byte png_IEND[5] = { 73, 69, 78, 68, '\0'}
470 #define PNG_PLTE PNG_CONST png_byte png_PLTE[5] = { 80, 76, 84, 69, '\0'}
471 #define PNG_bKGD PNG_CONST png_byte png_bKGD[5] = { 98, 75, 71, 68, '\0'}
472 #define PNG_cHRM PNG_CONST png_byte png_cHRM[5] = { 99, 72, 82, 77, '\0'}
473 #define PNG_gAMA PNG_CONST png_byte png_gAMA[5] = {103, 65, 77, 65, '\0'}
474 #define PNG_hIST PNG_CONST png_byte png_hIST[5] = {104, 73, 83, 84, '\0'}
475 #define PNG_iCCP PNG_CONST png_byte png_iCCP[5] = {105, 67, 67, 80, '\0'}
476 #define PNG_iTXt PNG_CONST png_byte png_iTX
[all...]
H A Dpngrutil.c182 png_byte buf[8];
275 png_byte crc_bytes[4];
556 png_byte buf[13];
586 png_ptr->bit_depth = (png_byte)bit_depth;
587 png_ptr->interlaced = (png_byte)interlace_type;
588 png_ptr->color_type = (png_byte)color_type;
590 png_ptr->filter_type = (png_byte)filter_type;
592 png_ptr->compression_type = (png_byte)compression_type;
617 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth *
690 png_byte bu
[all...]
H A Dpngwio.c104 png_byte *near_data; /* Needs to be "png_byte *" instead of "png_bytep" */
111 near_data = (png_byte *)CVT_PTR_NOCHECK(data);
121 png_byte buf[NEAR_BUF_SIZE];
H A Dpngset.c209 info_ptr->bit_depth = (png_byte)bit_depth;
210 info_ptr->color_type = (png_byte)color_type;
211 info_ptr->compression_type = (png_byte)compression_type;
212 info_ptr->filter_type = (png_byte)filter_type;
213 info_ptr->interlace_type = (png_byte)interlace_type;
231 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth);
257 info_ptr->offset_unit_type = (png_byte)unit_type;
304 info_ptr->pcal_type = (png_byte)type;
305 info_ptr->pcal_nparams = (png_byte)nparams;
380 info_ptr->scal_unit = (png_byte)uni
[all...]
H A Dpngconf.h500 typedef unsigned char png_byte; typedef
577 typedef png_byte FAR * png_bytep;
578 typedef PNG_CONST png_byte FAR * png_const_bytep;
604 typedef png_byte FAR * FAR * png_bytepp;
H A Dpngtrans.c253 *rp = (png_byte)(~(*rp));
267 *rp = (png_byte)(~(*rp));
282 *rp = (png_byte)(~(*rp));
283 *(rp + 1) = (png_byte)(~(*(rp + 1)));
307 png_byte t = *rp;
317 static PNG_CONST png_byte onebppswaptable[256] = {
352 static PNG_CONST png_byte twobppswaptable[256] = {
387 static PNG_CONST png_byte fourbppswaptable[256] = {
590 png_byte save = *rp;
603 png_byte sav
[all...]
H A Dpngwrite.c181 (png_byte)(255 - info_ptr->trans_alpha[j]);
453 ptime->month = (png_byte)(ttime->tm_mon + 1);
454 ptime->day = (png_byte)ttime->tm_mday;
455 ptime->hour = (png_byte)ttime->tm_hour;
456 ptime->minute = (png_byte)ttime->tm_min;
457 ptime->second = (png_byte)ttime->tm_sec;
766 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth *
1078 png_ptr->do_filter = (png_byte)filters; break;
1109 png_ptr->do_filter = (png_byte)(png_ptr->do_filter &
1126 png_ptr->do_filter = (png_byte)(png_pt
[all...]
H A Dpngget.c97 png_byte PNGAPI
106 png_byte PNGAPI
115 png_byte PNGAPI
124 png_byte PNGAPI
133 png_byte PNGAPI
453 png_byte PNGAPI
984 png_byte PNGAPI
987 return (png_byte)(png_ptr ? png_ptr->rgb_to_gray_status : 0);
H A Dpng.c65 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
79 png_byte png_signature[8] = {137, 80, 78, 71, 13, 10, 26, 10};
2070 PNG_STATIC png_byte
2081 return (png_byte)((x + 0x7fffffU) >> 24);
2096 png_byte
2103 return (png_byte)r;
2116 return (png_byte)value;
2322 table[i] = (png_byte)i;
2357 png_byte shift, sig_bit;
2391 shift = (png_byte)(1
[all...]
H A Dpngmem.c219 png_byte huge * hptr;
294 hptr = (png_byte huge *)table;
297 hptr = (png_byte huge *)((long)(hptr) & 0xfffffff0L);
H A Dpngtest.c223 * png_byte color_type color type of pixels
224 * png_byte bit_depth bit depth of samples
225 * png_byte channels number of channels (1-4)
226 * png_byte pixel_depth bits per pixel (depth*channels)
412 png_byte *n_data;
416 n_data = (png_byte *)CVT_PTR_NOCHECK(data);
424 png_byte buf[NEAR_BUF_SIZE];
497 png_byte *near_data; /* Needs to be "png_byte *" instead of "png_bytep" */
501 near_data = (png_byte *)CVT_PTR_NOCHEC
[all...]
H A Dpngpread.c216 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check);
303 png_byte chunk_length[4];
843 png_byte chunk_length[4];
H A Dpngerror.c420 buffer[iout++] = (png_byte)c;

Completed in 83 milliseconds