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

Functions

int t2_encode_packets (opj_t2_t *t2, int tileno, opj_tcd_tile_t *tile, int maxlayers, unsigned char *dest, int len, opj_codestream_info_t *cstr_info, int tpnum, int tppos, int pino, J2K_T2_MODE t2_mode, int cur_totnum_tp)
 Encode the packets of a tile to a destination buffer. More...
 
int t2_decode_packets (opj_t2_t *t2, unsigned char *src, int len, int tileno, opj_tcd_tile_t *tile, opj_codestream_info_t *cstr_info)
 Decode the packets of a tile from a source buffer. More...
 
opj_t2_tt2_create (opj_common_ptr cinfo, opj_image_t *image, opj_cp_t *cp)
 Create a T2 handle. More...
 
void t2_destroy (opj_t2_t *t2)
 Destroy a T2 handle. More...
 
Local static functions
static void t2_putcommacode (opj_bio_t *bio, int n)
 
static int t2_getcommacode (opj_bio_t *bio)
 
static void t2_putnumpasses (opj_bio_t *bio, int n)
 Variable length code for signalling delta Zil (truncation point) More...
 
static int t2_getnumpasses (opj_bio_t *bio)
 
static int t2_encode_packet (opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi, unsigned char *dest, int len, opj_codestream_info_t *cstr_info, int tileno)
 Encode a packet of a tile to a destination buffer. More...
 
static opj_bool t2_init_seg (opj_tcd_cblk_dec_t *cblk, int index, int cblksty, int first)
 
static int t2_decode_packet (opj_t2_t *t2, unsigned char *src, int len, opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi, opj_packet_info_t *pack_info)
 Decode a packet of a tile from a source buffer. More...