C# 클래스 FluxJpeg.Core.HuffmanTable

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HUFFMAN_MAX_TABLES int
JPEG_AC_TABLE byte
JPEG_DC_TABLE byte
bitsList List
val List

공개 메소드들

메소드 설명
Decode ( JPEGBinaryReader JPEGStream ) : int

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 ( JpegHuffmanTable table ) : System
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.

메소드 상세

Decode() 공개 메소드

Figure F.16 - Reads the huffman code bit-by-bit.
public Decode ( JPEGBinaryReader JPEGStream ) : int
JPEGStream FluxJpeg.Core.IO.JPEGBinaryReader
리턴 int

Extend() 공개 정적인 메소드

Figure F.12
public static Extend ( int diff, int t ) : int
diff int
t int
리턴 int

FlushBuffer() 공개 메소드

public FlushBuffer ( Stream outStream ) : void
outStream Stream
리턴 void

initHuf() 공개 메소드

Initialisation of the Huffman codes for Luminance and Chrominance. This code results in the same tables created in the IJG Jpeg-6a library.
public initHuf ( ) : void
리턴 void

프로퍼티 상세

HUFFMAN_MAX_TABLES 공개적으로 정적으로 프로퍼티

public static int HUFFMAN_MAX_TABLES
리턴 int

JPEG_AC_TABLE 공개적으로 정적으로 프로퍼티

public static byte JPEG_AC_TABLE
리턴 byte

JPEG_DC_TABLE 공개적으로 정적으로 프로퍼티

public static byte JPEG_DC_TABLE
리턴 byte

bitsList 공개적으로 프로퍼티

public List bitsList
리턴 List

val 공개적으로 프로퍼티

public List val
리턴 List