summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/imageio/png/PNGHeader.h
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/PNGHeader.h
downloadcbb-gcc-4.6.4-15d2061ac0796199866debe9ac87130894b0cdd3.tar.bz2
cbb-gcc-4.6.4-15d2061ac0796199866debe9ac87130894b0cdd3.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/PNGHeader.h')
-rw-r--r--libjava/gnu/javax/imageio/png/PNGHeader.h66
1 files changed, 66 insertions, 0 deletions
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__