C# Class BitMiracle.LibJpeg.Classic.jpeg_common_struct

Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
AllocJpegSamples ( int samplesPerRow, int numberOfRows ) : byte[][]

Creates 2-D sample array.

CreateBlocksArray ( int blocksPerRow, int numberOfRows ) : jvirt_array

Creates the array of blocks.

CreateSamplesArray ( int samplesPerRow, int numberOfRows ) : jvirt_array

Creates the array of samples.

ERREXIT ( J_MESSAGE_CODE code ) : void

Used for fatal errors (print message and exit).

ERREXIT ( int code ) : void

Used for fatal errors (print message and exit).

TRACEMS ( int lvl, J_MESSAGE_CODE code ) : void

Shows informational and debugging messages.

TRACEMS ( int lvl, int code ) : void

Shows informational and debugging messages.

WARNMS ( J_MESSAGE_CODE code ) : void

Used for non-fatal errors (we can keep going, but the data is probably corrupt).

WARNMS ( int code ) : void

Used for non-fatal errors (we can keep going, but the data is probably corrupt).

jpeg_abort ( ) : void

Abort processing of a JPEG compression or decompression operation, but don't destroy the object itself. Closing a data source or destination, if necessary, is the application's responsibility.

jpeg_common_struct ( ) : System

Base constructor.

jpeg_common_struct ( jpeg_error_mgr errorManager ) : System

Base constructor.

jpeg_destroy ( ) : void

Destruction of a JPEG object. Closing a data source or destination, if necessary, is the application's responsibility.

Private Methods

Method Description
allocJpegBlocks ( int blocksPerRow, int numberOfRows ) : BitMiracle.LibJpeg.Classic.JBLOCK[][]

Method Details

AllocJpegSamples() public static method

Creates 2-D sample array.
public static AllocJpegSamples ( int samplesPerRow, int numberOfRows ) : byte[][]
samplesPerRow int The number of samples per row.
numberOfRows int The number of rows.
return byte[][]

CreateBlocksArray() public static method

Creates the array of blocks.
public static CreateBlocksArray ( int blocksPerRow, int numberOfRows ) : jvirt_array
blocksPerRow int The number of blocks in row.
numberOfRows int The number of rows.
return jvirt_array

CreateSamplesArray() public static method

Creates the array of samples.
public static CreateSamplesArray ( int samplesPerRow, int numberOfRows ) : jvirt_array
samplesPerRow int The number of samples in row.
numberOfRows int The number of rows.
return jvirt_array

ERREXIT() public method

Used for fatal errors (print message and exit).
public ERREXIT ( J_MESSAGE_CODE code ) : void
code J_MESSAGE_CODE The message code.
return void

ERREXIT() public method

Used for fatal errors (print message and exit).
public ERREXIT ( int code ) : void
code int The message code.
return void

TRACEMS() public method

Shows informational and debugging messages.
public TRACEMS ( int lvl, J_MESSAGE_CODE code ) : void
lvl int See for description.
code J_MESSAGE_CODE The message code.
return void

TRACEMS() public method

Shows informational and debugging messages.
public TRACEMS ( int lvl, int code ) : void
lvl int See for description.
code int The message code.
return void

WARNMS() public method

Used for non-fatal errors (we can keep going, but the data is probably corrupt).
public WARNMS ( J_MESSAGE_CODE code ) : void
code J_MESSAGE_CODE The message code.
return void

WARNMS() public method

Used for non-fatal errors (we can keep going, but the data is probably corrupt).
public WARNMS ( int code ) : void
code int The message code.
return void

jpeg_abort() public method

Abort processing of a JPEG compression or decompression operation, but don't destroy the object itself. Closing a data source or destination, if necessary, is the application's responsibility.
public jpeg_abort ( ) : void
return void

jpeg_common_struct() public method

Base constructor.
public jpeg_common_struct ( ) : System
return System

jpeg_common_struct() public method

Base constructor.
public jpeg_common_struct ( jpeg_error_mgr errorManager ) : System
errorManager jpeg_error_mgr The error manager.
return System

jpeg_destroy() public method

Destruction of a JPEG object. Closing a data source or destination, if necessary, is the application's responsibility.
public jpeg_destroy ( ) : void
return void