summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/imageio/jpeg/JPEGDecoder.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/jpeg/JPEGDecoder.h
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/jpeg/JPEGDecoder.h')
-rw-r--r--libjava/gnu/javax/imageio/jpeg/JPEGDecoder.h99
1 files changed, 99 insertions, 0 deletions
diff --git a/libjava/gnu/javax/imageio/jpeg/JPEGDecoder.h b/libjava/gnu/javax/imageio/jpeg/JPEGDecoder.h
new file mode 100644
index 000000000..4eef890fe
--- /dev/null
+++ b/libjava/gnu/javax/imageio/jpeg/JPEGDecoder.h
@@ -0,0 +1,99 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_imageio_jpeg_JPEGDecoder__
+#define __gnu_javax_imageio_jpeg_JPEGDecoder__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace jpeg
+ {
+ class JPEGDecoder;
+ class JPEGImageInputStream;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace awt
+ {
+ namespace image
+ {
+ class BufferedImage;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace imageio
+ {
+ namespace plugins
+ {
+ namespace jpeg
+ {
+ class JPEGHuffmanTable;
+ class JPEGQTable;
+ }
+ }
+ namespace stream
+ {
+ class ImageInputStream;
+ }
+ }
+ }
+}
+
+class gnu::javax::imageio::jpeg::JPEGDecoder : public ::java::lang::Object
+{
+
+public:
+ virtual jint getHeight();
+ virtual jint getWidth();
+ JPEGDecoder(::javax::imageio::stream::ImageInputStream *);
+ virtual void decode();
+private:
+ void decodeJFIFExtension();
+public:
+ virtual ::java::awt::image::BufferedImage * getImage();
+public: // actually package-private
+ jbyte __attribute__((aligned(__alignof__( ::java::lang::Object)))) majorVersion;
+ jbyte minorVersion;
+ jbyte units;
+ jshort Xdensity;
+ jshort Ydensity;
+ jbyte Xthumbnail;
+ jbyte Ythumbnail;
+ JArray< jbyte > * thumbnail;
+ ::java::awt::image::BufferedImage * image;
+ jint width;
+ jint height;
+ jbyte marker;
+public:
+ static const jbyte MAJOR_VERSION = 1;
+ static const jbyte MINOR_VERSION = 2;
+ static const jshort JFIF_FIXED_LENGTH = 16;
+ static const jshort JFXX_FIXED_LENGTH = 8;
+private:
+ ::gnu::javax::imageio::jpeg::JPEGImageInputStream * jpegStream;
+public: // actually package-private
+ ::java::util::ArrayList * jpegFrames;
+ JArray< ::javax::imageio::plugins::jpeg::JPEGHuffmanTable * > * dcTables;
+ JArray< ::javax::imageio::plugins::jpeg::JPEGHuffmanTable * > * acTables;
+ JArray< ::javax::imageio::plugins::jpeg::JPEGQTable * > * qTables;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_imageio_jpeg_JPEGDecoder__