JIU 0.14.3

net.sourceforge.jiu.codecs.jpeg
Class JPEGHuffmanTable

java.lang.Object
  extended by net.sourceforge.jiu.codecs.jpeg.JPEGHuffmanTable

public class JPEGHuffmanTable
extends Object

Data class that stores a single Huffman table, including class (AC or DC), ID and codes for the 16 possible bit lengths from 1 to 16.

Since:
0.13.0
Author:
Marco Schmidt

Field Summary
static int TABLE_CLASS_AC
           
static int TABLE_CLASS_DC
           
 
Constructor Summary
JPEGHuffmanTable()
           
 
Method Summary
 void createDecoderTables()
           
 int getClassAcDc()
           
 int[][] getCodes()
           
 int getId()
           
 void setClassAcDc(int i)
           
 void setCodes(int[][] is)
           
 void setId(int i)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TABLE_CLASS_AC

public static final int TABLE_CLASS_AC
See Also:
Constant Field Values

TABLE_CLASS_DC

public static final int TABLE_CLASS_DC
See Also:
Constant Field Values
Constructor Detail

JPEGHuffmanTable

public JPEGHuffmanTable()
Method Detail

createDecoderTables

public void createDecoderTables()

getClassAcDc

public int getClassAcDc()

getCodes

public int[][] getCodes()

getId

public int getId()

setClassAcDc

public void setClassAcDc(int i)

setCodes

public void setCodes(int[][] is)

setId

public void setId(int i)

toString

public String toString()
Overrides:
toString in class Object

JIU 0.14.3

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Marco Schmidt