Class Filter

java.lang.Object
pixy.image.png.Filter

public class Filter
extends java.lang.Object
PNG scan line filter
Version:
1.0 04/29/2013
Author:
Wen Yu, yuwen_66@yahoo.com
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int AVERAGE  
    static int NONE  
    static int PAETH  
    static int SUB  
    static int UP  
  • Method Summary

    Modifier and Type Method Description
    static void defilter_average​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)  
    static void defilter_paeth​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)  
    static void defilter_sub​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)  
    static void defilter_up​(int bytesPerScanLine, byte[] sample, int offset)  
    static void filter_average​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)  
    static void filter_paeth​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)  
    static void filter_sub​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)  
    static void filter_up​(int bytesPerScanLine, byte[] sample, int offset)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • defilter_average

      public static void defilter_average​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
    • defilter_paeth

      public static void defilter_paeth​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
    • defilter_sub

      public static void defilter_sub​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
    • defilter_up

      public static void defilter_up​(int bytesPerScanLine, byte[] sample, int offset)
    • filter_average

      public static void filter_average​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
    • filter_paeth

      public static void filter_paeth​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
    • filter_sub

      public static void filter_sub​(int bytesPerPixel, int bytesPerScanLine, byte[] sample, int offset)
    • filter_up

      public static void filter_up​(int bytesPerScanLine, byte[] sample, int offset)