blob: 4eef890fe68bc381e74ff215feb8d57840dab622 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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__
|