Static Public Member Functions

Celartem::DjVu::JBIG2DecodeHelper Struct Reference

#include <djv_jbig2decoder.h>

List of all members.

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:
inJB2d Stream 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:
inJB2d Chunk 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:
inJB2p Stream which contains JB2p (JBIG2 page) data.
inDict JBIG2 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:
inJB2p Chunk which contains JB2p (JBIG2 page) data.
inDict JBIG2 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:

This document is made with doxygen 1.7.1 at Thu Feb 17 2011 15:40:20.
Caminova Logo