OpenJPEG  1.5.1
Functions
tgt.c File Reference
#include "opj_includes.h"

Functions

opj_tgt_tree_ttgt_create (int numleafsh, int numleafsv)
 Create a tag-tree. More...
 
void tgt_destroy (opj_tgt_tree_t *tree)
 Destroy a tag-tree, liberating memory. More...
 
void tgt_reset (opj_tgt_tree_t *tree)
 Reset a tag-tree (set all leaves to 0) More...
 
void tgt_setvalue (opj_tgt_tree_t *tree, int leafno, int value)
 Set the value of a leaf of a tag-tree. More...
 
void tgt_encode (opj_bio_t *bio, opj_tgt_tree_t *tree, int leafno, int threshold)
 Encode the value of a leaf of the tag-tree up to a given threshold. More...
 
int tgt_decode (opj_bio_t *bio, opj_tgt_tree_t *tree, int leafno, int threshold)
 Decode the value of a leaf of the tag-tree up to a given threshold. More...