Lines Matching defs:chunk

192       png_warning(png_ptr, "Insufficient memory for hIST chunk data");
669 png_benign_error(png_ptr, "Insufficient memory to process iCCP chunk");
817 png_chunk_report(png_ptr, "iTXt chunk not supported",
846 png_chunk_report(png_ptr, "text chunk: out of memory",
898 png_debug1(3, "transferred text chunk %d", info_ptr->num_text);
979 "tRNS chunk has out-of-range samples for bit_depth");
1107 * png_set_unknown_chunk_location API below for each chunk.
1157 png_app_error(png_ptr, "no unknown chunk support on read");
1166 png_app_error(png_ptr, "no unknown chunk support on write");
1196 * just-allocated chunk data.
1217 png_chunk_report(png_ptr, "unknown chunk: out of memory",
1219 /* But just skip storing the unknown chunk */
1228 * unknown chunk entry gets overwritten if the png_chunk_report returns.
1229 * This is correct in the read case (the chunk is just dropped.)
1238 int chunk, int location)
1245 if (png_ptr != NULL && info_ptr != NULL && chunk >= 0 &&
1246 chunk < info_ptr->unknown_chunks_num)
1250 png_app_error(png_ptr, "invalid unknown chunk location");
1259 info_ptr->unknown_chunks[chunk].location =
1286 /* Utility function: update the 'keep' state of a chunk if it is already in
1371 png_app_error(png_ptr, "png_set_keep_unknown_chunks: no chunk list");
1411 /* Add the new chunks together with each one's handling code. If the chunk
1412 * already exists the code is updated, otherwise the chunk is added to the
1631 * pixels with invalid (out-of-range) indexes if the PLTE chunk has
1654 * chunk. The PNG 1.0 specification requires keywords 1-79 characters in