OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [imageio/] [gif/] [GIFFile.h] - Blame information for rev 776

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_javax_imageio_gif_GIFFile__
5
#define __gnu_javax_imageio_gif_GIFFile__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace javax
17
    {
18
      namespace imageio
19
      {
20
        namespace gif
21
        {
22
            class GIFFile;
23
        }
24
      }
25
    }
26
  }
27
}
28
 
29
class gnu::javax::imageio::gif::GIFFile : public ::java::lang::Object
30
{
31
 
32
public:
33
  GIFFile(::java::io::InputStream *);
34
private:
35
  GIFFile(::gnu::javax::imageio::gif::GIFFile *, ::java::io::InputStream *, jint);
36
public:
37
  static jboolean readSignature(::java::io::InputStream *);
38
private:
39
  void loadImage(::java::io::InputStream *);
40
  void packPixels();
41
public:
42
  virtual jint getWidth();
43
  virtual jint getHeight();
44
  virtual jint getNColors();
45
  virtual jboolean hasTransparency();
46
  virtual jint getTransparentIndex();
47
  virtual ::java::lang::String * getComment();
48
  virtual jint getDuration();
49
private:
50
  void deinterlace();
51
  void readLocal(::java::io::InputStream *);
52
public:
53
  virtual JArray< jbyte > * getRawPalette();
54
  virtual ::gnu::javax::imageio::gif::GIFFile * getImage(jint);
55
  virtual JArray< jbyte > * getRawImage();
56
  virtual jint nImages();
57
private:
58
  void readExtension(::java::io::InputStream *);
59
  JArray< jbyte > * readData(::java::io::InputStream *);
60
  void decodeRaster(::java::io::InputStream *);
61
  jint getBits(jint);
62
  static JArray< jbyte > * nsBlock;
63
  static const jint EXTENSION = 33;
64
  static const jint LOCAL = 44;
65
  static const jint TERMINATOR = 59;
66
  static const jint EXTENSION_COMMENT = 254;
67
  static const jint EXTENSION_GCONTROL = 249;
68
  static const jint EXTENSION_APPLICATION = 255;
69
  static const jint UNDRAW_OVERWRITE = 1;
70
  static const jint UNDRAW_RESTORE_BACKGROUND = 2;
71
  static const jint UNDRAW_RESTORE_PREVIOUS = 3;
72
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) x;
73
  jint y;
74
  jint width;
75
  jint height;
76
  jint globalWidth;
77
  jint globalHeight;
78
  jbyte bgIndex;
79
  jint nColors;
80
  JArray< jbyte > * globalPalette;
81
  jboolean hasGlobalColorMap;
82
  JArray< jbyte > * localPalette;
83
  jboolean interlaced;
84
  jboolean hasTransparency__;
85
  jint undraw;
86
  jint transparentIndex;
87
  JArray< jbyte > * raster;
88
  JArray< jbyte > * compressedData;
89
  jint duration;
90
  jint dataBlockIndex;
91
  ::java::lang::String * comment;
92
  jint remainingBits;
93
  jint currentBits;
94
  jboolean isLooped;
95
  jint loops;
96
  ::java::util::Vector * animationFrames;
97
public:
98
  static ::java::lang::Class class$;
99
};
100
 
101
#endif // __gnu_javax_imageio_gif_GIFFile__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.