[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.encoder.StdEntropyCoder.-ctor

StdEntropyCoder Constructor

StdEntropyCoder(CBlkQuantDataSrcEnc, CBlkSizeSpec, PrecinctSizeSpec, StringSpec, StringSpec, StringSpec, StringSpec, StringSpec, StringSpec, StringSpec)

Instantiates a new entropy coder engine, with the specified source of data, nominal block width and height.

       <p>If the 'OPT_PRED_TERM' option is given then the MQ termination must
       be 'TERM_PRED_ER' or an exception is thrown.</p>
Declaration
public StdEntropyCoder(CBlkQuantDataSrcEnc src, CBlkSizeSpec cblks, PrecinctSizeSpec pss, StringSpec bms, StringSpec mqrs, StringSpec rts, StringSpec css, StringSpec sss, StringSpec lcs, StringSpec tts)
Parameters
Type Name Description
CBlkQuantDataSrcEnc src

The source of data

CBlkSizeSpec cblks
PrecinctSizeSpec pss

Precinct partition specifications

StringSpec bms

By-pass mode specifications

StringSpec mqrs

MQ-reset specifications

StringSpec rts

Regular termination specifications

StringSpec css

Causal stripes specifications

StringSpec sss

Error resolution segment symbol use specifications

StringSpec lcs

Length computation specifications

StringSpec tts

Termination type specifications

See Also