C# Class CSJ2K.j2k.entropy.ProgressionSpec

This class extends ModuleSpec class for progression type(s) and progression order changes holding purposes.

It stores the progression type(s) used in the codestream. There can be several progression type(s) if progression order changes are used (POC markers).

Inheritance: CSJ2K.j2k.ModuleSpec
Show file Open project: cureos/csj2k

Public Methods

Method Description
ProgressionSpec ( int nt, int nc, byte type ) : System

Creates a new ProgressionSpec object for the specified number of tiles and components.

ProgressionSpec ( int nt, int nc, int nl, IntegerSpec dls, byte type, CSJ2K.j2k.util.ParameterList pl ) : System

Creates a new ProgressionSpec object for the specified number of tiles, components and the ParameterList instance.

Private Methods

Method Description
checkProgMode ( System mode ) : int

Check if the progression mode exists and if so, return its integer value. It returns -1 otherwise.

Method Details

ProgressionSpec() public method

Creates a new ProgressionSpec object for the specified number of tiles and components.
public ProgressionSpec ( int nt, int nc, byte type ) : System
nt int The number of tiles /// ///
nc int The number of components /// ///
type byte the type of the specification module i.e. tile specific, /// component specific or both. The ProgressionSpec class should only be /// used only with the type ModuleSpec.SPEC_TYPE_TILE. /// ///
return System

ProgressionSpec() public method

Creates a new ProgressionSpec object for the specified number of tiles, components and the ParameterList instance.
public ProgressionSpec ( int nt, int nc, int nl, IntegerSpec dls, byte type, CSJ2K.j2k.util.ParameterList pl ) : System
nt int The number of tiles /// ///
nc int The number of components /// ///
nl int The number of layer /// ///
dls CSJ2K.j2k.IntegerSpec The number of decomposition levels specifications /// ///
type byte the type of the specification module. The ProgressionSpec /// class should only be used only with the type ModuleSpec.SPEC_TYPE_TILE. /// ///
pl CSJ2K.j2k.util.ParameterList The ParameterList instance /// ///
return System