C# 클래스 BitMiracle.LibTiff.Classic.Internal.DeflateCodec

상속: CodecWithPredictor
파일 보기 프로젝트 열기: Core-Techs/TiffLibrary 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_state int
m_stream ComponentAce.Compression.Libs.zlib.ZStream
m_zipquality int

공개 메소드들

메소드 설명
Cleanup ( ) : void

Cleanups the state of the codec.

Cleanup is called when codec is no longer needed (won't be used) and can be used for example to restore tag methods that were substituted.

DeflateCodec ( Tiff tif, Compression scheme, string name ) : System.Diagnostics
Init ( ) : bool
PostEncode ( ) : bool

Performs any actions after encoding required by the codec.

PostEncode is called after encoding and can be used to release any external resources needed during encoding.

PreDecode ( short plane ) : bool

Prepares the decoder part of the codec for a decoding.

PreDecode is called after TiffCodec.SetupDecode and before decoding.

PreEncode ( short plane ) : bool

Prepares the encoder part of the codec for a encoding.

PreEncode is called after TiffCodec.SetupEncode and before encoding.

predictor_decoderow ( byte buffer, int offset, int count, short plane ) : bool
predictor_decodestrip ( byte buffer, int offset, int count, short plane ) : bool
predictor_decodetile ( byte buffer, int offset, int count, short plane ) : bool
predictor_encoderow ( byte buffer, int offset, int count, short plane ) : bool
predictor_encodestrip ( byte buffer, int offset, int count, short plane ) : bool
predictor_encodetile ( byte buffer, int offset, int count, short plane ) : bool
predictor_setupdecode ( ) : bool
predictor_setupencode ( ) : bool

비공개 메소드들

메소드 설명
ZIPCleanup ( ) : void
ZIPDecode ( byte buffer, int offset, int count, short plane ) : bool
ZIPEncode ( byte buffer, int offset, int count, short plane ) : bool

Encode a chunk of pixels.

ZIPPostEncode ( ) : bool
ZIPPreDecode ( short s ) : bool
ZIPPreEncode ( short s ) : bool
ZIPSetupDecode ( ) : bool
ZIPSetupEncode ( ) : bool

메소드 상세

Cleanup() 공개 메소드

Cleanups the state of the codec.
Cleanup is called when codec is no longer needed (won't be used) and can be used for example to restore tag methods that were substituted.
public Cleanup ( ) : void
리턴 void

DeflateCodec() 공개 메소드

public DeflateCodec ( Tiff tif, Compression scheme, string name ) : System.Diagnostics
tif Tiff
scheme Compression
name string
리턴 System.Diagnostics

Init() 공개 메소드

public Init ( ) : bool
리턴 bool

PostEncode() 공개 메소드

Performs any actions after encoding required by the codec.
PostEncode is called after encoding and can be used to release any external resources needed during encoding.
public PostEncode ( ) : bool
리턴 bool

PreDecode() 공개 메소드

Prepares the decoder part of the codec for a decoding.
PreDecode is called after TiffCodec.SetupDecode and before decoding.
public PreDecode ( short plane ) : bool
plane short The zero-based sample plane index.
리턴 bool

PreEncode() 공개 메소드

Prepares the encoder part of the codec for a encoding.
PreEncode is called after TiffCodec.SetupEncode and before encoding.
public PreEncode ( short plane ) : bool
plane short The zero-based sample plane index.
리턴 bool

predictor_decoderow() 공개 메소드

public predictor_decoderow ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
리턴 bool

predictor_decodestrip() 공개 메소드

public predictor_decodestrip ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
리턴 bool

predictor_decodetile() 공개 메소드

public predictor_decodetile ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
리턴 bool

predictor_encoderow() 공개 메소드

public predictor_encoderow ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
리턴 bool

predictor_encodestrip() 공개 메소드

public predictor_encodestrip ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
리턴 bool

predictor_encodetile() 공개 메소드

public predictor_encodetile ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
리턴 bool

predictor_setupdecode() 공개 메소드

public predictor_setupdecode ( ) : bool
리턴 bool

predictor_setupencode() 공개 메소드

public predictor_setupencode ( ) : bool
리턴 bool

프로퍼티 상세

m_state 공개적으로 프로퍼티

public int m_state
리턴 int

m_stream 공개적으로 프로퍼티

public ZStream,ComponentAce.Compression.Libs.zlib m_stream
리턴 ComponentAce.Compression.Libs.zlib.ZStream

m_zipquality 공개적으로 프로퍼티

public int m_zipquality
리턴 int