C# Class BitMiracle.LibTiff.Classic.Internal.DeflateCodec

Inheritance: CodecWithPredictor
Afficher le fichier Open project: Core-Techs/TiffLibrary Class Usage Examples

Méthodes publiques

Свойство Type Description
m_state int
m_stream ComponentAce.Compression.Libs.zlib.ZStream
m_zipquality int

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Cleanup() public méthode

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
Résultat void

DeflateCodec() public méthode

public DeflateCodec ( Tiff tif, Compression scheme, string name ) : System.Diagnostics
tif Tiff
scheme Compression
name string
Résultat System.Diagnostics

Init() public méthode

public Init ( ) : bool
Résultat bool

PostEncode() public méthode

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
Résultat bool

PreDecode() public méthode

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.
Résultat bool

PreEncode() public méthode

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.
Résultat bool

predictor_decoderow() public méthode

public predictor_decoderow ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
Résultat bool

predictor_decodestrip() public méthode

public predictor_decodestrip ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
Résultat bool

predictor_decodetile() public méthode

public predictor_decodetile ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
Résultat bool

predictor_encoderow() public méthode

public predictor_encoderow ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
Résultat bool

predictor_encodestrip() public méthode

public predictor_encodestrip ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
Résultat bool

predictor_encodetile() public méthode

public predictor_encodetile ( byte buffer, int offset, int count, short plane ) : bool
buffer byte
offset int
count int
plane short
Résultat bool

predictor_setupdecode() public méthode

public predictor_setupdecode ( ) : bool
Résultat bool

predictor_setupencode() public méthode

public predictor_setupencode ( ) : bool
Résultat bool

Property Details

m_state public_oe property

public int m_state
Résultat int

m_stream public_oe property

public ZStream,ComponentAce.Compression.Libs.zlib m_stream
Résultat ComponentAce.Compression.Libs.zlib.ZStream

m_zipquality public_oe property

public int m_zipquality
Résultat int