From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; 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. --- libjava/gnu/javax/imageio/jpeg/JPEGDecoder.h | 99 ++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 libjava/gnu/javax/imageio/jpeg/JPEGDecoder.h (limited to 'libjava/gnu/javax/imageio/jpeg/JPEGDecoder.h') 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 +#include + +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__ -- cgit v1.2.3