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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [imageio/] [png/] [PNGHeader.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_PNGHeader__
5
#define __gnu_javax_imageio_png_PNGHeader__
6
 
7
#pragma interface
8
 
9
#include <gnu/javax/imageio/png/PNGChunk.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 PNGHeader;
23
        }
24
      }
25
    }
26
  }
27
}
28
 
29
class gnu::javax::imageio::png::PNGHeader : public ::gnu::javax::imageio::png::PNGChunk
30
{
31
 
32
public: // actually protected
33
  PNGHeader(jint, JArray< jbyte > *, jint);
34
public:
35
  PNGHeader(jint, jint, jint, jint, jboolean);
36
  virtual jboolean isValidChunk();
37
  virtual jboolean isIndexed();
38
  virtual jboolean isGrayscale();
39
  virtual jint getColorType();
40
  virtual jboolean isInterlaced();
41
  virtual jint bytesPerPixel();
42
  virtual jint getScanlineStride();
43
  virtual jint getWidth();
44
  virtual jint getHeight();
45
  virtual jint getDepth();
46
  virtual ::java::lang::String * toString();
47
private:
48
  jint __attribute__((aligned(__alignof__( ::gnu::javax::imageio::png::PNGChunk)))) width;
49
  jint height;
50
  jint depth;
51
  jint colorType;
52
  jint compression;
53
  jint filter;
54
  jint interlace;
55
public:
56
  static const jint INTERLACE_NONE = 0;
57
  static const jint INTERLACE_ADAM7 = 1;
58
  static const jint GRAYSCALE = 0;
59
  static const jint RGB = 2;
60
  static const jint INDEXED = 3;
61
  static const jint GRAYSCALE_WITH_ALPHA = 4;
62
  static const jint RGB_WITH_ALPHA = 6;
63
  static ::java::lang::Class class$;
64
};
65
 
66
#endif // __gnu_javax_imageio_png_PNGHeader__

powered by: WebSVN 2.1.0

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