Lines Matching refs:IDAT
89 // present), IDAT and IEND chunks must appear in that order. There may be
90 // multiple IDAT chunks, and IDAT chunks must be sequential (i.e. they may not
319 // Read presents one or more IDAT chunks as one continuous stream (minus the
321 // ... len0 IDAT xxx crc0 len1 IDAT yy crc1 len2 IEND crc2
324 // first IDAT and xxx, and the decoder state immediately after the last Read
331 // We have exhausted an IDAT chunk. Verify the checksum of that chunk.
336 // it is an IDAT chunk.
341 if string(d.tmp[4:8]) != "IDAT" {
348 return 0, UnsupportedError("IDAT chunk length overflow")
356 // decode decodes the IDAT data into an image.
875 case "IDAT":
879 // Ignore trailing zero-length or garbage IDAT chunks.
881 // This does not affect valid PNG images that contain multiple IDAT
883 // consecutive IDAT chunks required for decoding the image.