summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/imageio/jpeg/JPEGScan.h
blob: 5023286565f14e179c611595137b7be167d0ccaf (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_imageio_jpeg_JPEGScan__
#define __gnu_javax_imageio_jpeg_JPEGScan__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace imageio
      {
        namespace jpeg
        {
            class JPEGComponent;
            class JPEGScan;
        }
      }
    }
  }
}

class gnu::javax::imageio::jpeg::JPEGScan : public ::java::lang::Object
{

public:
  JPEGScan();
  JPEGScan(jint, jint);
private:
  void recalculateDimensions();
public:
  virtual void addComponent(jbyte, jbyte, jbyte, jbyte);
  virtual ::gnu::javax::imageio::jpeg::JPEGComponent * getComponentByID(jbyte);
  virtual ::gnu::javax::imageio::jpeg::JPEGComponent * get(jint);
  virtual jint getX(jbyte);
  virtual jint getY(jbyte);
  virtual jint getMaxV();
  virtual jint getMaxH();
  virtual void setWidth(jint);
  virtual void setHeight(jint);
  virtual jint size();
  virtual jint sizeComponentBlocks();
private:
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) maxHeight;
  jint maxWidth;
  jint maxV;
  jint maxH;
  jint numOfComponents;
  jint numOfComponentBlocks;
  ::java::util::ArrayList * components;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_imageio_jpeg_JPEGScan__