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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [imageio/] [png/] [PNGChunk.h] - Blame information for rev 756

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_png_PNGChunk__
5
#define __gnu_javax_imageio_png_PNGChunk__
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 png
21
        {
22
            class PNGChunk;
23
        }
24
      }
25
    }
26
  }
27
}
28
 
29
class gnu::javax::imageio::png::PNGChunk : public ::java::lang::Object
30
{
31
 
32
public: // actually protected
33
  PNGChunk(jint, JArray< jbyte > *, jint);
34
  PNGChunk(jint);
35
public:
36
  static ::gnu::javax::imageio::png::PNGChunk * readChunk(::java::io::InputStream *, jboolean);
37
private:
38
  static ::gnu::javax::imageio::png::PNGChunk * getChunk(jint, JArray< jbyte > *, jint);
39
  static jboolean isEssentialChunk(jint);
40
public:
41
  virtual jboolean isValidChunk();
42
  virtual jint getType();
43
  virtual void writeChunk(::java::io::OutputStream *);
44
  virtual jboolean isEmpty();
45
  static JArray< jbyte > * getInt(jint);
46
private:
47
  jint calcCRC();
48
public:
49
  virtual ::java::lang::String * toString();
50
private:
51
  static JArray< jlong > * crcTable;
52
public:
53
  static const jint TYPE_HEADER = 1229472850;
54
  static const jint TYPE_PALETTE = 1347179589;
55
  static const jint TYPE_DATA = 1229209940;
56
  static const jint TYPE_TIME = 1950960965;
57
  static const jint TYPE_END = 1229278788;
58
  static const jint TYPE_PHYS = 1883789683;
59
  static const jint TYPE_GAMMA = 1732332865;
60
  static const jint TYPE_PROFILE = 1766015824;
61
private:
62
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
63
public: // actually protected
64
  JArray< jbyte > * data;
65
private:
66
  jint crc;
67
public:
68
  static ::java::lang::Class class$;
69
};
70
 
71
#endif // __gnu_javax_imageio_png_PNGChunk__

powered by: WebSVN 2.1.0

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