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 |
static int |
FIRST_BYPASS_PASS_IDX
The index of the first "raw" pass, if bypass mode is on. |
static int |
MAX_CB_AREA
The maximum code-block area (width x height). |
static int |
MAX_CB_DIM
The maximum code-block dimension. |
static int |
MIN_CB_DIM
The minimum code-block dimension. |
static int |
NUM_EMPTY_PASSES_IN_MS_BP
The number of empty passes in the most significant bit-plane. |
static int |
NUM_NON_BYPASS_MS_BP
The number of most significant bit-planes where bypass mode is not to
be used, even if bypass mode is on: 4. |
static int |
NUM_PASSES
The number of coding passes per bit-plane. |
static int |
OPT_BYPASS
The flag bit to indicate that selective arithmetic coding bypass
should be used. |
static int |
OPT_PRED_TERM
The flag bit to indicate that error resilience info is embedded on MQ
termination. |
static int |
OPT_RESET_MQ
The flag bit to indicate that the MQ states for all contexts should be
reset at the end of each (non-bypassed) coding pass. |
static int |
OPT_SEG_SYMBOLS
The flag bit to indicate that an error resilience segmentation symbol
is to be inserted at the end of each cleanup coding pass. |
static int |
OPT_TERM_PASS
The flag bit to indicate that a termination should be performed after
each coding pass. |
static int |
OPT_VERT_STR_CAUSAL
The flag bit to indicate the vertically stripe-causal context
formation should be used. |
static int |
STRIPE_HEIGHT
The stripe height. |
OPT_BYPASS
public static final int OPT_BYPASS
- The flag bit to indicate that selective arithmetic coding bypass
should be used. In this mode, the significance propagation and
magnitude refinement passes bypass the arithmetic encoder in the fourth
bit-plane and latter ones (but not the cleanup pass). Note that the
transition between raw and AC segments needs terminations (whether or
not OPT_TERM_PASS is used).
- See Also:
- Constant Field Values
OPT_RESET_MQ
public static final int OPT_RESET_MQ
- The flag bit to indicate that the MQ states for all contexts should be
reset at the end of each (non-bypassed) coding pass.
- See Also:
- Constant Field Values
OPT_TERM_PASS
public static final int OPT_TERM_PASS
- The flag bit to indicate that a termination should be performed after
each coding pass. Note that terminations are applied to both * *
arithmetically coded and bypassed (i.e. raw) passes .
- See Also:
- Constant Field Values
OPT_VERT_STR_CAUSAL
public static final int OPT_VERT_STR_CAUSAL
- The flag bit to indicate the vertically stripe-causal context
formation should be used.
- See Also:
- Constant Field Values
OPT_PRED_TERM
public static final int OPT_PRED_TERM
- The flag bit to indicate that error resilience info is embedded on MQ
termination. This corresponds to the predictable termination described
in Annex D.4.2 of the FDIS
- See Also:
- Constant Field Values
OPT_SEG_SYMBOLS
public static final int OPT_SEG_SYMBOLS
- The flag bit to indicate that an error resilience segmentation symbol
is to be inserted at the end of each cleanup coding pass. The
segmentation symbol is the four symbol sequence 1010 that are sent
through the MQ coder using the UNIFORM context (as explained in annex
D.5 of FDIS).
- See Also:
- Constant Field Values
MIN_CB_DIM
public static final int MIN_CB_DIM
- The minimum code-block dimension. The nominal width or height of a
code-block must never be less than this. It is 4.
- See Also:
- Constant Field Values
MAX_CB_DIM
public static final int MAX_CB_DIM
- The maximum code-block dimension. No code-block should be larger,
either in width or height, than this value. It is 1024.
- See Also:
- Constant Field Values
MAX_CB_AREA
public static final int MAX_CB_AREA
- The 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:
- Constant Field Values
STRIPE_HEIGHT
public static final int STRIPE_HEIGHT
- The stripe height. This is the nominal value of the stripe height. It
is 4.
- See Also:
- Constant Field Values
NUM_PASSES
public static final int NUM_PASSES
- The number of coding passes per bit-plane. This is the number of
passes per bit-plane. It is 3.
- See Also:
- Constant Field Values
NUM_NON_BYPASS_MS_BP
public static final int NUM_NON_BYPASS_MS_BP
- The number of most significant bit-planes where bypass mode is not to
be used, even if bypass mode is on: 4.
- See Also:
- Constant Field Values
NUM_EMPTY_PASSES_IN_MS_BP
public static final int NUM_EMPTY_PASSES_IN_MS_BP
- The number of empty passes in the most significant bit-plane. It is
2.
- See Also:
- Constant Field Values
FIRST_BYPASS_PASS_IDX
public static final int FIRST_BYPASS_PASS_IDX
- The index of the first "raw" pass, if bypass mode is on.
- See Also:
- Constant Field Values