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

1234

/external/libpng/
H A Dpnginfo.h65 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */
66 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */
68 png_byte compression_type; /* must be PNG_COMPRESSION_TYPE_BASE (IHDR) */
69 png_byte filter_type; /* must be PNG_FILTER_TYPE_BASE (from IHDR) */
70 png_byte interlace_type; /* One of PNG_INTERLACE_NONE, PNG_INTERLACE_ADAM7 */
75 png_byte channels; /* number of data channels per pixel (1, 2, 3, 4) */
76 png_byte pixel_depth; /* number of bits per pixel */
77 png_byte spare_byte; /* to align the data, and for future use */
81 png_byte signature[8]; /* magic bytes read by libpng from start of file */
175 png_byte offset_unit_typ
[all...]
H A Dpngstruct.h64 png_byte output[1]; /* actually zbuf_size */
173 png_byte user_transform_depth; /* bit depth of user transformed pixels */
174 png_byte user_transform_channels; /* channels in user transformed pixels */
248 png_byte compression; /* file compression type (always 0) */
249 png_byte filter; /* file filter type (always 0) */
250 png_byte interlaced; /* PNG_INTERLACE_NONE, PNG_INTERLACE_ADAM7 */
251 png_byte pass; /* current interlace pass (0 - 6) */
252 png_byte do_filter; /* row filter flags (see PNG_FILTER_ in png.h ) */
253 png_byte color_type; /* color type of file */
254 png_byte bit_dept
[all...]
H A Dpngwtran.c59 *dp = (png_byte)v;
66 *dp = (png_byte)v;
86 png_byte value;
88 value = (png_byte)(*sp & 0x03);
94 *dp = (png_byte)v;
106 *dp = (png_byte)v;
126 png_byte value;
128 value = (png_byte)(*sp & 0x0f);
134 *dp = (png_byte)v;
146 *dp = (png_byte)
[all...]
H A Dpngrtran.c147 png_ptr->background_gamma_type = (png_byte)(background_gamma_code);
410 png_byte left;
411 png_byte right;
433 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte))));
435 png_ptr->quantize_index[i] = (png_byte)i;
450 (png_alloc_size_t)((png_uint_32)num_palette * (sizeof (png_byte))));
454 png_ptr->quantize_sort[i] = (png_byte)i;
474 png_byte t;
529 png_ptr->quantize_index[j] = (png_byte)i;
530 png_ptr->quantize_index[i] = (png_byte)
[all...]
H A Dpngwutil.c26 buf[0] = (png_byte)((i >> 24) & 0xffU);
27 buf[1] = (png_byte)((i >> 16) & 0xffU);
28 buf[2] = (png_byte)((i >> 8) & 0xffU);
29 buf[3] = (png_byte)( i & 0xffU);
39 buf[0] = (png_byte)((i >> 8) & 0xffU);
40 buf[1] = (png_byte)( i & 0xffU);
53 png_byte png_signature[8] = {137, 80, 78, 71, 13, 10, 26, 10};
76 png_byte buf[8];
149 png_byte buf[4];
281 data[0] = (png_byte)z_cm
[all...]
/external/pdfium/third_party/libpng16/
H A Dpnginfo.h65 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */
66 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */
68 png_byte compression_type; /* must be PNG_COMPRESSION_TYPE_BASE (IHDR) */
69 png_byte filter_type; /* must be PNG_FILTER_TYPE_BASE (from IHDR) */
70 png_byte interlace_type; /* One of PNG_INTERLACE_NONE, PNG_INTERLACE_ADAM7 */
75 png_byte channels; /* number of data channels per pixel (1, 2, 3, 4) */
76 png_byte pixel_depth; /* number of bits per pixel */
77 png_byte spare_byte; /* to align the data, and for future use */
81 png_byte signature[8]; /* magic bytes read by libpng from start of file */
175 png_byte offset_unit_typ
[all...]
H A Dpngstruct.h64 png_byte output[1]; /* actually zbuf_size */
173 png_byte user_transform_depth; /* bit depth of user transformed pixels */
174 png_byte user_transform_channels; /* channels in user transformed pixels */
248 png_byte compression; /* file compression type (always 0) */
249 png_byte filter; /* file filter type (always 0) */
250 png_byte interlaced; /* PNG_INTERLACE_NONE, PNG_INTERLACE_ADAM7 */
251 png_byte pass; /* current interlace pass (0 - 6) */
252 png_byte do_filter; /* row filter flags (see PNG_FILTER_ below ) */
253 png_byte color_type; /* color type of file */
254 png_byte bit_dept
[all...]
H A Dpngwtran.c59 *dp = (png_byte)v;
66 *dp = (png_byte)v;
86 png_byte value;
88 value = (png_byte)(*sp & 0x03);
94 *dp = (png_byte)v;
106 *dp = (png_byte)v;
126 png_byte value;
128 value = (png_byte)(*sp & 0x0f);
134 *dp = (png_byte)v;
146 *dp = (png_byte)
[all...]
H A Dpngrtran.c146 png_ptr->background_gamma_type = (png_byte)(background_gamma_code);
409 png_byte left;
410 png_byte right;
432 (png_uint_32)(num_palette * (sizeof (png_byte))));
434 png_ptr->quantize_index[i] = (png_byte)i;
449 (png_uint_32)(num_palette * (sizeof (png_byte))));
453 png_ptr->quantize_sort[i] = (png_byte)i;
473 png_byte t;
528 png_ptr->quantize_index[j] = (png_byte)i;
529 png_ptr->quantize_index[i] = (png_byte)
[all...]
H A Dpngwutil.c26 buf[0] = (png_byte)((i >> 24) & 0xffU);
27 buf[1] = (png_byte)((i >> 16) & 0xffU);
28 buf[2] = (png_byte)((i >> 8) & 0xffU);
29 buf[3] = (png_byte)( i & 0xffU);
39 buf[0] = (png_byte)((i >> 8) & 0xffU);
40 buf[1] = (png_byte)( i & 0xffU);
53 png_byte png_signature[8] = {137, 80, 78, 71, 13, 10, 26, 10};
76 png_byte buf[8];
149 png_byte buf[4];
281 data[0] = (png_byte)z_cm
[all...]
/external/syslinux/com32/lib/libpng/
H A Dpngwtran.c39 /* 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)
[all...]
H A Dpngrtran.c114 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)
[all...]
H A Dpngwutil.c26 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)(
[all...]
H A Dpngrio.c84 png_byte *n_data;
90 n_data = (png_byte *)CVT_PTR_NOCHECK(data);
104 png_byte buf[NEAR_BUF_SIZE];
H A Dpngrutil.c114 png_byte buf[8];
192 png_byte crc_bytes[4];
222 png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size,
436 png_byte buf[13];
466 png_ptr->bit_depth = (png_byte)bit_depth;
467 png_ptr->interlaced = (png_byte)interlace_type;
468 png_ptr->color_type = (png_byte)color_type;
470 png_ptr->filter_type = (png_byte)filter_type;
472 png_ptr->compression_type = (png_byte)compression_type;
496 png_ptr->pixel_depth = (png_byte)(png_pt
[all...]
H A Dpngset.c239 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)uni
[all...]
H A Dpngwio.c78 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];
/external/autotest/client/deps/glbench/src/
H A Dpng_helper.cc32 png_byte bit_depth = 8; // 8 bits per channel RGBA
33 png_byte color_type = 6; // RGBA
38 row_pointers[y] = (png_byte*) malloc(4*width);
40 png_byte* pixel = &(row_pointers[y][x*4]);
/external/libpng/contrib/visupng/
H A DPngFile.h20 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData,
22 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
H A DPngFile.c99 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData,
103 png_byte pbSig[8];
110 png_byte *pbImageData = *ppbImageData;
111 static png_byte **ppbRowPointers = NULL;
243 if ((pbImageData = (png_byte *) malloc(ulRowBytes * (*piHeight)
244 * sizeof(png_byte))) == NULL)
299 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
307 static png_byte **ppbRowPointers = NULL;
/external/syslinux/com32/include/
H A Dpng.h622 * be png_byte or png_uint_16 (as defined below).
626 png_byte red;
627 png_byte green;
628 png_byte blue;
635 png_byte index; /* used for palette files */
646 png_byte red; /* for use in red green blue files */
647 png_byte green;
648 png_byte blue;
649 png_byte gray; /* for use in grayscale files */
650 png_byte alph
[all...]
/external/libpng/powerpc/
H A Dfilter_vsx_intrinsics.c42 png_byte i;\
70 *rp = (png_byte)(((int)(*rp) + (int)(*pp++)) & 0xff);
96 *rp = (png_byte)(((int)(*rp) + (int)(*pp++)) & 0xff);
176 const png_byte bpp = 4;
191 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff);
200 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff);
224 *rp = (png_byte)(((int)(*rp) + (int)(*(rp - bpp))) & 0xff);
233 const png_byte bpp = 3;
248 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff);
257 *rp = (png_byte)(((in
[all...]
/external/libpng/contrib/pngminus/
H A Dpnm2png.c208 png_byte *png_pixels = NULL;
209 png_byte **row_pointers = NULL;
210 png_byte *pix_ptr = NULL;
394 if ((png_pixels = (png_byte *)
395 malloc ((size_t)row_bytes * (size_t)height * sizeof (png_byte))) == NULL)
424 *pix_ptr = (png_byte) ((tmp16 >> 8) & 0xFF);
426 *pix_ptr = (png_byte) (tmp16 & 0xFF);
441 *pix_ptr++ = (png_byte) ((tmp16 >> 8) & 0xFF);
442 *pix_ptr++ = (png_byte) (tmp16 & 0xFF);
498 if ((row_pointers = (png_byte **)
[all...]
H A Dpng2pnm.c211 png_byte buf[8];
212 png_byte *png_pixels = NULL;
213 png_byte **row_pointers = NULL;
214 png_byte *pix_ptr = NULL;
342 if ((png_pixels = (png_byte *)
343 malloc ((size_t)row_bytes * (size_t)height * sizeof (png_byte))) == NULL)
349 if ((row_pointers = (png_byte **)
/external/libpng/contrib/libtests/
H A Dpngvalid.c77 typedef png_byte *png_const_bytep;
286 *bytes++ = (png_byte)u;
311 static png_byte
369 #define COL_FROM_ID(id) ((png_byte)((id)& 0x7U))
370 #define DEPTH_FROM_ID(id) ((png_byte)(((id) >> 3) & 0x1fU))
372 #define INTERLACE_FROM_ID(id) ((png_byte)(((id) >> 13) & 0x3))
379 standard_name(char *buffer, size_t bufsize, size_t pos, png_byte colour_type,
469 png_byte ct = *colour_type;
479 *bit_depth = (png_byte)(*bit_depth << 1);
519 sample(png_const_bytep row, png_byte colour_typ
[all...]

Completed in 485 milliseconds

1234