JPEGImageReader.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_imageio_jpeg_JPEGImageReader__
  3. #define __gnu_javax_imageio_jpeg_JPEGImageReader__
  4. #pragma interface
  5. #include <javax/imageio/ImageReader.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace javax
  11. {
  12. namespace imageio
  13. {
  14. namespace jpeg
  15. {
  16. class JPEGDecoder;
  17. class JPEGImageReader;
  18. }
  19. }
  20. }
  21. }
  22. namespace java
  23. {
  24. namespace awt
  25. {
  26. namespace image
  27. {
  28. class BufferedImage;
  29. }
  30. }
  31. }
  32. namespace javax
  33. {
  34. namespace imageio
  35. {
  36. class ImageReadParam;
  37. namespace metadata
  38. {
  39. class IIOMetadata;
  40. }
  41. namespace spi
  42. {
  43. class ImageReaderSpi;
  44. }
  45. }
  46. }
  47. }
  48. class gnu::javax::imageio::jpeg::JPEGImageReader : public ::javax::imageio::ImageReader
  49. {
  50. public: // actually protected
  51. JPEGImageReader(::javax::imageio::spi::ImageReaderSpi *);
  52. public:
  53. virtual jint getHeight(jint);
  54. virtual ::javax::imageio::metadata::IIOMetadata * getImageMetadata(jint);
  55. virtual ::java::util::Iterator * getImageTypes(jint);
  56. virtual jint getNumImages(jboolean);
  57. virtual ::javax::imageio::metadata::IIOMetadata * getStreamMetadata();
  58. virtual jint getWidth(jint);
  59. virtual ::java::awt::image::BufferedImage * read(jint, ::javax::imageio::ImageReadParam *);
  60. private:
  61. void checkIndex(jint);
  62. void checkStream();
  63. void decodeStream();
  64. public: // actually package-private
  65. ::gnu::javax::imageio::jpeg::JPEGDecoder * __attribute__((aligned(__alignof__( ::javax::imageio::ImageReader)))) decoder;
  66. public:
  67. static ::java::lang::Class class$;
  68. };
  69. #endif // __gnu_javax_imageio_jpeg_JPEGImageReader__