|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.image.codec.jpeg.JPEGHuffmanTable
Note that the classes in the com.sun.image.codec.jpeg package are not part of the core Java APIs. They are a part of Sun's JDK and JRE distributions. Although other licensees may choose to distribute these classes, developers cannot depend on their availability in non-Sun implementations. We expect that equivalent functionality will eventually be available in a core API or standard extension.
Field Summary | |
static JPEGHuffmanTable | StdACChrominance
Standard Huffman table ( JPEG standard section K.3 ) |
static JPEGHuffmanTable | StdACLuminance
Standard Huffman table ( JPEG standard section K.3 ) |
static JPEGHuffmanTable | StdDCChrominance
Standard Huffman table ( JPEG standard section K.3 ) |
static JPEGHuffmanTable | StdDCLuminance
Standard Huffman table ( JPEG standard section K.3 ) |
Constructor Summary | |
JPEGHuffmanTable(short[] lengths,
short[] symbols)
Creates a Huffman Table and initializes it. |
Method Summary | |
short[] | getLengths()
Return a copy of the array containing the number of symbols for each length in the Huffman table. |
short[] | getSymbols()
Return an array containing the Huffman symbols arranged by increasing length. |
Methods inherited from class java.lang.Object | |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Field Detail |
public static final JPEGHuffmanTable StdDCLuminance
public static final JPEGHuffmanTable StdDCChrominance
public static final JPEGHuffmanTable StdACLuminance
public static final JPEGHuffmanTable StdACChrominance
Constructor Detail |
public JPEGHuffmanTable(short[] lengths, short[] symbols)
lengths
- lengths[k] = # of symbols with codes of length k
bits; lengths[0] is ignored
symbols
- symbols in order of increasing code lengthMethod Detail |
public short[] getLengths()
public short[] getSymbols()
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |