Home | History | Annotate | Download | only in lodepng

Lines Matching defs:idat

4202 the IDAT chunks (with filter index bytes and possible padding bits)
4569 ucvector idat; /*the data from idat chunks*/
4575 unsigned critical_pos = 1; /*1 = after IHDR, 2 = after PLTE, 3 = after IDAT*/
4584 ucvector_init(&idat);
4588 IDAT data is put at the start of the in buffer*/
4609 /*IDAT chunk, containing compressed image data*/
4610 if(lodepng_chunk_type_equals(chunk, "IDAT"))
4612 size_t oldsize = idat.size;
4613 if(!ucvector_resize(&idat, oldsize + chunkLength)) CERROR_BREAK(state->error, 83 /*alloc fail*/);
4614 for(i = 0; i < chunkLength; i++) idat.data[oldsize + i] = data[i];
4720 state->error = zlib_decompress(&scanlines.data, &scanlines.size, idat.data,
4721 idat.size, &state->decoder.zlibsettings);
4723 ucvector_cleanup(&idat);
4994 if(!error) error = addChunk(out, "IDAT", zlibdata.data, zlibdata.size);
5533 /*out must be buffer big enough to contain uncompressed IDAT chunk data, and in must contain the full image.
5667 unsigned char* data = 0; /*uncompressed version of the IDAT chunk data*/
5759 /*bKGD (must come between PLTE and the IDAt chunks*/
5761 /*pHYs (must come before the IDAT chunks)*/
5764 /*unknown chunks between PLTE and IDAT*/
5771 /*IDAT (multiple IDAT chunks must be consecutive)*/
5834 /*unknown chunks between IDAT and IEND*/