|
OpenJPEG
1.5.1
|
Implementation of a tile coder/decoder (TCD) More...
Go to the source code of this file.
Data Structures | |
| struct | opj_tcd_seg |
| FIXME: documentation. More... | |
| struct | opj_tcd_pass |
| FIXME: documentation. More... | |
| struct | opj_tcd_layer |
| FIXME: documentation. More... | |
| struct | opj_tcd_cblk_enc |
| FIXME: documentation. More... | |
| struct | opj_tcd_cblk_dec |
| struct | opj_tcd_precinct |
| FIXME: documentation. More... | |
| struct | opj_tcd_band |
| FIXME: documentation. More... | |
| struct | opj_tcd_resolution |
| FIXME: documentation. More... | |
| struct | opj_tcd_tilecomp |
| FIXME: documentation. More... | |
| struct | opj_tcd_tile |
| FIXME: documentation. More... | |
| struct | opj_tcd_image |
| FIXME: documentation. More... | |
| struct | opj_tcd |
| Tile coder/decoder. More... | |
Typedefs | |
| typedef struct opj_tcd_seg | opj_tcd_seg_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_pass | opj_tcd_pass_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_layer | opj_tcd_layer_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_cblk_enc | opj_tcd_cblk_enc_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_cblk_dec | opj_tcd_cblk_dec_t |
| typedef struct opj_tcd_precinct | opj_tcd_precinct_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_band | opj_tcd_band_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_resolution | opj_tcd_resolution_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_tilecomp | opj_tcd_tilecomp_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_tile | opj_tcd_tile_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd_image | opj_tcd_image_t |
| FIXME: documentation. More... | |
| typedef struct opj_tcd | opj_tcd_t |
| Tile coder/decoder. More... | |
Functions | |
Exported functions | |
| void | tcd_dump (FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t *img) |
| Dump the content of a tcd structure. More... | |
| opj_tcd_t * | tcd_create (opj_common_ptr cinfo) |
| Create a new TCD handle. More... | |
| void | tcd_destroy (opj_tcd_t *tcd) |
| Destroy a previously created TCD handle. More... | |
| void | tcd_malloc_encode (opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp, int curtileno) |
| Initialize the tile coder (allocate the memory) More... | |
| void | tcd_free_encode (opj_tcd_t *tcd) |
| Free the memory allocated for encoding. More... | |
| void | tcd_init_encode (opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp, int curtileno) |
| Initialize the tile coder (reuses the memory allocated by tcd_malloc_encode) More... | |
| void | tcd_malloc_decode (opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp) |
| Initialize the tile decoder. More... | |
| void | tcd_malloc_decode_tile (opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp, int tileno, opj_codestream_info_t *cstr_info) |
| void | tcd_makelayer_fixed (opj_tcd_t *tcd, int layno, int final) |
| void | tcd_rateallocate_fixed (opj_tcd_t *tcd) |
| void | tcd_makelayer (opj_tcd_t *tcd, int layno, double thresh, int final) |
| opj_bool | tcd_rateallocate (opj_tcd_t *tcd, unsigned char *dest, int len, opj_codestream_info_t *cstr_info) |
| int | tcd_encode_tile (opj_tcd_t *tcd, int tileno, unsigned char *dest, int len, opj_codestream_info_t *cstr_info) |
| Encode a tile from the raw image into a buffer. More... | |
| opj_bool | tcd_decode_tile (opj_tcd_t *tcd, unsigned char *src, int len, int tileno, opj_codestream_info_t *cstr_info) |
| Decode a tile from a buffer into a raw image. More... | |
| void | tcd_free_decode (opj_tcd_t *tcd) |
| Free the memory allocated for decoding. More... | |
| void | tcd_free_decode_tile (opj_tcd_t *tcd, int tileno) |
Implementation of a tile coder/decoder (TCD)
The functions in TCD.C have for goal to encode or decode each tile independently from each other. The functions in TCD.C are used by some function in J2K.C.
1.8.5