Name | Description | |
---|---|---|
MQDecoder Constructor | Instantiates a new MQ-decoder, with the specified number of contexts and initial states. The compressed bytestream is read from the 'iStream' object. |
The following tables list the members exposed by MQDecoder.
Name | Description | |
---|---|---|
MQDecoder Constructor | Instantiates a new MQ-decoder, with the specified number of contexts and initial states. The compressed bytestream is read from the 'iStream' object. |
Name | Description | |
---|---|---|
ByteInputBuffer | Returns the underlying 'ByteInputBuffer' from where the MQ coded input bytes are read. | |
NumCtxts | Returns the number of contexts in the arithmetic coder. |
Name | Description | |
---|---|---|
checkPredTerm | Checks for past errors in the decoding process using the predictable error resilient termination. This works only if the encoder used the predictable error resilient MQ termination, otherwise it reports wrong results. If an error is detected it means that the MQ bit stream has been wrongly decoded or that the MQ terminated segment length is too long. If no errors are detected it does not necessarily mean that the MQ bit stream has been correctly decoded. | |
decodeSymbol | ||
decodeSymbols | ||
nextSegment | Resets the MQ decoder to start a new segment. This is like recreating a new MQDecoder object with new input data. | |
resetCtxt | Resets a context to the original probability distribution. | |
resetCtxts | Resets a context to the original probability distribution. The original probability distribution depends on the actual implementation of the arithmetic coder or decoder. |