Searched refs:png_uint_32 (Results 1 - 25 of 81) sorted by relevance

1234

/external/libpng/
H A Dpngstruct.h154 png_uint_32 stream_idat_position;
159 png_uint_32 bytes_left_in_idat;
170 png_uint_32 stream_idat_position;
175 png_uint_32 size[7];
178 png_uint_32 step[7];
226 png_uint_32 mode; /* tells us where we are in the PNG file */
227 png_uint_32 flags; /* flags indicating various things to libpng */
228 png_uint_32 transformations; /* which transformations to perform */
230 png_uint_32 zowner; /* ID (chunk type) of zstream owner, 0 if none */
261 png_uint_32 widt
[all...]
H A Dpnginfo.h59 png_uint_32 width; /* width of image in pixels (from IHDR) */
60 png_uint_32 height; /* height of image in pixels (from IHDR) */
61 png_uint_32 valid; /* valid chunk data (see PNG_INFO_ below) */
109 png_uint_32 iccp_proflen; /* ICC profile data length */
184 png_uint_32 x_pixels_per_unit; /* horizontal pixel density */
185 png_uint_32 y_pixels_per_unit; /* vertical pixel density */
221 png_uint_32 free_me; /* flags items libpng is responsible for freeing */
H A Dpngwtran.c25 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
38 png_uint_32 i;
39 png_uint_32 row_width = row_info->width;
75 png_uint_32 i;
76 png_uint_32 row_width = row_info->width;
114 png_uint_32 i;
115 png_uint_32 row_width = row_info->width;
250 png_uint_32 i;
251 png_uint_32 istop = channels * row_info->width;
279 png_uint_32
[all...]
H A Dpng.h771 #define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL)
772 #define PNG_UINT_32_MAX ((png_uint_32)(-1))
877 png_uint_32 width; /* width of row */
899 typedef PNG_CALLBACK(void, *png_read_status_ptr, (png_structp, png_uint_32,
901 typedef PNG_CALLBACK(void, *png_write_status_ptr, (png_structp, png_uint_32,
905 typedef PNG_CALLBACK(void, *png_seek_ptr, (png_structp, png_uint_32));
912 /* The following callback receives png_uint_32 row_number, int pass for the
923 png_uint_32, int));
1024 PNG_EXPORT(1, png_uint_32, png_access_version_number, (void));
1117 png_const_bytep chunk_name, png_uint_32 lengt
[all...]
H A Dpngget.c19 png_uint_32 PNGAPI
21 png_uint_32 flag)
51 png_uint_32 PNGAPI
60 png_uint_32 PNGAPI
114 png_uint_32 PNGAPI
132 png_uint_32 PNGAPI
150 png_uint_32 PNGAPI
286 static png_uint_32
287 ppi_from_ppm(png_uint_32 ppm)
293 png_uint_32 t100
[all...]
H A Dpngpriv.h657 #define PNG_DIV257(v16) PNG_DIV65535((png_uint_32)(v16) * 255)
718 * Prior to 1.5.6 these constants were strings, as of 1.5.6 png_uint_32 values
725 #define PNG_32b(b,s) ((png_uint_32)(b) << (s))
987 PNG_INTERNAL_FUNCTION(png_uint_32,png_read_chunk_header,(png_structrp png_ptr),
996 png_uint_32 length),PNG_EMPTY);
1000 png_uint_32 skip),PNG_EMPTY);
1022 png_uint_32 width, png_uint_32 height, int bit_depth, int color_type,
1026 png_const_colorp palette, png_uint_32 num_pal),PNG_EMPTY);
1120 png_uint_32 x_pixels_per_uni
[all...]
H A Dpngread.c112 png_uint_32 length = png_read_chunk_header(png_ptr);
113 png_uint_32 chunk_name = png_ptr->chunk_name;
331 png_uint_32 row_width = row_info->width;
336 png_uint_32 i;
356 png_uint_32 i;
369 png_uint_32 s0 = (*(rp ) << 8) | *(rp + 1);
370 png_uint_32 s1 = (*(rp + 2) << 8) | *(rp + 3);
371 png_uint_32 s2 = (*(rp + 4) << 8) | *(rp + 5);
372 png_uint_32 red = (s0 + s1 + 65536) & 0xffff;
373 png_uint_32 blu
[all...]
/external/chromium_org/third_party/libpng/
H A Dpngwtran.c37 /* png_uint_32 width; width of row */
38 /* png_uint_32 rowbytes; number of bytes in row */
57 (png_uint_32)png_ptr->bit_depth);
92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
108 png_uint_32 i;
109 png_uint_32 row_width = row_info->width;
139 png_uint_32 i;
140 png_uint_32 row_width = row_info->width;
171 png_uint_32 i;
172 png_uint_32 row_widt
[all...]
H A Dpngget.c20 png_uint_32 PNGAPI
21 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag)
30 png_uint_32 PNGAPI
54 png_uint_32 PNGAPI
63 png_uint_32 PNGAPI
117 png_uint_32 PNGAPI
138 png_uint_32 PNGAPI
159 png_uint_32 PNGAPI
295 png_uint_32 PNGAPI
298 return ((png_uint_32)((floa
[all...]
H A Dpngmem.c59 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size);
119 png_calloc(png_structp png_ptr, png_uint_32 size)
130 png_malloc(png_structp png_ptr, png_uint_32 size)
148 png_malloc_default(png_structp png_ptr, png_uint_32 size)
157 if (size > (png_uint_32)65536L)
167 else if (size == (png_uint_32)65536L)
176 png_uint_32 total_size;
196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16;
248 hptr = hptr + (png_uint_32)6553
[all...]
H A Dpng.h815 png_uint_32 width PNG_DEPSTRUCT; /* width of image in pixels (from IHDR) */
816 png_uint_32 height PNG_DEPSTRUCT; /* height of image in pixels (from IHDR) */
817 png_uint_32 valid PNG_DEPSTRUCT; /* valid chunk data (see PNG_INFO_ below) */
818 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */
927 png_uint_32 x_pixels_per_unit PNG_DEPSTRUCT; /* horizontal pixel density */
928 png_uint_32 y_pixels_per_unit PNG_DEPSTRUCT; /* vertical pixel density */
984 png_uint_32 free_me PNG_DEPSTRUCT; /* flags items libpng is responsible for freeing */
999 png_uint_32 iccp_proflen PNG_DEPSTRUCT; /* ICC profile data length */
1006 png_uint_32 splt_palettes_num PNG_DEPSTRUCT;
1055 #define PNG_UINT_31_MAX ((png_uint_32)
[all...]
H A Dpngrutil.c53 png_uint_32 PNGAPI
57 png_uint_32 i = png_get_uint_32(buf);
60 png_uint_32 i = ((png_uint_32)(*buf) << 24) +
61 ((png_uint_32)(*(buf + 1)) << 16) +
62 ((png_uint_32)(*(buf + 2)) << 8) +
63 (png_uint_32)(*(buf + 3));
71 png_uint_32 PNGAPI
74 png_uint_32 i = ((png_uint_32)(*bu
[all...]
H A Dpngwutil.c24 png_save_uint_32(png_bytep buf, png_uint_32 i)
89 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length);
100 png_uint_32 length)
256 (png_uint_32)
264 (png_uint_32)
271 (png_uint_32)png_ptr->zbuf_size);
308 (png_uint_32)(comp->max_output_ptr *
316 (png_uint_32)(comp->max_output_ptr *
323 (png_uint_32)png_ptr->zbuf_size);
377 if (png_ptr->zstream.avail_out < (png_uint_32)png_pt
[all...]
H A Dpngset.c206 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof(png_uint_16)));
228 png_uint_32 width, png_uint_32 height, int bit_depth,
294 png_uint_32 length;
331 (png_uint_32)((nparams + 1) * png_sizeof(png_charp)));
384 png_uint_32 length;
430 png_uint_32 res_x, png_uint_32 res_y, int unit_type)
596 png_charp profile, png_uint_32 proflen)
600 png_uint_32 lengt
[all...]
/external/qemu/distrib/libpng-1.2.46/
H A Dpngwtran.c37 /* png_uint_32 width; width of row */
38 /* png_uint_32 rowbytes; number of bytes in row */
57 (png_uint_32)png_ptr->bit_depth);
92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
108 png_uint_32 i;
109 png_uint_32 row_width = row_info->width;
139 png_uint_32 i;
140 png_uint_32 row_width = row_info->width;
171 png_uint_32 i;
172 png_uint_32 row_widt
[all...]
H A Dpngget.c20 png_uint_32 PNGAPI
21 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag)
30 png_uint_32 PNGAPI
54 png_uint_32 PNGAPI
63 png_uint_32 PNGAPI
117 png_uint_32 PNGAPI
138 png_uint_32 PNGAPI
159 png_uint_32 PNGAPI
295 png_uint_32 PNGAPI
298 return ((png_uint_32)((floa
[all...]
H A Dpng.h786 png_uint_32 stream_idat_position;
791 png_uint_32 bytes_left_in_idat;
802 png_uint_32 stream_idat_position;
807 png_uint_32 size[7];
810 png_uint_32 step[7];
862 png_uint_32 width PNG_DEPSTRUCT; /* width of image in pixels (from IHDR) */
863 png_uint_32 height PNG_DEPSTRUCT; /* height of image in pixels (from IHDR) */
864 png_uint_32 valid PNG_DEPSTRUCT; /* valid chunk data (see PNG_INFO_ below) */
865 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */
974 png_uint_32 x_pixels_per_uni
[all...]
H A Dpngmem.c59 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size);
119 png_calloc(png_structp png_ptr, png_uint_32 size)
130 png_malloc(png_structp png_ptr, png_uint_32 size)
148 png_malloc_default(png_structp png_ptr, png_uint_32 size)
157 if (size > (png_uint_32)65536L)
167 else if (size == (png_uint_32)65536L)
176 png_uint_32 total_size;
196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16;
248 hptr = hptr + (png_uint_32)6553
[all...]
H A Dpngrutil.c53 png_uint_32 PNGAPI
57 png_uint_32 i = png_get_uint_32(buf);
60 png_uint_32 i = ((png_uint_32)(*buf) << 24) +
61 ((png_uint_32)(*(buf + 1)) << 16) +
62 ((png_uint_32)(*(buf + 2)) << 8) +
63 (png_uint_32)(*(buf + 3));
71 png_uint_32 PNGAPI
74 png_uint_32 i = ((png_uint_32)(*bu
[all...]
H A Dpngwutil.c24 png_save_uint_32(png_bytep buf, png_uint_32 i)
89 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length);
100 png_uint_32 length)
256 (png_uint_32)
264 (png_uint_32)
271 (png_uint_32)png_ptr->zbuf_size);
308 (png_uint_32)(comp->max_output_ptr *
316 (png_uint_32)(comp->max_output_ptr *
323 (png_uint_32)png_ptr->zbuf_size);
377 if (png_ptr->zstream.avail_out < (png_uint_32)png_pt
[all...]
/external/libpng/contrib/pngminus/
H A Dpnm2png.c55 png_uint_32 get_data (FILE *pnm_file, int depth);
56 png_uint_32 get_value (FILE *pnm_file, int depth);
194 png_uint_32 row_bytes;
204 png_uint_32 width, alpha_width;
205 png_uint_32 height, alpha_height;
206 png_uint_32 maxval;
216 png_uint_32 tmp16;
233 width = (png_uint_32) ul_width;
236 height = (png_uint_32) ul_height;
250 width = (png_uint_32) ul_widt
[all...]
/external/libpng/contrib/libtests/
H A Dmakepng.c249 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth,
250 png_uint_32 value, png_const_bytep gamma_table, double conv)
258 png_uint_32 offset = x >> 3;
314 png_uint_32 size_max = image_size_of_type(color_type, bit_depth, colors)-1;
315 png_uint_32 depth_max = (1U << bit_depth)-1; /* up to 65536 */
324 png_uint_32 x;
325 png_uint_32 base = 2*size_max - abs(2*y-size_max);
329 png_uint_32 luma = base - abs(2*x-size_max);
345 png_uint_32 alpha = (depth_max * y * 2 + size_max) / (2 * size_max);
346 png_uint_32
[all...]
H A Dreadpng.c72 png_uint_32 height = png_get_image_height(png_ptr, info_ptr);
80 png_uint_32 y = height;
/external/libpng/contrib/tools/
H A Dpngfix.c101 #define PNG_32b(b,s) ((png_uint_32)(b) << (s))
248 uarb_add32(uarb num, int in_digits, png_uint_32 add)
280 png_uint_32 carry = 0;
289 carry += (png_uint_32)num[out_digits] * val;
306 uarb_mult32(uarb acc, int a_digits, uarb num, int n_digits, png_uint_32 val)
378 uarb_eq32(uarb num, int digits, png_uint_32 val)
443 make_random_bytes(png_uint_32* seed, void* pv, size_t size)
445 png_uint_32 u0 = seed[0], u1 = seed[1];
455 png_uint_32 u = ((u0 >> (20-8)) ^ ((u1 << 7) | (u0 >> (32-7)))) & 0xff;
471 static png_uint_32 clear_see
[all...]
/external/libpng/contrib/examples/
H A Dpngpixel.c32 component(png_const_bytep row, png_uint_32 x, unsigned int c,
40 png_uint_32 bit_offset_hi = bit_depth * ((x >> 6) * channels);
41 png_uint_32 bit_offset_lo = bit_depth * ((x & 0x3f) * channels + c);
72 png_uint_32 x)
180 png_uint_32 width, height;
245 png_uint_32 ystart, xstart, ystep, xstep;
246 png_uint_32 py;
282 png_uint_32 px, ppx;

Completed in 1014 milliseconds

1234