DecodeRLE8.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_bmp_DecodeRLE8__
  3. #define __gnu_javax_imageio_bmp_DecodeRLE8__
  4. #pragma interface
  5. #include <gnu/javax/imageio/bmp/BMPDecoder.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 DecodeRLE8;
  20. }
  21. }
  22. }
  23. }
  24. namespace java
  25. {
  26. namespace awt
  27. {
  28. namespace image
  29. {
  30. class BufferedImage;
  31. }
  32. }
  33. }
  34. namespace javax
  35. {
  36. namespace imageio
  37. {
  38. namespace stream
  39. {
  40. class ImageInputStream;
  41. }
  42. }
  43. }
  44. }
  45. class gnu::javax::imageio::bmp::DecodeRLE8 : public ::gnu::javax::imageio::bmp::BMPDecoder
  46. {
  47. public:
  48. DecodeRLE8(::gnu::javax::imageio::bmp::BMPFileHeader *, ::gnu::javax::imageio::bmp::BMPInfoHeader *);
  49. virtual ::java::awt::image::BufferedImage * decode(::javax::imageio::stream::ImageInputStream *);
  50. private:
  51. JArray< jbyte > * uncompress(jint, jint, ::javax::imageio::stream::ImageInputStream *);
  52. static const jbyte ESCAPE = 0;
  53. static const jbyte EOL = 0;
  54. static const jbyte EOB = 1;
  55. static const jbyte DELTA = 2;
  56. public:
  57. static ::java::lang::Class class$;
  58. };
  59. #endif // __gnu_javax_imageio_bmp_DecodeRLE8__