Searched refs:chunk_name (Results 1 - 9 of 9) sorted by relevance

/vbox/src/libs/libpng-1.2.8/
H A Dpngread.c406 png_crc_read(png_ptr, png_ptr->chunk_name, 4);
408 png_debug2(0, "Reading %s chunk, length=%lu.\n", png_ptr->chunk_name,
414 if (!png_memcmp(png_ptr->chunk_name, png_IHDR, 4))
416 else if (!png_memcmp(png_ptr->chunk_name, png_IEND, 4))
419 else if (png_handle_as_unknown(png_ptr, png_ptr->chunk_name))
421 if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4))
424 if (!png_memcmp(png_ptr->chunk_name, png_PLTE, 4))
426 else if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4))
437 else if (!png_memcmp(png_ptr->chunk_name, png_PLTE, 4))
439 else if (!png_memcmp(png_ptr->chunk_name, png_IDA
[all...]
H A Dpngpread.c213 png_crc_read(png_ptr, png_ptr->chunk_name, 4);
217 if (!png_memcmp(png_ptr->chunk_name, png_IHDR, 4))
226 else if (!png_memcmp(png_ptr->chunk_name, png_IEND, 4))
239 else if (png_handle_as_unknown(png_ptr, png_ptr->chunk_name))
246 if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4))
249 if (!png_memcmp(png_ptr->chunk_name, png_PLTE, 4))
251 else if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4))
261 else if (!png_memcmp(png_ptr->chunk_name, png_PLTE, 4))
270 else if (!png_memcmp(png_ptr->chunk_name, (png_bytep)png_IDAT, 4))
300 else if (!png_memcmp(png_ptr->chunk_name, png_gAM
[all...]
H A Dpngrutil.c117 if (((png_ptr->chunk_name[0] & 0x20) && /* Ancillary */
119 (!(png_ptr->chunk_name[0] & 0x20) && /* Critical */
143 if (png_ptr->chunk_name[0] & 0x20) /* ancillary */
282 png_ptr->chunk_name);
285 png_ptr->chunk_name);
288 png_ptr->chunk_name);
2153 if (png_memcmp(png_ptr->chunk_name, png_IDAT, 4)) /* not an IDAT */
2157 png_check_chunk_name(png_ptr, png_ptr->chunk_name);
2159 if (!(png_ptr->chunk_name[0] & 0x20))
2162 if(png_handle_as_unknown(png_ptr, png_ptr->chunk_name) !
2231 png_check_chunk_name(png_structp png_ptr, png_bytep chunk_name) argument
[all...]
H A Dpng.c209 if (png_ptr->chunk_name[0] & 0x20) /* ancillary */
727 png_handle_as_unknown(png_structp png_ptr, png_bytep chunk_name) argument
729 /* check chunk_name and return "keep" value if it's on the list, else 0 */
732 if((png_ptr == NULL && chunk_name == NULL) || png_ptr->num_chunk_list<=0)
736 if (!png_memcmp(chunk_name, p, 4))
H A Dpngerror.c101 * to the current chunk. The chunk name comes from png_ptr->chunk_name,
120 int c = png_ptr->chunk_name[iin++];
H A Dpngwutil.c64 png_write_chunk(png_structp png_ptr, png_bytep chunk_name, argument
67 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length);
77 png_write_chunk_start(png_structp png_ptr, png_bytep chunk_name, argument
81 png_debug2(0, "Writing %s chunk (%lu bytes)\n", chunk_name, length);
88 png_write_data(png_ptr, chunk_name, (png_size_t)4);
91 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4);
H A Dpngget.c727 (png_ptr->chunk_name[0] == '\0' ? "text"
728 : (png_const_charp)png_ptr->chunk_name));
H A Dpng.h1137 png_byte chunk_name[5]; /* null-terminated name of current chunk */ member in struct:png_struct_def
1428 png_bytep chunk_name, png_bytep data, png_size_t length));
1432 png_bytep chunk_name, png_uint_32 length));
2358 chunk_name));
3341 png_bytep chunk_name));
H A Dpngset.c705 png_debug1(1, "in %s storage function\n", (png_ptr->chunk_name[0] == '\0' ?
706 "text" : (png_const_charp)png_ptr->chunk_name));

Completed in 486 milliseconds