ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / PktDecoder Class
Methods


In This Topic
    PktDecoder Class Members
    In This Topic

    The following tables list the members exposed by PktDecoder.

    Public Constructors
     NameDescription
    Public ConstructorCreates an empty PktDecoder object associated with given decoder specifications and HeaderDecoder. This object must be initialized thanks to the restart method before being used.  
    Top
    Public Methods
     NameDescription
    Public MethodGets the number of precincts in a given component and resolution level.  
    Public MethodReturns the precinct partition width for the specified component, resolution level and tile.  
    Public MethodReturns the precinct partition height for the specified component, resolution level and tile.  
    Public MethodGet PrecInfo instance of the specified resolution level, component and precinct.  
    Public MethodTry to read an EPH marker. If it is not possible then an Error is thrown.  
    Public MethodReads specificied packet body in order to find offset of each code-block's piece of codeword. This use the list of found code-blocks in previous red packet head.  
    Public MethodRead specified packet head and found length of each code-block's piece of codewords as well as number of skipped most significant bit-planes.  
    Public MethodTry to read a SOP marker and check that its sequence number if not out of sequence. If so, an error is thrown.  
    Public MethodRe-initialize the PktDecoder instance at the beginning of a new tile.  
    Top
    See Also