Method | 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. |
|
DecodeRow ( byte buffer, int offset, int count, short plane ) : bool |
Decodes one row of image data.
|
|
DecodeStrip ( byte buffer, int offset, int count, short plane ) : bool |
Decodes one strip of image data.
|
|
DecodeTile ( byte buffer, int offset, int count, short plane ) : bool |
Decodes one tile of image data.
|
|
EncodeRow ( byte buffer, int offset, int count, short plane ) : bool |
Encodes one row of image data.
|
|
EncodeStrip ( byte buffer, int offset, int count, short plane ) : bool |
Encodes one strip of image data.
|
|
EncodeTile ( byte buffer, int offset, int count, short plane ) : bool |
Encodes one tile of image data.
|
|
GetTiff ( ) : Tiff | ||
Init ( ) : bool | ||
OJPEGReadBlock ( ushort len, byte mem, int offset ) : bool | ||
OJPEGReadBytePeek ( byte &b ) : bool | ||
OJPEGSubsamplingCorrect ( ) : void | ||
OJpegCodec ( Tiff tif, Compression scheme, string name ) : System | ||
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 SetupDecode and before decoding. |
|
PreEncode ( short plane ) : bool |
Prepares the encoder part of the codec for a encoding. PreEncode is called after SetupEncode and before encoding. |
|
SetupDecode ( ) : bool |
Setups the decoder part of the codec. SetupDecode is called once before PreDecode. |
|
SetupEncode ( ) : bool |
Setups the encoder part of the codec. SetupEncode is called once before PreEncode. |
Method | Description | |
---|---|---|
ForceProcessedRgbOutput ( bool force ) : void | ||
OJPEGCleanup ( ) : void | ||
OJPEGDecode ( byte buf, int offset, int cc, short s ) : bool | ||
OJPEGDecodeRaw ( byte buf, int offset, int cc ) : bool | ||
OJPEGDecodeScanlines ( byte buf, int offset, int cc ) : bool | ||
OJPEGLibjpegSessionAbort ( ) : void | ||
OJPEGPreDecode ( short s ) : bool | ||
OJPEGPreDecodeSkipRaw ( ) : bool | ||
OJPEGPreDecodeSkipScanlines ( ) : bool | ||
OJPEGReadBufferFill ( ) : bool | ||
OJPEGReadByte ( byte &b ) : bool | ||
OJPEGReadByteAdvance ( ) : void | ||
OJPEGReadHeaderInfo ( ) : bool | ||
OJPEGReadHeaderInfoSec ( ) : bool | ||
OJPEGReadHeaderInfoSecStreamDht ( ) : bool | ||
OJPEGReadHeaderInfoSecStreamDqt ( ) : bool | ||
OJPEGReadHeaderInfoSecStreamDri ( ) : bool | ||
OJPEGReadHeaderInfoSecStreamSof ( byte marker_id ) : bool | ||
OJPEGReadHeaderInfoSecStreamSos ( ) : bool | ||
OJPEGReadHeaderInfoSecTablesAcTable ( ) : bool | ||
OJPEGReadHeaderInfoSecTablesDcTable ( ) : bool | ||
OJPEGReadHeaderInfoSecTablesQTable ( ) : bool | ||
OJPEGReadSecondarySos ( short s ) : bool | ||
OJPEGReadSkip ( ushort len ) : void | ||
OJPEGReadWord ( ushort &word ) : bool | ||
OJPEGSetupDecode ( ) : bool | ||
OJPEGWriteHeaderInfo ( ) : bool | ||
OJPEGWriteStream ( byte &mem, uint &len ) : bool | ||
OJPEGWriteStreamAcTable ( byte table_index, byte &mem, uint &len ) : void | ||
OJPEGWriteStreamCompressed ( byte &mem, uint &len ) : bool | ||
OJPEGWriteStreamDcTable ( byte table_index, byte &mem, uint &len ) : void | ||
OJPEGWriteStreamDri ( byte &mem, uint &len ) : void | ||
OJPEGWriteStreamEoi ( byte &mem, uint &len ) : void | ||
OJPEGWriteStreamQTable ( byte table_index, byte &mem, uint &len ) : void | ||
OJPEGWriteStreamRst ( byte &mem, uint &len ) : void | ||
OJPEGWriteStreamSof ( byte &mem, uint &len ) : void | ||
OJPEGWriteStreamSoi ( byte &mem, uint &len ) : void | ||
OJPEGWriteStreamSos ( byte &mem, uint &len ) : void | ||
OJpegEncodeIsUnsupported ( ) : bool | ||
cleanState ( ) : void | ||
jpeg_create_decompress_encap ( ) : bool | ||
jpeg_read_header_encap ( bool require_image ) : ReadResult | ||
jpeg_read_raw_data_encap ( int max_lines ) : int | ||
jpeg_read_scanlines_encap ( byte scanlines, int max_lines ) : int | ||
jpeg_start_decompress_encap ( ) : bool |
public DecodeRow ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer to place decoded image data to. |
offset | int | The zero-based byte offset in |
count | int | The number of decoded bytes that should be placed
/// to |
plane | short | The zero-based sample plane index. |
return | bool |
public DecodeStrip ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer to place decoded image data to. |
offset | int | The zero-based byte offset in |
count | int | The number of decoded bytes that should be placed
/// to |
plane | short | The zero-based sample plane index. |
return | bool |
public DecodeTile ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer to place decoded image data to. |
offset | int | The zero-based byte offset in |
count | int | The number of decoded bytes that should be placed
/// to |
plane | short | The zero-based sample plane index. |
return | bool |
public EncodeRow ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer with image data to be encoded. |
offset | int | The zero-based byte offset in |
count | int | The maximum number of encoded bytes that can be placed
/// to |
plane | short | The zero-based sample plane index. |
return | bool |
public EncodeStrip ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer with image data to be encoded. |
offset | int | The zero-based byte offset in |
count | int | The maximum number of encoded bytes that can be placed
/// to |
plane | short | The zero-based sample plane index. |
return | bool |
public EncodeTile ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer with image data to be encoded. |
offset | int | The zero-based byte offset in |
count | int | The maximum number of encoded bytes that can be placed
/// to |
plane | short | The zero-based sample plane index. |
return | bool |
public OJPEGReadBlock ( ushort len, byte mem, int offset ) : bool | ||
len | ushort | |
mem | byte | |
offset | int | |
return | bool |
public OJpegCodec ( Tiff tif, Compression scheme, string name ) : System | ||
tif | Tiff | |
scheme | Compression | |
name | string | |
return | System |
public PreDecode ( short plane ) : bool | ||
plane | short | The zero-based sample plane index. |
return | bool |
public PreEncode ( short plane ) : bool | ||
plane | short | The zero-based sample plane index. |
return | bool |