summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/imageio/png
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/imageio/png
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/gnu/javax/imageio/png')
-rw-r--r--libjava/gnu/javax/imageio/png/PNGChunk.h71
-rw-r--r--libjava/gnu/javax/imageio/png/PNGData.h47
-rw-r--r--libjava/gnu/javax/imageio/png/PNGDecoder.h85
-rw-r--r--libjava/gnu/javax/imageio/png/PNGEncoder.h64
-rw-r--r--libjava/gnu/javax/imageio/png/PNGException.h35
-rw-r--r--libjava/gnu/javax/imageio/png/PNGFile.h75
-rw-r--r--libjava/gnu/javax/imageio/png/PNGFilter.h47
-rw-r--r--libjava/gnu/javax/imageio/png/PNGGamma.h54
-rw-r--r--libjava/gnu/javax/imageio/png/PNGHeader.h66
-rw-r--r--libjava/gnu/javax/imageio/png/PNGICCProfile.h57
-rw-r--r--libjava/gnu/javax/imageio/png/PNGImageReader.h75
-rw-r--r--libjava/gnu/javax/imageio/png/PNGImageReaderSpi.h59
-rw-r--r--libjava/gnu/javax/imageio/png/PNGPalette.h60
-rw-r--r--libjava/gnu/javax/imageio/png/PNGPhys.h50
-rw-r--r--libjava/gnu/javax/imageio/png/PNGTime.h43
15 files changed, 888 insertions, 0 deletions
diff --git a/libjava/gnu/javax/imageio/png/PNGChunk.h b/libjava/gnu/javax/imageio/png/PNGChunk.h
new file mode 100644
index 000000000..849b43632
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGChunk.h
@@ -0,0 +1,71 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGChunk__
+#define __gnu_javax_imageio_png_PNGChunk__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGChunk;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGChunk : public ::java::lang::Object
+{
+
+public: // actually protected
+ PNGChunk(jint, JArray< jbyte > *, jint);
+ PNGChunk(jint);
+public:
+ static ::gnu::javax::imageio::png::PNGChunk * readChunk(::java::io::InputStream *, jboolean);
+private:
+ static ::gnu::javax::imageio::png::PNGChunk * getChunk(jint, JArray< jbyte > *, jint);
+ static jboolean isEssentialChunk(jint);
+public:
+ virtual jboolean isValidChunk();
+ virtual jint getType();
+ virtual void writeChunk(::java::io::OutputStream *);
+ virtual jboolean isEmpty();
+ static JArray< jbyte > * getInt(jint);
+private:
+ jint calcCRC();
+public:
+ virtual ::java::lang::String * toString();
+private:
+ static JArray< jlong > * crcTable;
+public:
+ static const jint TYPE_HEADER = 1229472850;
+ static const jint TYPE_PALETTE = 1347179589;
+ static const jint TYPE_DATA = 1229209940;
+ static const jint TYPE_TIME = 1950960965;
+ static const jint TYPE_END = 1229278788;
+ static const jint TYPE_PHYS = 1883789683;
+ static const jint TYPE_GAMMA = 1732332865;
+ static const jint TYPE_PROFILE = 1766015824;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+public: // actually protected
+ JArray< jbyte > * data;
+private:
+ jint crc;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGChunk__
diff --git a/libjava/gnu/javax/imageio/png/PNGData.h b/libjava/gnu/javax/imageio/png/PNGData.h
new file mode 100644
index 000000000..16a04a2c4
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGData.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGData__
+#define __gnu_javax_imageio_png_PNGData__
+
+#pragma interface
+
+#include <gnu/javax/imageio/png/PNGChunk.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGData;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGData : public ::gnu::javax::imageio::png::PNGChunk
+{
+
+public: // actually protected
+ PNGData(jint, JArray< jbyte > *, jint);
+ PNGData(jint);
+public:
+ virtual void deflateToChunk(::java::util::zip::Deflater *);
+ virtual jboolean chunkFull();
+ virtual void shrink();
+ virtual void feedToInflater(::java::util::zip::Inflater *);
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) offset;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGData__
diff --git a/libjava/gnu/javax/imageio/png/PNGDecoder.h b/libjava/gnu/javax/imageio/png/PNGDecoder.h
new file mode 100644
index 000000000..70e6f3944
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGDecoder.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGDecoder__
+#define __gnu_javax_imageio_png_PNGDecoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGData;
+ class PNGDecoder;
+ class PNGHeader;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ namespace image
+ {
+ class ColorModel;
+ class DataBuffer;
+ class IndexColorModel;
+ class WritableRaster;
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGDecoder : public ::java::lang::Object
+{
+
+public:
+ PNGDecoder(::gnu::javax::imageio::png::PNGHeader *);
+private:
+ jint getBytes(JArray< jbyte > *, jint);
+public:
+ virtual void addData(::gnu::javax::imageio::png::PNGData *);
+ virtual ::java::awt::image::WritableRaster * getRaster(::gnu::javax::imageio::png::PNGHeader *);
+private:
+ ::java::awt::image::DataBuffer * getShortBuffer();
+ ::java::awt::image::DataBuffer * getByteBuffer();
+public:
+ virtual ::java::awt::image::ColorModel * getColorModel(::java::awt::color::ColorSpace *, jint, jint);
+private:
+ ::java::awt::image::IndexColorModel * grayPalette(jint);
+public:
+ virtual JArray< jbyte > * getRaster();
+ virtual jboolean isFinished();
+private:
+ ::gnu::javax::imageio::png::PNGHeader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) header;
+ JArray< jbyte > * raster;
+ JArray< jbyte > * scanline;
+ JArray< jbyte > * lastScanline;
+ JArray< jbyte > * filterType;
+ jint offset;
+ jint length;
+ jint currentScanline;
+ jint stride;
+ ::java::util::zip::Inflater * inflater;
+ jboolean readFilter;
+ jint bpp;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGDecoder__
diff --git a/libjava/gnu/javax/imageio/png/PNGEncoder.h b/libjava/gnu/javax/imageio/png/PNGEncoder.h
new file mode 100644
index 000000000..e985ee10b
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGEncoder.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGEncoder__
+#define __gnu_javax_imageio_png_PNGEncoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGEncoder;
+ class PNGHeader;
+ class PNGICCProfile;
+ class PNGPalette;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BufferedImage;
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGEncoder : public ::java::lang::Object
+{
+
+public:
+ PNGEncoder(::java::awt::image::BufferedImage *);
+ virtual ::gnu::javax::imageio::png::PNGHeader * getHeader();
+ virtual ::gnu::javax::imageio::png::PNGPalette * getPalette();
+ virtual ::gnu::javax::imageio::png::PNGICCProfile * getProfile();
+ virtual ::java::util::Vector * encodeImage();
+private:
+ void getRawData(::java::awt::image::BufferedImage *);
+ static const jint defaultChunkSize = 8192;
+ ::gnu::javax::imageio::png::PNGHeader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) header;
+ ::gnu::javax::imageio::png::PNGPalette * palette;
+ jint stride;
+ jint bpp;
+ JArray< jbyte > * rawData;
+ ::gnu::javax::imageio::png::PNGICCProfile * profile;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGEncoder__
diff --git a/libjava/gnu/javax/imageio/png/PNGException.h b/libjava/gnu/javax/imageio/png/PNGException.h
new file mode 100644
index 000000000..d02406961
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGException.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGException__
+#define __gnu_javax_imageio_png_PNGException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGException;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGException : public ::java::io::IOException
+{
+
+public:
+ PNGException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGException__
diff --git a/libjava/gnu/javax/imageio/png/PNGFile.h b/libjava/gnu/javax/imageio/png/PNGFile.h
new file mode 100644
index 000000000..a1b5fdfb6
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGFile.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGFile__
+#define __gnu_javax_imageio_png_PNGFile__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGDecoder;
+ class PNGEncoder;
+ class PNGFile;
+ class PNGHeader;
+ class PNGPalette;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ namespace image
+ {
+ class BufferedImage;
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGFile : public ::java::lang::Object
+{
+
+public:
+ PNGFile(::java::io::InputStream *);
+ PNGFile(::java::awt::image::BufferedImage *);
+ virtual void writePNG(::java::io::OutputStream *);
+private:
+ jboolean validateHeader(JArray< jbyte > *);
+public:
+ virtual ::java::awt::image::BufferedImage * getBufferedImage();
+private:
+ ::gnu::javax::imageio::png::PNGPalette * getPalette();
+ ::java::awt::color::ColorSpace * getColorSpace();
+ static JArray< jbyte > * signature;
+ static JArray< jbyte > * endChunk;
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) chunks;
+ ::gnu::javax::imageio::png::PNGHeader * header;
+ jboolean hasPalette;
+ jint width;
+ jint height;
+ ::gnu::javax::imageio::png::PNGDecoder * decoder;
+ ::gnu::javax::imageio::png::PNGEncoder * encoder;
+ ::java::awt::image::BufferedImage * sourceImage;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGFile__
diff --git a/libjava/gnu/javax/imageio/png/PNGFilter.h b/libjava/gnu/javax/imageio/png/PNGFilter.h
new file mode 100644
index 000000000..c461f59a2
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGFilter.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGFilter__
+#define __gnu_javax_imageio_png_PNGFilter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGFilter;
+ class PNGHeader;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGFilter : public ::java::lang::Object
+{
+
+public:
+ PNGFilter();
+ static jboolean useFilter(::gnu::javax::imageio::png::PNGHeader *);
+ static jbyte chooseFilter(JArray< jbyte > *, JArray< jbyte > *, jint);
+ static JArray< jbyte > * filterScanline(jbyte, JArray< jbyte > *, JArray< jbyte > *, jint);
+ static JArray< jbyte > * unFilterScanline(jint, JArray< jbyte > *, JArray< jbyte > *, jint);
+ static const jbyte FILTER_NONE = 0;
+ static const jbyte FILTER_SUB = 1;
+ static const jbyte FILTER_UP = 2;
+ static const jbyte FILTER_AVERAGE = 3;
+ static const jbyte FILTER_PAETH = 4;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGFilter__
diff --git a/libjava/gnu/javax/imageio/png/PNGGamma.h b/libjava/gnu/javax/imageio/png/PNGGamma.h
new file mode 100644
index 000000000..e6458f43c
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGGamma.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGGamma__
+#define __gnu_javax_imageio_png_PNGGamma__
+
+#pragma interface
+
+#include <gnu/javax/imageio/png/PNGChunk.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGGamma;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGGamma : public ::gnu::javax::imageio::png::PNGChunk
+{
+
+public: // actually protected
+ PNGGamma(jint, JArray< jbyte > *, jint);
+public:
+ PNGGamma(jdouble);
+ virtual ::java::awt::color::ColorSpace * getColorSpace(jboolean);
+ virtual ::java::lang::String * toString();
+private:
+ jdouble __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) gamma;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGGamma__
diff --git a/libjava/gnu/javax/imageio/png/PNGHeader.h b/libjava/gnu/javax/imageio/png/PNGHeader.h
new file mode 100644
index 000000000..190268003
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGHeader.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGHeader__
+#define __gnu_javax_imageio_png_PNGHeader__
+
+#pragma interface
+
+#include <gnu/javax/imageio/png/PNGChunk.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGHeader;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGHeader : public ::gnu::javax::imageio::png::PNGChunk
+{
+
+public: // actually protected
+ PNGHeader(jint, JArray< jbyte > *, jint);
+public:
+ PNGHeader(jint, jint, jint, jint, jboolean);
+ virtual jboolean isValidChunk();
+ virtual jboolean isIndexed();
+ virtual jboolean isGrayscale();
+ virtual jint getColorType();
+ virtual jboolean isInterlaced();
+ virtual jint bytesPerPixel();
+ virtual jint getScanlineStride();
+ virtual jint getWidth();
+ virtual jint getHeight();
+ virtual jint getDepth();
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) width;
+ jint height;
+ jint depth;
+ jint colorType;
+ jint compression;
+ jint filter;
+ jint interlace;
+public:
+ static const jint INTERLACE_NONE = 0;
+ static const jint INTERLACE_ADAM7 = 1;
+ static const jint GRAYSCALE = 0;
+ static const jint RGB = 2;
+ static const jint INDEXED = 3;
+ static const jint GRAYSCALE_WITH_ALPHA = 4;
+ static const jint RGB_WITH_ALPHA = 6;
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGHeader__
diff --git a/libjava/gnu/javax/imageio/png/PNGICCProfile.h b/libjava/gnu/javax/imageio/png/PNGICCProfile.h
new file mode 100644
index 000000000..1495ded5d
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGICCProfile.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGICCProfile__
+#define __gnu_javax_imageio_png_PNGICCProfile__
+
+#pragma interface
+
+#include <gnu/javax/imageio/png/PNGChunk.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGICCProfile;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ class ICC_Profile;
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGICCProfile : public ::gnu::javax::imageio::png::PNGChunk
+{
+
+public: // actually protected
+ PNGICCProfile(jint, JArray< jbyte > *, jint);
+public:
+ PNGICCProfile(::java::awt::color::ICC_Profile *);
+ virtual ::java::awt::color::ColorSpace * getColorSpace();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) name;
+ ::java::awt::color::ICC_Profile * profile;
+ static JArray< jbyte > * genericName;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGICCProfile__
diff --git a/libjava/gnu/javax/imageio/png/PNGImageReader.h b/libjava/gnu/javax/imageio/png/PNGImageReader.h
new file mode 100644
index 000000000..5ef99a738
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGImageReader.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGImageReader__
+#define __gnu_javax_imageio_png_PNGImageReader__
+
+#pragma interface
+
+#include <javax/imageio/ImageReader.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGFile;
+ class PNGImageReader;
+ class PNGImageReaderSpi;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BufferedImage;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageReadParam;
+ namespace metadata
+ {
+ class IIOMetadata;
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGImageReader : public ::javax::imageio::ImageReader
+{
+
+public:
+ PNGImageReader(::gnu::javax::imageio::png::PNGImageReaderSpi *);
+ virtual jint getHeight(jint);
+ virtual jint getWidth(jint);
+ virtual ::java::util::Iterator * getImageTypes(jint);
+ virtual jint getNumImages(jboolean);
+ virtual ::java::awt::image::BufferedImage * read(jint, ::javax::imageio::ImageReadParam *);
+ virtual void setInput(::java::lang::Object *, jboolean, jboolean);
+ virtual ::javax::imageio::metadata::IIOMetadata * getImageMetadata(jint);
+ virtual ::javax::imageio::metadata::IIOMetadata * getStreamMetadata();
+private:
+ void checkIndex(jint);
+ void readImage();
+ ::gnu::javax::imageio::png::PNGFile * __attribute__((aligned(__alignof__( ::javax::imageio::ImageReader)))) pngFile;
+ ::java::awt::image::BufferedImage * image;
+ ::java::util::ArrayList * imageTypes;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGImageReader__
diff --git a/libjava/gnu/javax/imageio/png/PNGImageReaderSpi.h b/libjava/gnu/javax/imageio/png/PNGImageReaderSpi.h
new file mode 100644
index 000000000..61b6b3f73
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGImageReaderSpi.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGImageReaderSpi__
+#define __gnu_javax_imageio_png_PNGImageReaderSpi__
+
+#pragma interface
+
+#include <javax/imageio/spi/ImageReaderSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGImageReaderSpi;
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ class ImageReader;
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGImageReaderSpi : public ::javax::imageio::spi::ImageReaderSpi
+{
+
+public:
+ PNGImageReaderSpi();
+ virtual jboolean canDecodeInput(::java::lang::Object *);
+ virtual ::javax::imageio::ImageReader * createReaderInstance(::java::lang::Object *);
+ virtual ::java::lang::String * getDescription(::java::util::Locale *);
+private:
+ static JArray< jbyte > * SIGNATURE;
+ static ::java::lang::String * VENDOR_NAME;
+public: // actually package-private
+ static ::java::lang::String * VERSION;
+ static ::java::lang::String * READER_CLASSNAME;
+ static JArray< ::java::lang::String * > * NAMES;
+ static JArray< ::java::lang::String * > * SUFFIXES;
+ static JArray< ::java::lang::String * > * MIME_TYPES;
+ static JArray< ::java::lang::String * > * WRITER_SPI_NAMES;
+ static JArray< ::java::lang::Class * > * INPUT_TYPES;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGImageReaderSpi__
diff --git a/libjava/gnu/javax/imageio/png/PNGPalette.h b/libjava/gnu/javax/imageio/png/PNGPalette.h
new file mode 100644
index 000000000..d216b1b5e
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGPalette.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGPalette__
+#define __gnu_javax_imageio_png_PNGPalette__
+
+#pragma interface
+
+#include <gnu/javax/imageio/png/PNGChunk.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGPalette;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace color
+ {
+ class ColorSpace;
+ }
+ namespace image
+ {
+ class IndexColorModel;
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGPalette : public ::gnu::javax::imageio::png::PNGChunk
+{
+
+public: // actually protected
+ PNGPalette(jint, JArray< jbyte > *, jint);
+public:
+ PNGPalette(::java::awt::image::IndexColorModel *);
+ virtual ::java::awt::image::IndexColorModel * getPalette(::java::awt::color::ColorSpace *);
+ virtual ::java::lang::String * toString();
+private:
+ JArray< jint > * __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) red;
+ JArray< jint > * green;
+ JArray< jint > * blue;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGPalette__
diff --git a/libjava/gnu/javax/imageio/png/PNGPhys.h b/libjava/gnu/javax/imageio/png/PNGPhys.h
new file mode 100644
index 000000000..fa4476de8
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGPhys.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGPhys__
+#define __gnu_javax_imageio_png_PNGPhys__
+
+#pragma interface
+
+#include <gnu/javax/imageio/png/PNGChunk.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGPhys;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGPhys : public ::gnu::javax::imageio::png::PNGChunk
+{
+
+public: // actually protected
+ PNGPhys(jint, JArray< jbyte > *, jint);
+public:
+ PNGPhys(jdouble);
+ PNGPhys(jint, jint);
+private:
+ void makeData();
+public:
+ virtual ::java::lang::String * toString();
+public: // actually package-private
+ jlong __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) x;
+ jlong y;
+ jdouble ratio;
+ jboolean usesRatio;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGPhys__
diff --git a/libjava/gnu/javax/imageio/png/PNGTime.h b/libjava/gnu/javax/imageio/png/PNGTime.h
new file mode 100644
index 000000000..1e07099b1
--- /dev/null
+++ b/libjava/gnu/javax/imageio/png/PNGTime.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_png_PNGTime__
+#define __gnu_javax_imageio_png_PNGTime__
+
+#pragma interface
+
+#include <gnu/javax/imageio/png/PNGChunk.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace png
+ {
+ class PNGTime;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::png::PNGTime : public ::gnu::javax::imageio::png::PNGChunk
+{
+
+public: // actually protected
+ PNGTime(jint, JArray< jbyte > *, jint);
+public:
+ PNGTime(::java::util::Date *);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::util::Date * __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) date;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_png_PNGTime__