Searched refs:chunkType (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DPNGImageWriter.java153 private static byte[] chunkType = { field in class:IDATOutputStream
179 crc.update(chunkType, 0, 4);
180 stream.write(chunkType, 0, 4);
523 int chunkType = metadata.tRNS_colorType;
531 chunkType == PNGImageReader.PNG_COLOR_GRAY) {
532 chunkType = colorType;
537 if (chunkType != colorType) {
566 int chunkType = metadata.bKGD_colorType;
574 chunkType == PNGImageReader.PNG_COLOR_GRAY) {
576 chunkType
752 private static int chunkType(String typeString) { method in class:PNGImageWriter
[all...]
H A DPNGImageReader.java667 int chunkType = stream.readInt();
669 if (chunkType == IDAT_TYPE) {
690 int chunkType = stream.readInt();
692 switch (chunkType) {
749 chunkName.append((char)(chunkType >>> 24));
750 chunkName.append((char)((chunkType >> 16) & 0xff));
751 chunkName.append((char)((chunkType >> 8) & 0xff));
752 chunkName.append((char)(chunkType & 0xff));
754 int ancillaryBit = chunkType >>> 28;
H A DPNGMetadata.java1664 String chunkType = getAttribute(unknown_node, "type");
1668 if (chunkType.length() != 4) {
1680 unknownChunkType.add(chunkType);

Completed in 49 milliseconds