Class DCT


public class DCT extends Filter
DCT
  • Field Details

    • vp8_short_fdct8x4

      public static final DCT.TRANSFORM vp8_short_fdct8x4
    • vp8_short_fdct4x4

      public static final DCT.TRANSFORM vp8_short_fdct4x4
    • vp8_short_walsh4x4

      public static final DCT.TRANSFORM vp8_short_walsh4x4
  • Constructor Details

  • Method Details

    • IDCTQ12

      public static void IDCTQ12(com.idrsolutions.image.jpeg.data.Component component, int offset)
    • IDCTQ

      public static void IDCTQ(com.idrsolutions.image.jpeg.data.Component component, int offset, int[] p)
    • IDCTQInts

      public static void IDCTQInts(com.idrsolutions.image.jpeg.data.Component component, int[] p)
    • decode

      public byte[] decode(byte[] data) throws Exception
      DCT decode using our own implementation
      Specified by:
      decode in class Filter
      Parameters:
      data - byte[] to decode
      Returns:
      byte[] of decoded data
      Throws:
      Exception
    • decode

      public void decode(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String,String> cachedObjects) throws Exception
      DCT decode using our own implementation
      Specified by:
      decode in class Filter
      Parameters:
      bis - BufferedInputStream to decode
      streamCache - BufferedOutputStream of decoded data
      cacheName - Name of cache object
      cachedObjects - Map of cache objects
      Throws:
      Exception
    • encode

      public byte[] encode(byte[] data)
      DCT encoding is currently unsupported
      Specified by:
      encode in class Filter
    • encode

      public void encode(BufferedInputStream bis, BufferedOutputStream bos) throws Exception
      DCT encoding is currently unsupported
      Specified by:
      encode in class Filter
      Throws:
      Exception