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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [imageio/] [bmp/] [EncodeRLE8.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_bmp_EncodeRLE8__
5
#define __gnu_javax_imageio_bmp_EncodeRLE8__
6
 
7
#pragma interface
8
 
9
#include <gnu/javax/imageio/bmp/BMPEncoder.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 BMPFileHeader;
23
            class BMPInfoHeader;
24
            class EncodeRLE8;
25
        }
26
      }
27
    }
28
  }
29
  namespace java
30
  {
31
    namespace nio
32
    {
33
        class ByteBuffer;
34
    }
35
  }
36
  namespace javax
37
  {
38
    namespace imageio
39
    {
40
        class IIOImage;
41
        class ImageWriteParam;
42
      namespace metadata
43
      {
44
          class IIOMetadata;
45
      }
46
      namespace stream
47
      {
48
          class ImageOutputStream;
49
      }
50
    }
51
  }
52
}
53
 
54
class gnu::javax::imageio::bmp::EncodeRLE8 : public ::gnu::javax::imageio::bmp::BMPEncoder
55
{
56
 
57
public:
58
  EncodeRLE8(::gnu::javax::imageio::bmp::BMPFileHeader *, ::gnu::javax::imageio::bmp::BMPInfoHeader *);
59
  virtual void encode(::javax::imageio::stream::ImageOutputStream *, ::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
60
private:
61
  JArray< jbyte > * uncompress(jint, jint, ::java::nio::ByteBuffer *);
62
public: // actually protected
63
  ::gnu::javax::imageio::bmp::BMPInfoHeader * __attribute__((aligned(__alignof__( ::gnu::javax::imageio::bmp::BMPEncoder)))) infoHeader;
64
  ::gnu::javax::imageio::bmp::BMPFileHeader * fileHeader;
65
  jlong offset;
66
private:
67
  static const jbyte ESCAPE = 0;
68
  static const jbyte EOL = 0;
69
  static const jbyte EOB = 1;
70
  static const jbyte DELTA = 2;
71
public:
72
  static ::java::lang::Class class$;
73
};
74
 
75
#endif // __gnu_javax_imageio_bmp_EncodeRLE8__

powered by: WebSVN 2.1.0

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