Available in LEADTOOLS Medical Imaging toolkits. |
CODBLOCKSTYLE
typedef struct _CodBlockStyle
{
L_BITFIELD bSelective_AC_Bypass;
L_BITFIELD bResetContextOnBoundaries;
L_BITFIELD bTerminationOnEachPass;
L_BITFIELD bVerticallyCausalContext;
L_BITFIELD bPredictableTermination;
L_BITFIELD bErrorResilienceSymbol;
L_BITFIELD bReserved6:26;
} CodBlockStyle;
The CODBLOCKSTYLE structure provides a series of bit flags that indicate the behavior of the code blocks.
Member |
Description |
bSelective_AC_Bypass |
TRUE if the "lazy coding mode" is adopted. In this case, trailing bit-planes bypass the arithmetic coder except in the normalization pass. Otherwise, the arithmetic coder is used on all passes. |
bResetContextOnBoundaries |
TRUE if the arithmetic coder's probability models are reset between coding passes. This controls where the end of encoded data is and limits the amount of potentially lost data in the event of a transmission error. |
bTerminationOnEachPass |
TRUE if the arithmetic code-word generation process stops on a byte boundary at the end of each coding pass. |
bVerticallyCausalContext |
TRUE if the context models are restricted to being vertically causal within each sub-block. |
bPredictableTermination |
TRUE if the encoder has a predictable termination policy and identifies that the policy was used in the code-stream COD/COC markers. This can be used to implement error detection and concealment. |
bErrorResilienceSymbol |
TRUE if a 4 symbol marker is included for each bit-plane, following the normalization pass. |
bReserved6:26 |
Reserved for future use. |