Package jj2000.j2k.entropy
Interface StdEntropyCoderOptions
- All Known Implementing Classes:
EntropyCoder,FileBitstreamReaderAgent,HeaderDecoder,HeaderEncoder,PktDecoder,StdEntropyCoder,StdEntropyDecoder
public interface StdEntropyCoderOptions
This interface define the constants that identify the possible options for
the entropy coder, as well some fixed parameters of the JPEG 2000 entropy
coder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe index of the first "raw" pass, if bypass mode is on.static final intThe maximum code-block area (width x height).static final intThe maximum code-block dimension.static final intThe minimum code-block dimension.static final intThe number of empty passes in the most significant bit-plane.static final intThe number of most significant bit-planes where bypass mode is not to be used, even if bypass mode is on: 4.static final intThe number of coding passes per bit-plane.static final intThe flag bit to indicate that selective arithmetic coding bypass should be used.static final intThe flag bit to indicate that error resilience info is embedded on MQ termination.static final intThe flag bit to indicate that the MQ states for all contexts should be reset at the end of each non-bypass coding pass.static final intThe flag bit to indicate that a segmentation marker is to be inserted at the end of each normalization coding pass.static final intThe flag bit to indicate that regular termination should be used.static final intThe flag bit to indicate the vertically stripe-causal context formation should be used.static final intThe stripe height.
-
Field Details
-
OPT_BYPASS
static final int OPT_BYPASSThe flag bit to indicate that selective arithmetic coding bypass should be used. In this mode some of the coding passes bypass the arithmetic coder and raw bits are output. If this flag is turned on and the 'OPT_TERM_PASS' one is turned off then the any non-bypass coding pass before a bypass coding pass must use MQ termination.- See Also:
-
OPT_RESET_MQ
static final int OPT_RESET_MQThe flag bit to indicate that the MQ states for all contexts should be reset at the end of each non-bypass coding pass.- See Also:
-
OPT_TERM_PASS
static final int OPT_TERM_PASSThe flag bit to indicate that regular termination should be used. When this is specified termination is performed after each coding pass. Termination is applied to both arithmetically coded and bypass (i.e. raw) passes .- See Also:
-
OPT_VERT_STR_CAUSAL
static final int OPT_VERT_STR_CAUSALThe flag bit to indicate the vertically stripe-causal context formation should be used.- See Also:
-
OPT_PRED_TERM
static final int OPT_PRED_TERMThe flag bit to indicate that error resilience info is embedded on MQ termination. The predictable error-resilient MQ termination at the encoder is necessary in this case.- See Also:
-
OPT_SEG_SYMBOLS
static final int OPT_SEG_SYMBOLSThe flag bit to indicate that a segmentation marker is to be inserted at the end of each normalization coding pass. The segment marker is the four symbol sequence 1010 that are sent through the MQ coder using the UNIFORM context.- See Also:
-
MIN_CB_DIM
static final int MIN_CB_DIMThe minimum code-block dimension. The nominal width or height of a code-block must never be less than this. It is 4.- See Also:
-
MAX_CB_DIM
static final int MAX_CB_DIMThe maximum code-block dimension. No code-block should be larger, either in width or height, than this value. It is 1024.- See Also:
-
MAX_CB_AREA
static final int MAX_CB_AREAThe maximum code-block area (width x height). The surface covered by a nominal size block should never be larger than this. It is 4096- See Also:
-
STRIPE_HEIGHT
static final int STRIPE_HEIGHTThe stripe height. This is the nominal value of the stripe height. It is 4.- See Also:
-
NUM_PASSES
static final int NUM_PASSESThe number of coding passes per bit-plane. This is the number of passes per bit-plane. It is 3.- See Also:
-
NUM_NON_BYPASS_MS_BP
static final int NUM_NON_BYPASS_MS_BPThe number of most significant bit-planes where bypass mode is not to be used, even if bypass mode is on: 4.- See Also:
-
NUM_EMPTY_PASSES_IN_MS_BP
static final int NUM_EMPTY_PASSES_IN_MS_BPThe number of empty passes in the most significant bit-plane. It is 2.- See Also:
-
FIRST_BYPASS_PASS_IDX
static final int FIRST_BYPASS_PASS_IDXThe index of the first "raw" pass, if bypass mode is on.- See Also:
-