Home | History | Annotate | Download | only in libpng

Lines Matching refs:chunk

457  *    The tIME chunk itself is also Y2K compliant.  It uses a 2-byte unsigned
694 /* png_text holds the contents of a text/ztxt/itxt chunk in a PNG file,
785 // the IDAT header position of the chunk, which the index point is in
788 // we intend to record the offset of the index point in the chunk,
789 // but we record the number of remaining bytes in the chunk after the
790 // index point. That's because PNG processes a chunk this way.
801 // the IDAT header position of the last chunk read in so far.
834 * libraries that don't have all of the libpng ancillary chunk-handing
849 * More allocation details: all the chunk-reading functions that
864 png_uint_32 valid PNG_DEPSTRUCT; /* valid chunk data (see PNG_INFO_ below) */
889 /* The gAMA chunk describes the gamma characteristics of the system
906 * null-terminated C strings. Each chunk has a keyword that describes the
907 * textual data contained in that chunk. Keywords are not required to be
917 /* The tIME chunk holds the last time the displayed image data was
924 /* The sBIT chunk specifies the number of significant high-order bits
935 /* The tRNS chunk supplies transparency data for paletted images and
949 /* The bKGD chunk gives the suggested image background color if the
959 /* The oFFs chunk gives the offset in "offset_unit_type" units rightwards
970 /* The pHYs chunk gives the physical pixel density of the image for
980 /* The hIST chunk contains the relative frequency or importance of the
990 /* The cHRM chunk describes the CIE color characteristics of the monitor
1009 /* The pCAL chunk describes a transformation between the stored pixel
1020 png_charp pcal_purpose PNG_DEPSTRUCT; /* pCAL chunk description string */
1042 /* iCCP chunk data. */
1057 /* The sCAL chunk describes the actual physical dimensions of the
1058 * subject matter of the graphic. The chunk contains a unit specification
1140 /* These are for the oFFs chunk. These values should NOT be changed. */
1145 /* These are for the pCAL chunk. These values should NOT be changed. */
1152 /* These are for the sCAL chunk. These values should NOT be changed. */
1158 /* These are for the pHYs chunk. These values should NOT be changed. */
1163 /* These are for the sRGB chunk. These values should NOT be changed. */
1176 /* These determine if an ancillary chunk's data has been successfully read
1179 * of the PNG_INFO_<chunk> defines should NOT be changed.
1365 png_uint_32 crc PNG_DEPSTRUCT; /* current chunk CRC value */
1369 png_byte chunk_name[5] PNG_DEPSTRUCT; /* null-terminated name of current chunk */
1449 png_uint_32 push_length PNG_DEPSTRUCT; /* size of current input chunk */
1461 png_charp current_text PNG_DEPSTRUCT; /* current text chunk buffer */
1506 png_user_chunk_ptr read_user_chunk_fn PNG_DEPSTRUCT; /* user read chunk handler */
1590 /* Storage for unknown chunk that the library doesn't recognize. */
1604 png_charp chunkdata PNG_DEPSTRUCT; /* buffer for reading chunk data */
1678 /* Write a PNG chunk - size, type, (optional) data, CRC. */
1682 /* Write the start of a PNG chunk - length and chunk name. */
1686 /* Write the data of a PNG chunk started with png_write_chunk_start(). */
1690 /* Finish a chunk started with png_write_chunk_start() (includes CRC). */
1962 /* Set the libpng method of handling chunk CRC errors */
1969 * chunk. For versions prior to 0.90, the action was always error/quit,
2285 /* The same, but the chunk name is prepended to the error string. */
2299 /* Non-fatal error in libpng, chunk name is prepended to message. */
2305 /* The png_set_<chunk> functions are for storing values in the png_info_struct.
2306 * Similarly, the png_get_<chunk> calls are used to read values from the
2309 * png_get_<chunk> functions return a non-zero value if the data was available
2317 /* Returns "flag" if chunk data is valid in info_ptr. */
2371 /* Returns image resolution in pixels per meter, from pHYs chunk data. */
2379 /* Returns pixel aspect ratio, computed from pHYs chunk data. */
2385 /* Returns image x, y offset in pixels or microns, from oFFs chunk data. */
2636 handling or default unknown chunk handling is not desired. Any chunks not
2653 PNGARG((png_structp png_ptr, png_infop info_ptr, int chunk, int location));
2659 * If you need to turn it off for a chunk that your application has freed,
2976 * they are used for unknown chunk location.
2997 #define PNG_HAVE_CHUNK_AFTER_IDAT 0x2000 /* Have another chunk after IDAT */
3115 /* Constant strings for known chunk types. If you need to add a chunk,
3278 /* Decompress data in a chunk that uses compression */
3316 /* Write the IHDR chunk, and update the png_struct with the necessary
3641 * then calls the appropriate callback for the chunk if it is valid.
3644 /* Decode the IHDR chunk */
3841 /* Read the chunk header (length + type name) */