"L. Spiro Engine"
|
Implementation of a tag-tree coder (TGT). More...
#include <LSITgt.h>
Classes | |
struct | opj_tgt_node_t |
struct | opj_tgt_tree_t |
Public Types | |
typedef struct lsi::CTgt::opj_tgt_node_t * | LPopj_tgt_node_t |
typedef struct lsi::CTgt::opj_tgt_node_t | LPCopj_tgt_node_t |
typedef struct lsi::CTgt::opj_tgt_tree_t * | LPopj_tgt_tree_t |
typedef struct lsi::CTgt::opj_tgt_tree_t | LPCopj_tgt_tree_t |
Static Public Member Functions | |
static opj_tgt_tree_t *LSE_CALL | tgt_create (LSINT32 _i32NumLeafSh, LSINT32 _i32NumLeafSv) |
static LSVOID LSE_CALL | tgt_destroy (opj_tgt_tree_t *_pttTree) |
static LSVOID LSE_CALL | tgt_reset (opj_tgt_tree_t *_pttTree) |
static LSVOID LSE_CALL | tgt_setvalue (opj_tgt_tree_t *_pttTree, LSINT32 _i32LeafNo, LSINT32 _i32Value) |
static LSVOID LSE_CALL | tgt_encode (CBio::opj_bio_t *_pbBio, opj_tgt_tree_t *_pttTree, LSINT32 _i32LeafNo, LSINT32 _i32Threshold) |
static LSINT32 LSE_CALL | tgt_decode (CBio::opj_bio_t *_pbBio, opj_tgt_tree_t *_pttTree, LSINT32 _i32LeafNo, LSINT32 _i32Threshold) |
Implementation of a tag-tree coder (TGT).
Class CTgt Description: Implementation of a tag-tree coder (TGT).
typedef struct lsi::CTgt::opj_tgt_node_t * lsi::CTgt::LPopj_tgt_node_t |
Tag node
typedef struct lsi::CTgt::opj_tgt_tree_t * lsi::CTgt::LPopj_tgt_tree_t |
Tag tree
static opj_tgt_tree_t* LSE_CALL lsi::CTgt::tgt_create | ( | LSINT32 | _i32NumLeafSh, |
LSINT32 | _i32NumLeafSv | ||
) | [static] |
Create a tag-tree.
_i32NumLeafSh | Width of the array of leafs of the tree. |
_i32NumLeafSv | Height of the array of leafs of the tree. |
static LSINT32 LSE_CALL lsi::CTgt::tgt_decode | ( | CBio::opj_bio_t * | _pbBio, |
opj_tgt_tree_t * | _pttTree, | ||
LSINT32 | _i32LeafNo, | ||
LSINT32 | _i32Threshold | ||
) | [static] |
Decode the value of a leaf of the tag-tree up to a given _i32Threshold.
_pbBio | Pointer to a BIO handle. |
_pttTree | Tag-tree to decode. |
_i32LeafNo | Number that identifies the leaf to decode. |
_i32Threshold | Threshold to use when decoding value of the leaf. |
static LSVOID LSE_CALL lsi::CTgt::tgt_destroy | ( | opj_tgt_tree_t * | _pttTree | ) | [static] |
Destroy a tag-tree, liberating memory.
_pttTree | Tag-tree to destroy. |
static LSVOID LSE_CALL lsi::CTgt::tgt_encode | ( | CBio::opj_bio_t * | _pbBio, |
opj_tgt_tree_t * | _pttTree, | ||
LSINT32 | _i32LeafNo, | ||
LSINT32 | _i32Threshold | ||
) | [static] |
Encode the value of a leaf of the tag-tree up to a given threshold.
_pbBio | Pointer to a BIO handle. |
_pttTree | Tag-tree to modify. |
_i32LeafNo | Number that identifies the leaf to encode. |
_i32Threshold | Threshold to use when encoding value of the leaf. |
static LSVOID LSE_CALL lsi::CTgt::tgt_reset | ( | opj_tgt_tree_t * | _pttTree | ) | [static] |
Reset a tag-tree (set all leaves to 0).
_pttTree | Tag-tree to reset. |
static LSVOID LSE_CALL lsi::CTgt::tgt_setvalue | ( | opj_tgt_tree_t * | _pttTree, |
LSINT32 | _i32LeafNo, | ||
LSINT32 | _i32Value | ||
) | [static] |
Set the value of a leaf of a tag-tree.
_pttTree | Tag-tree to modify. |
_i32LeafNo | Number that identifies the leaf to modify. |
_i32Value | New value of the leaf. |