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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [imageio/] [bmp/] [BMPInfoHeader.h] - Blame information for rev 775

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_bmp_BMPInfoHeader__
5
#define __gnu_javax_imageio_bmp_BMPInfoHeader__
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 bmp
21
        {
22
            class BMPInfoHeader;
23
        }
24
      }
25
    }
26
  }
27
  namespace java
28
  {
29
    namespace awt
30
    {
31
        class Dimension;
32
    }
33
  }
34
  namespace javax
35
  {
36
    namespace imageio
37
    {
38
        class IIOImage;
39
        class ImageWriteParam;
40
      namespace stream
41
      {
42
          class ImageInputStream;
43
          class ImageOutputStream;
44
      }
45
    }
46
  }
47
}
48
 
49
class gnu::javax::imageio::bmp::BMPInfoHeader : public ::java::lang::Object
50
{
51
 
52
public:
53
  BMPInfoHeader(::javax::imageio::stream::ImageInputStream *);
54
  BMPInfoHeader(::javax::imageio::stream::ImageOutputStream *, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
55
private:
56
  JArray< jbyte > * intToWord(jint);
57
  JArray< jbyte > * intToDWord(jint);
58
public:
59
  virtual void setBitCount(jshort);
60
  virtual jshort getBitCount();
61
  virtual void setCompression(jint);
62
  virtual jint getNumberOfPaletteEntries();
63
  virtual jint getCompression();
64
  virtual ::java::awt::Dimension * getSize();
65
  virtual jint getWidth();
66
  virtual jint getHeight();
67
  virtual void setSize(::java::awt::Dimension *);
68
public: // actually protected
69
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) biSize;
70
  jint biWidth;
71
  jint biHeight;
72
  jshort biPlanes;
73
  jshort biBitCount;
74
  jint biCompression;
75
  jint biSizeImage;
76
  jint biXPelsPerMeter;
77
  jint biYPelsPerMeter;
78
  jint biClrUsed;
79
  jint biClrImportant;
80
public:
81
  static const jint SIZE = 40;
82
  static const jint BI_RGB = 0;
83
  static const jint BI_RLE8 = 1;
84
  static const jint BI_RLE4 = 2;
85
  static const jint BI_BITFIELDS = 3;
86
  static ::java::lang::Class class$;
87
};
88
 
89
#endif // __gnu_javax_imageio_bmp_BMPInfoHeader__

powered by: WebSVN 2.1.0

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