ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy.decoder Namespace / MQDecoder Class
Properties Methods


In This Topic
    MQDecoder Class Members
    In This Topic

    The following tables list the members exposed by MQDecoder.

    Public Constructors
     NameDescription
    Public ConstructorInstantiates a new MQ-decoder, with the specified number of contexts and initial states. The compressed bytestream is read from the 'iStream' object.  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the underlying 'ByteInputBuffer' from where the MQ coded input bytes are read.  
    Public PropertyReturns the number of contexts in the arithmetic coder.  
    Top
    Public Methods
     NameDescription
    Public MethodChecks 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.  
    Public Method  
    Public Method  
    Public MethodResets the MQ decoder to start a new segment. This is like recreating a new MQDecoder object with new input data.  
    Public MethodResets a context to the original probability distribution.  
    Public MethodResets a context to the original probability distribution. The original probability distribution depends on the actual implementation of the arithmetic coder or decoder.  
    Top
    See Also