summaryrefslogtreecommitdiff
path: root/libjava/java/awt/image/BandedSampleModel.h
blob: 5eca8194bca810c98310da89d02cda916687a67f (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_image_BandedSampleModel__
#define __java_awt_image_BandedSampleModel__

#pragma interface

#include <java/awt/image/ComponentSampleModel.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace image
      {
          class BandedSampleModel;
          class DataBuffer;
          class SampleModel;
      }
    }
  }
}

class java::awt::image::BandedSampleModel : public ::java::awt::image::ComponentSampleModel
{

  static JArray< jint > * createBankArray(jint);
public:
  BandedSampleModel(jint, jint, jint, jint);
  BandedSampleModel(jint, jint, jint, jint, JArray< jint > *, JArray< jint > *);
  ::java::awt::image::DataBuffer * createDataBuffer();
  ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint);
  ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *);
  ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
  JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
  JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
  jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *);
  jfloat getSampleFloat(jint, jint, jint, ::java::awt::image::DataBuffer *);
  jdouble getSampleDouble(jint, jint, jint, ::java::awt::image::DataBuffer *);
  JArray< jint > * getSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
  void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
  void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
  void setPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
  void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *);
  void setSample(jint, jint, jint, jfloat, ::java::awt::image::DataBuffer *);
  void setSample(jint, jint, jint, jdouble, ::java::awt::image::DataBuffer *);
  void setSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
  ::java::lang::String * toString();
private:
  JArray< jint > * __attribute__((aligned(__alignof__( ::java::awt::image::ComponentSampleModel)))) bitMasks;
  JArray< jint > * bitOffsets;
  JArray< jint > * sampleSize;
  jint dataBitOffset;
  jint elemBits;
  jint numberOfBits;
  jint numElems;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_image_BandedSampleModel__