EncodeRLE8.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_bmp_EncodeRLE8__
  3. #define __gnu_javax_imageio_bmp_EncodeRLE8__
  4. #pragma interface
  5. #include <gnu/javax/imageio/bmp/BMPEncoder.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace imageio
  14. {
  15. namespace bmp
  16. {
  17. class BMPFileHeader;
  18. class BMPInfoHeader;
  19. class EncodeRLE8;
  20. }
  21. }
  22. }
  23. }
  24. namespace java
  25. {
  26. namespace nio
  27. {
  28. class ByteBuffer;
  29. }
  30. }
  31. namespace javax
  32. {
  33. namespace imageio
  34. {
  35. class IIOImage;
  36. class ImageWriteParam;
  37. namespace metadata
  38. {
  39. class IIOMetadata;
  40. }
  41. namespace stream
  42. {
  43. class ImageOutputStream;
  44. }
  45. }
  46. }
  47. }
  48. class gnu::javax::imageio::bmp::EncodeRLE8 : public ::gnu::javax::imageio::bmp::BMPEncoder
  49. {
  50. public:
  51. EncodeRLE8(::gnu::javax::imageio::bmp::BMPFileHeader *, ::gnu::javax::imageio::bmp::BMPInfoHeader *);
  52. virtual void encode(::javax::imageio::stream::ImageOutputStream *, ::javax::imageio::metadata::IIOMetadata *, ::javax::imageio::IIOImage *, ::javax::imageio::ImageWriteParam *);
  53. private:
  54. JArray< jbyte > * uncompress(jint, jint, ::java::nio::ByteBuffer *);
  55. public: // actually protected
  56. ::gnu::javax::imageio::bmp::BMPInfoHeader * __attribute__((aligned(__alignof__( ::gnu::javax::imageio::bmp::BMPEncoder)))) infoHeader;
  57. ::gnu::javax::imageio::bmp::BMPFileHeader * fileHeader;
  58. jlong offset;
  59. private:
  60. static const jbyte ESCAPE = 0;
  61. static const jbyte EOL = 0;
  62. static const jbyte EOB = 1;
  63. static const jbyte DELTA = 2;
  64. public:
  65. static ::java::lang::Class class$;
  66. };
  67. #endif // __gnu_javax_imageio_bmp_EncodeRLE8__