Static Public Member Functions | List of all members
Celartem::DjVu::JBIG2DecodeHelper Struct Reference

#include <djv_jbig2decoder.h>

Static Public Member Functions

static AutoPtr< JB2DictionarycreateDict (Stream *inJB2d)
 
static AutoPtr< JB2DictionarycreateDict (const Chunk *inJB2d)
 
static AutoPtr< JB2PagecreatePage (Stream *inJB2p, JB2Dictionary *inDict)
 
static AutoPtr< JB2PagecreatePage (const Chunk *inJB2p, JB2Dictionary *inDict)
 

Detailed Description

This class provides supplemental functions to decode JBIG2 images.
The actual JBIG2 decoder is integrated into JB2 decoder and the rendering functions are provided by JB2Page.
Please note that the decoder equips only some parts of JBIG2 specification enough to support JBIG2 on DjVu and PDF.

See Also
JB2Page, JBIG2EncodeHelper

Member Function Documentation

static AutoPtr<JB2Dictionary> Celartem::DjVu::JBIG2DecodeHelper::createDict ( Stream inJB2d)
static

Decode JB2d (JBIG2 dictionary) stream.

Parameters
inJB2dStream which contains JB2d (JBIG2 dictionary) data.
Returns
Pointer to the newly created JB2Dictionary instance.
static AutoPtr<JB2Dictionary> Celartem::DjVu::JBIG2DecodeHelper::createDict ( const Chunk inJB2d)
static

Decode JB2d (JBIG2 dictionary) chunk.

Parameters
inJB2dChunk which contains JB2d (JBIG2 dictionary) data.
Returns
Pointer to the newly created JB2Dictionary instance.
static AutoPtr<JB2Page> Celartem::DjVu::JBIG2DecodeHelper::createPage ( Stream inJB2p,
JB2Dictionary inDict 
)
static

Decode JB2p (JBIG2 page) stream.

Parameters
inJB2pStream which contains JB2p (JBIG2 page) data.
inDictJBIG2 dictionary instance if any. It can be NULL for page data without dictionary.
Returns
Pointer to the newly created JB2Page instance.
static AutoPtr<JB2Page> Celartem::DjVu::JBIG2DecodeHelper::createPage ( const Chunk inJB2p,
JB2Dictionary inDict 
)
static

Decode JB2p (JBIG2 page) chunk.

Parameters
inJB2pChunk which contains JB2p (JBIG2 page) data.
inDictJBIG2 dictionary instance if any. It can be NULL for page data without dictionary.
Returns
Pointer to the newly created JB2Page instance.

The documentation for this struct was generated from the following file:

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo