C# 클래스 Plupload.PngEncoder.DeflaterHuffman.Tree

파일 보기 프로젝트 열기: akoch-ov/dipstart-development

공개 프로퍼티들

프로퍼티 타입 설명
freqs short[]
length byte[]
minNumCodes int
numCodes int

공개 메소드들

메소드 설명
BuildCodes ( ) : void

Build dynamic codes and lengths

BuildLength ( int childs ) : void
BuildTree ( ) : void
CalcBLFreq ( Tree blTree ) : void

Scan a literal or distance tree to determine the frequencies of the codes in the bit length tree.

CheckEmpty ( ) : void

Check that all frequencies are zero

GetEncodedLength ( ) : int

Get encoded length

Reset ( ) : void

Resets the internal state of the tree

SetStaticCodes ( short staticCodes, byte staticLengths ) : void

Set static codes and length

Tree ( DeflaterHuffman dh, int elems, int minCodes, int maxLength ) : System
WriteSymbol ( int code ) : void
WriteTree ( Tree blTree ) : void

Write tree values

메소드 상세

BuildCodes() 공개 메소드

Build dynamic codes and lengths
public BuildCodes ( ) : void
리턴 void

BuildLength() 공개 메소드

public BuildLength ( int childs ) : void
childs int
리턴 void

BuildTree() 공개 메소드

public BuildTree ( ) : void
리턴 void

CalcBLFreq() 공개 메소드

Scan a literal or distance tree to determine the frequencies of the codes in the bit length tree.
public CalcBLFreq ( Tree blTree ) : void
blTree Tree
리턴 void

CheckEmpty() 공개 메소드

Check that all frequencies are zero
/// At least one frequency is non-zero ///
public CheckEmpty ( ) : void
리턴 void

GetEncodedLength() 공개 메소드

Get encoded length
public GetEncodedLength ( ) : int
리턴 int

Reset() 공개 메소드

Resets the internal state of the tree
public Reset ( ) : void
리턴 void

SetStaticCodes() 공개 메소드

Set static codes and length
public SetStaticCodes ( short staticCodes, byte staticLengths ) : void
staticCodes short new codes
staticLengths byte length for new codes
리턴 void

Tree() 공개 메소드

public Tree ( DeflaterHuffman dh, int elems, int minCodes, int maxLength ) : System
dh DeflaterHuffman
elems int
minCodes int
maxLength int
리턴 System

WriteSymbol() 공개 메소드

public WriteSymbol ( int code ) : void
code int
리턴 void

WriteTree() 공개 메소드

Write tree values
public WriteTree ( Tree blTree ) : void
blTree Tree Tree to write
리턴 void

프로퍼티 상세

freqs 공개적으로 프로퍼티

public short[] freqs
리턴 short[]

length 공개적으로 프로퍼티

public byte[] length
리턴 byte[]

minNumCodes 공개적으로 프로퍼티

public int minNumCodes
리턴 int

numCodes 공개적으로 프로퍼티

public int numCodes
리턴 int