HomeSort by relevance Sort by last modified time
    Searched refs:png_byte (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /external/libpng/
pnginfo.h 65 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_type; /* offset units type *
    [all...]
pngstruct.h 64 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_depth; /* bit depth of file *
    [all...]
pngwtran.c 59 *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)v
    [all...]
pngrtran.c 147 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)j
    [all...]
pngwutil.c 26 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_cmf
    [all...]
  /external/pdfium/third_party/libpng16/
pnginfo.h 65 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_type; /* offset units type *
    [all...]
pngstruct.h 64 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_depth; /* bit depth of file *
    [all...]
pngwtran.c 59 *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)v
    [all...]
pngrtran.c 146 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)j
    [all...]
pngwutil.c 26 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_cmf
    [all...]
  /external/syslinux/com32/lib/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...]
pngrio.c 84 png_byte *n_data;
90 n_data = (png_byte *)CVT_PTR_NOCHECK(data);
104 png_byte buf[NEAR_BUF_SIZE];
pngrutil.c 114 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_ptr->bit_depth
    [all...]
  /external/autotest/client/deps/glbench/src/
png_helper.cc 32 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/
PngFile.h 20 BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData,
22 BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
PngFile.c 99 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;
  /packages/services/Car/evs/app/
TexWrapper.cpp 72 png_byte header[kSigSize] = {0};
142 png_byte * buffer = (png_byte*)malloc(stride * height);
152 png_byte ** rowPointers = (png_byte**)malloc(height * sizeof(png_byte*));
  /external/syslinux/com32/include/
png.h 622 * 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 alpha; /* for alpha channel files *
    [all...]
  /external/libpng/powerpc/
filter_vsx_intrinsics.c 42 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)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff)
    [all...]
  /external/libpng/contrib/pngminus/
pnm2png.c 208 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...]
png2pnm.c 211 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/
pngvalid.c 77 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_type, png_byte bit_depth
    [all...]
  /frameworks/base/tools/aapt2/compile/
PngCrunch.cpp 150 const png_byte* signature;
399 std::unique_ptr<png_byte[]> alpha_palette_bytes;
401 alpha_palette_bytes = std::unique_ptr<png_byte[]>(new png_byte[alpha_palette->size()]);
415 const png_byte alpha = color & 0x000000ff;
640 auto out_row = std::unique_ptr<png_byte[]>(new png_byte[image->width]);
657 out_row[x] = static_cast<png_byte>(idx);
665 std::unique_ptr<png_byte[]>(new png_byte[image->width * bpp])
    [all...]

Completed in 377 milliseconds

1 2 3 4