C# Класс BitMiracle.LibTiff.Classic.Internal.DeflateCodec

Наследование: CodecWithPredictor
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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