Home
last modified time | relevance | path

Searched refs:png_uint_32 (Results 1 – 25 of 76) sorted by relevance

1234

/external/qemu/distrib/libpng-1.2.19/
Dpngget.c16 png_uint_32 PNGAPI
17 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) in png_get_valid()
25 png_uint_32 PNGAPI
47 png_uint_32 PNGAPI
57 png_uint_32 PNGAPI
117 png_uint_32 PNGAPI
135 png_uint_32 PNGAPI
153 png_uint_32 PNGAPI
267 png_uint_32 PNGAPI
270 return ((png_uint_32)((float)png_get_pixels_per_meter(png_ptr, info_ptr) in png_get_pixels_per_inch()
[all …]
Dpngwtran.c52 (png_uint_32)png_ptr->bit_depth); in png_do_write_transformations()
87 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack()
102 png_uint_32 i; in png_do_pack()
103 png_uint_32 row_width = row_info->width; in png_do_pack()
133 png_uint_32 i; in png_do_pack()
134 png_uint_32 row_width = row_info->width; in png_do_pack()
165 png_uint_32 i; in png_do_pack()
166 png_uint_32 row_width = row_info->width; in png_do_pack()
255 png_uint_32 i; in png_do_shift()
257 png_uint_32 row_bytes = row_info->rowbytes; in png_do_shift()
[all …]
Dpng.h699 png_uint_32 width; /* width of image in pixels (from IHDR) */
700 png_uint_32 height; /* height of image in pixels (from IHDR) */
701 png_uint_32 valid; /* valid chunk data (see PNG_INFO_ below) */
702 png_uint_32 rowbytes; /* bytes needed to hold an untransformed row */
811 png_uint_32 x_pixels_per_unit; /* horizontal pixel density */
812 png_uint_32 y_pixels_per_unit; /* vertical pixel density */
868 png_uint_32 free_me; /* flags items libpng is responsible for freeing */
882 png_uint_32 iccp_proflen; /* ICC profile data length */
889 png_uint_32 splt_palettes_num;
938 #define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL)
[all …]
Dpngrutil.c49 png_uint_32 PNGAPI
52 png_uint_32 i = png_get_uint_32(buf); in png_get_uint_31()
59 png_uint_32 PNGAPI
62 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_32()
63 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_32()
64 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_32()
65 (png_uint_32)(*(buf + 3)); in png_get_uint_32()
109 png_crc_finish(png_structp png_ptr, png_uint_32 skip) in png_crc_finish()
148 png_uint_32 crc; in png_crc_error()
259 (png_uint_32)(text_size + in png_decompress_chunk()
[all …]
Dpngtrans.c99 png_set_filler(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_filler()
132 png_set_add_alpha(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_add_alpha()
189 png_uint_32 i; in png_do_invert()
190 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
202 png_uint_32 i; in png_do_invert()
203 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
215 png_uint_32 i; in png_do_invert()
216 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
241 png_uint_32 i; in png_do_swap()
242 png_uint_32 istop= row_info->width * row_info->channels; in png_do_swap()
[all …]
Dpngwutil.c20 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32()
66 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); in png_write_chunk()
77 png_uint_32 length) in png_write_chunk_start()
242 (png_uint_32)(comp->max_output_ptr * in png_text_compress()
250 (png_uint_32)(comp->max_output_ptr * in png_text_compress()
256 (png_uint_32)png_ptr->zbuf_size); in png_text_compress()
293 (png_uint_32)(comp->max_output_ptr * in png_text_compress()
301 (png_uint_32)(comp->max_output_ptr * in png_text_compress()
307 (png_charp)png_malloc(png_ptr, (png_uint_32)png_ptr->zbuf_size); in png_text_compress()
361 if (png_ptr->zstream.avail_out < (png_uint_32)png_ptr->zbuf_size) in png_write_compressed_data_out()
[all …]
Dpngmem.c56 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); in png_create_struct_2()
117 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc()
135 png_malloc_default(png_structp png_ptr, png_uint_32 size) in png_malloc_default()
144 if (size > (png_uint_32)65536L) in png_malloc_default()
154 else if (size == (png_uint_32)65536L) in png_malloc_default()
163 png_uint_32 total_size; in png_malloc_default()
183 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; in png_malloc_default()
235 hptr = hptr + (png_uint_32)65536L; /* "+=" fails on TC++3.0 */ in png_malloc_default()
429 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc()
447 png_malloc_default(png_structp png_ptr, png_uint_32 size) in png_malloc_default()
[all …]
/external/chromium_org/third_party/libpng/
Dpngget.c20 png_uint_32 PNGAPI
21 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) in png_get_valid()
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)((float)png_get_pixels_per_meter(png_ptr, info_ptr) in png_get_pixels_per_inch()
[all …]
Dpngwtran.c57 (png_uint_32)png_ptr->bit_depth); in png_do_write_transformations()
92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack()
108 png_uint_32 i; in png_do_pack()
109 png_uint_32 row_width = row_info->width; in png_do_pack()
139 png_uint_32 i; in png_do_pack()
140 png_uint_32 row_width = row_info->width; in png_do_pack()
171 png_uint_32 i; in png_do_pack()
172 png_uint_32 row_width = row_info->width; in png_do_pack()
262 png_uint_32 i; in png_do_shift()
264 png_uint_32 row_bytes = row_info->rowbytes; in png_do_shift()
[all …]
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)0x7fffffffL)
[all …]
Dpngmem.c59 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); in png_create_struct_2()
119 png_calloc(png_structp png_ptr, png_uint_32 size) in png_calloc()
130 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc()
148 png_malloc_default(png_structp png_ptr, png_uint_32 size) in png_malloc_default()
157 if (size > (png_uint_32)65536L) in png_malloc_default()
167 else if (size == (png_uint_32)65536L) in png_malloc_default()
176 png_uint_32 total_size; in png_malloc_default()
196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; in png_malloc_default()
248 hptr = hptr + (png_uint_32)65536L; /* "+=" fails on TC++3.0 */ in png_malloc_default()
446 png_calloc(png_structp png_ptr, png_uint_32 size) in png_calloc()
[all …]
Dpngrutil.c53 png_uint_32 PNGAPI
57 png_uint_32 i = png_get_uint_32(buf); in png_get_uint_31()
60 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_31()
61 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_31()
62 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_31()
63 (png_uint_32)(*(buf + 3)); in png_get_uint_31()
71 png_uint_32 PNGAPI
74 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_32()
75 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_32()
76 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_32()
[all …]
Dpngtrans.c114 png_set_filler(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_filler()
153 png_set_add_alpha(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_add_alpha()
219 png_uint_32 i; in png_do_invert()
220 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
232 png_uint_32 i; in png_do_invert()
233 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
245 png_uint_32 i; in png_do_invert()
246 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
272 png_uint_32 i; in png_do_swap()
273 png_uint_32 istop= row_info->width * row_info->channels; in png_do_swap()
[all …]
Dpngwutil.c24 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32()
89 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); in png_write_chunk()
100 png_uint_32 length) in png_write_chunk_start()
256 (png_uint_32) in png_text_compress()
264 (png_uint_32) in png_text_compress()
271 (png_uint_32)png_ptr->zbuf_size); in png_text_compress()
308 (png_uint_32)(comp->max_output_ptr * in png_text_compress()
316 (png_uint_32)(comp->max_output_ptr * in png_text_compress()
323 (png_uint_32)png_ptr->zbuf_size); in png_text_compress()
377 if (png_ptr->zstream.avail_out < (png_uint_32)png_ptr->zbuf_size) in png_write_compressed_data_out()
[all …]
Dpngset.c206 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof(png_uint_16))); in png_set_hIST()
228 png_uint_32 width, png_uint_32 height, int bit_depth, in png_set_IHDR()
294 png_uint_32 length; in png_set_pCAL()
331 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); in png_set_pCAL()
384 png_uint_32 length; in png_set_sCAL_s()
430 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs()
596 png_charp profile, png_uint_32 proflen) in png_set_iCCP()
600 png_uint_32 length; in png_set_iCCP()
679 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2()
694 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2()
[all …]
/external/libpng/
Dpngget.c20 png_uint_32 PNGAPI
21 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) in png_get_valid()
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)((float)png_get_pixels_per_meter(png_ptr, info_ptr) in png_get_pixels_per_inch()
[all …]
Dpngwtran.c57 (png_uint_32)png_ptr->bit_depth); in png_do_write_transformations()
92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack()
108 png_uint_32 i; in png_do_pack()
109 png_uint_32 row_width = row_info->width; in png_do_pack()
139 png_uint_32 i; in png_do_pack()
140 png_uint_32 row_width = row_info->width; in png_do_pack()
171 png_uint_32 i; in png_do_pack()
172 png_uint_32 row_width = row_info->width; in png_do_pack()
262 png_uint_32 i; in png_do_shift()
264 png_uint_32 row_bytes = row_info->rowbytes; in png_do_shift()
[all …]
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_unit PNG_DEPSTRUCT; /* horizontal pixel density */
[all …]
Dpngmem.c59 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); in png_create_struct_2()
119 png_calloc(png_structp png_ptr, png_uint_32 size) in png_calloc()
130 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc()
148 png_malloc_default(png_structp png_ptr, png_uint_32 size) in png_malloc_default()
157 if (size > (png_uint_32)65536L) in png_malloc_default()
167 else if (size == (png_uint_32)65536L) in png_malloc_default()
176 png_uint_32 total_size; in png_malloc_default()
196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; in png_malloc_default()
248 hptr = hptr + (png_uint_32)65536L; /* "+=" fails on TC++3.0 */ in png_malloc_default()
446 png_calloc(png_structp png_ptr, png_uint_32 size) in png_calloc()
[all …]
Dpngrutil.c53 png_uint_32 PNGAPI
57 png_uint_32 i = png_get_uint_32(buf); in png_get_uint_31()
60 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_31()
61 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_31()
62 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_31()
63 (png_uint_32)(*(buf + 3)); in png_get_uint_31()
71 png_uint_32 PNGAPI
74 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_32()
75 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_32()
76 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_32()
[all …]
Dpngtrans.c114 png_set_filler(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_filler()
153 png_set_add_alpha(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_add_alpha()
219 png_uint_32 i; in png_do_invert()
220 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
232 png_uint_32 i; in png_do_invert()
233 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
245 png_uint_32 i; in png_do_invert()
246 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
272 png_uint_32 i; in png_do_swap()
273 png_uint_32 istop= row_info->width * row_info->channels; in png_do_swap()
[all …]
Dpngwutil.c24 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32()
89 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); in png_write_chunk()
100 png_uint_32 length) in png_write_chunk_start()
256 (png_uint_32) in png_text_compress()
264 (png_uint_32) in png_text_compress()
271 (png_uint_32)png_ptr->zbuf_size); in png_text_compress()
308 (png_uint_32)(comp->max_output_ptr * in png_text_compress()
316 (png_uint_32)(comp->max_output_ptr * in png_text_compress()
323 (png_uint_32)png_ptr->zbuf_size); in png_text_compress()
377 if (png_ptr->zstream.avail_out < (png_uint_32)png_ptr->zbuf_size) in png_write_compressed_data_out()
[all …]
Dpngset.c206 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof(png_uint_16))); in png_set_hIST()
228 png_uint_32 width, png_uint_32 height, int bit_depth, in png_set_IHDR()
294 png_uint_32 length; in png_set_pCAL()
331 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); in png_set_pCAL()
384 png_uint_32 length; in png_set_sCAL_s()
430 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs()
596 png_charp profile, png_uint_32 proflen) in png_set_iCCP()
600 png_uint_32 length; in png_set_iCCP()
681 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2()
698 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2()
[all …]
Dpngrtran.c179 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither()
196 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither()
328 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither()
330 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither()
339 hash = (png_dsortpp)png_calloc(png_ptr, (png_uint_32)(769 * in png_set_dither()
370 (png_uint_32)(png_sizeof(png_dsort))); in png_set_dither()
490 (png_uint_32)(num_entries * png_sizeof(png_byte))); in png_set_dither()
492 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_dither()
736 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed()
737 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); in png_set_rgb_to_gray_fixed()
[all …]
/external/libpng/contrib/pngminus/
Dpnm2png.c54 png_uint_32 get_data (FILE *pnm_file, int depth);
55 png_uint_32 get_value (FILE *pnm_file, int depth);
193 png_uint_32 row_bytes; in pnm2png()
200 png_uint_32 width, alpha_width; in pnm2png()
201 png_uint_32 height, alpha_height; in pnm2png()
202 png_uint_32 maxval; in pnm2png()
209 png_uint_32 tmp16; in pnm2png()
476 png_uint_32 get_data (FILE *pnm_file, int depth) in get_data()
482 png_uint_32 ret_value; in get_data()
509 png_uint_32 get_value (FILE *pnm_file, int depth) in get_value()
[all …]

1234