OpenJPEG  1.5.1
Macros | Functions
tcd.c File Reference
#include "opj_includes.h"
#include <assert.h>

Macros

#define _ISOC99_SOURCE   /* lrintf is C99 */
 

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_ttcd_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)
 

Macro Definition Documentation

◆ _ISOC99_SOURCE

#define _ISOC99_SOURCE   /* lrintf is C99 */