Lines Matching refs:chunk
454 * The tIME chunk itself is also Y2K compliant. It uses a 2-byte unsigned
691 /* png_text holds the contents of a text/ztxt/itxt chunk in a PNG file,
787 * libraries that don't have all of the libpng ancillary chunk-handing
802 * More allocation details: all the chunk-reading functions that
817 png_uint_32 valid PNG_DEPSTRUCT; /* valid chunk data (see PNG_INFO_ below) */
842 /* The gAMA chunk describes the gamma characteristics of the system
859 * null-terminated C strings. Each chunk has a keyword that describes the
860 * textual data contained in that chunk. Keywords are not required to be
870 /* The tIME chunk holds the last time the displayed image data was
877 /* The sBIT chunk specifies the number of significant high-order bits
888 /* The tRNS chunk supplies transparency data for paletted images and
902 /* The bKGD chunk gives the suggested image background color if the
912 /* The oFFs chunk gives the offset in "offset_unit_type" units rightwards
923 /* The pHYs chunk gives the physical pixel density of the image for
933 /* The hIST chunk contains the relative frequency or importance of the
943 /* The cHRM chunk describes the CIE color characteristics of the monitor
962 /* The pCAL chunk describes a transformation between the stored pixel
973 png_charp pcal_purpose PNG_DEPSTRUCT; /* pCAL chunk description string */
995 /* iCCP chunk data. */
1010 /* The sCAL chunk describes the actual physical dimensions of the
1011 * subject matter of the graphic. The chunk contains a unit specification
1093 /* These are for the oFFs chunk. These values should NOT be changed. */
1098 /* These are for the pCAL chunk. These values should NOT be changed. */
1105 /* These are for the sCAL chunk. These values should NOT be changed. */
1111 /* These are for the pHYs chunk. These values should NOT be changed. */
1116 /* These are for the sRGB chunk. These values should NOT be changed. */
1129 /* These determine if an ancillary chunk's data has been successfully read
1132 * of the PNG_INFO_<chunk> defines should NOT be changed.
1312 png_uint_32 crc PNG_DEPSTRUCT; /* current chunk CRC value */
1316 png_byte chunk_name[5] PNG_DEPSTRUCT; /* null-terminated name of current chunk */
1396 png_uint_32 push_length PNG_DEPSTRUCT; /* size of current input chunk */
1408 png_charp current_text PNG_DEPSTRUCT; /* current text chunk buffer */
1453 png_user_chunk_ptr read_user_chunk_fn PNG_DEPSTRUCT; /* user read chunk handler */
1537 /* Storage for unknown chunk that the library doesn't recognize. */
1546 png_charp chunkdata PNG_DEPSTRUCT; /* buffer for reading chunk data */
1622 /* Write a PNG chunk - size, type, (optional) data, CRC. */
1626 /* Write the start of a PNG chunk - length and chunk name. */
1630 /* Write the data of a PNG chunk started with png_write_chunk_start(). */
1634 /* Finish a chunk started with png_write_chunk_start() (includes CRC). */
1898 /* Set the libpng method of handling chunk CRC errors */
1905 * chunk. For versions prior to 0.90, the action was always error/quit,
2213 /* The same, but the chunk name is prepended to the error string. */
2227 /* Non-fatal error in libpng, chunk name is prepended to message. */
2233 /* The png_set_<chunk> functions are for storing values in the png_info_struct.
2234 * Similarly, the png_get_<chunk> calls are used to read values from the
2237 * png_get_<chunk> functions return a non-zero value if the data was available
2245 /* Returns "flag" if chunk data is valid in info_ptr. */
2299 /* Returns image resolution in pixels per meter, from pHYs chunk data. */
2307 /* Returns pixel aspect ratio, computed from pHYs chunk data. */
2313 /* Returns image x, y offset in pixels or microns, from oFFs chunk data. */
2564 handling or default unknown chunk handling is not desired. Any chunks not
2581 PNGARG((png_structp png_ptr, png_infop info_ptr, int chunk, int location));
2587 chunk that your application has freed,
2904 * they are used for unknown chunk location.
2925 #define PNG_HAVE_CHUNK_AFTER_IDAT 0x2000 /* Have another chunk after IDAT */
3043 /* Constant strings for known chunk types. If you need to add a chunk,
3201 /* Decompress data in a chunk that uses compression */
3232 /* Write the IHDR chunk, and update the png_struct with the necessary
3552 * then calls the appropriate callback for the chunk if it is valid.
3555 /* Decode the IHDR chunk */
3752 /* Read the chunk header (length + type name) */