
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_imageio_png_PNGFilter__
#define __gnu_javax_imageio_png_PNGFilter__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace imageio
      {
        namespace png
        {
            class PNGFilter;
            class PNGHeader;
        }
      }
    }
  }
}

class gnu::javax::imageio::png::PNGFilter : public ::java::lang::Object
{

public:
  PNGFilter();
  static jboolean useFilter(::gnu::javax::imageio::png::PNGHeader *);
  static jbyte chooseFilter(JArray< jbyte > *, JArray< jbyte > *, jint);
  static JArray< jbyte > * filterScanline(jbyte, JArray< jbyte > *, JArray< jbyte > *, jint);
  static JArray< jbyte > * unFilterScanline(jint, JArray< jbyte > *, JArray< jbyte > *, jint);
  static const jbyte FILTER_NONE = 0;
  static const jbyte FILTER_SUB = 1;
  static const jbyte FILTER_UP = 2;
  static const jbyte FILTER_AVERAGE = 3;
  static const jbyte FILTER_PAETH = 4;
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_imageio_png_PNGFilter__
