Class HuffmanTable

java.lang.Object
com.twelvemonkeys.imageio.plugins.jpeg.Segment
com.twelvemonkeys.imageio.plugins.jpeg.HuffmanTable

final class HuffmanTable extends Segment
  • Field Details

    • l

      private final short[][][] l
    • v

      private final short[][][][] v
    • tc

      private final boolean[][] tc
    • MSB

      private static final int MSB
      See Also:
  • Constructor Details

    • HuffmanTable

      private HuffmanTable()
  • Method Details

    • buildHuffTables

      void buildHuffTables(int[][][] huffTab) throws IOException
      Throws:
      IOException
    • buildHuffTable

      private void buildHuffTable(int[] tab, short[] L, short[][] V) throws IOException
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • read

      public static Segment read(DataInput data, int length) throws IOException
      Throws:
      IOException
    • isPresent

      public boolean isPresent(int tableId, int tableClass)
    • lengths

      private short[] lengths(int tableId, int tableClass)
    • tables

      private short[] tables(int tableId, int tableClass)
    • toNativeTable

      JPEGHuffmanTable toNativeTable(int tableId, int tableClass)