tcd.c File Reference

#include "opj_includes.h"
#include <assert.h>

Defines

#define _ISOC99_SOURCE

Functions

void tcd_dump (FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t *img)
 Dump the content of a tcd structure.
opj_tcd_ttcd_create (opj_common_ptr cinfo)
 Create a new TCD handle.
void tcd_destroy (opj_tcd_t *tcd)
 Destroy a previously created TCD handle.
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).
void tcd_free_encode (opj_tcd_t *tcd)
 Free the memory allocated for encoding.
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).
void tcd_malloc_decode (opj_tcd_t *tcd, opj_image_t *image, opj_cp_t *cp)
 Initialize the tile decoder.
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.
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.
void tcd_free_decode (opj_tcd_t *tcd)
 Free the memory allocated for decoding.
void tcd_free_decode_tile (opj_tcd_t *tcd, int tileno)

Define Documentation

#define _ISOC99_SOURCE


Generated on Mon Dec 19 12:34:13 2016 for OpenJPEG by  doxygen 1.5.6