ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.writer Namespace / HeaderEncoder Class
Members

In This Topic
    HeaderEncoder Class
    In This Topic
    This class writes almost of the markers and marker segments in main header and in tile-part headers. It is created by the run() method of the Encoder instance.

    A marker segment includes a marker and eventually marker segment parameters. It is designed by the three letter code of the marker associated with the marker segment. JPEG 2000 part I defines 6 types of markers:

    • Delimiting : SOC,SOT,SOD,EOC (written in FileCodestreamWriter).
    • Fixed information: SIZ.
    • Functional: COD,COC,RGN,QCD,QCC,POC.
    • In bit-stream: SOP,EPH.
    • Pointer: TLM,PLM,PLT,PPM,PPT.
    • Informational: CRG,COM.

    Main Header is written when Encoder instance calls encodeMainHeader whereas tile-part headers are written when the EBCOTRateAllocator instance calls encodeTilePartHeader.

    Object Model
    HeaderEncoder Class
    Syntax
    'Declaration
     
    
    Public Class HeaderEncoder 
    public class HeaderEncoder 
    Inheritance Hierarchy

    System.Object
       CSJ2K.j2k.codestream.writer.HeaderEncoder

    See Also