프로퍼티 | 타입 | 설명 | |
---|---|---|---|
HUFFMAN_MAX_TABLES | int | ||
JPEG_AC_TABLE | byte | ||
JPEG_DC_TABLE | byte | ||
bitsList | List |
||
val | List |
메소드 | 설명 | |
---|---|---|
Decode ( |
Figure F.16 - Reads the huffman code bit-by-bit.
|
|
Extend ( int diff, int t ) : int |
Figure F.12
|
|
FlushBuffer ( Stream outStream ) : void | ||
initHuf ( ) : void |
Initialisation of the Huffman codes for Luminance and Chrominance. This code results in the same tables created in the IJG Jpeg-6a library.
|
메소드 | 설명 | |
---|---|---|
GenerateCodeTable ( ) : void |
See Figure C.2
|
|
GenerateDecoderTables ( ) : void |
See figure F.15
|
|
GenerateSizeTable ( ) : void |
See Figure C.1
|
|
HuffmanBlockEncoder ( Stream outStream, int zigzag, int prec, int DCcode, int ACcode ) : void |
HuffmanBlockEncoder run length encodes and Huffman encodes the quantized data.
|
|
HuffmanTable ( |
||
bufferIt ( Stream outStream, int code, int size ) : void |
Uses an integer long (32 bits) buffer to store the Huffman encoded bits and sends them to outStream by the byte.
|
public Decode ( |
||
JPEGStream | ||
리턴 | int |