64
64
@param maxlayers maximum number of layers
65
65
@param dest the destination buffer
66
66
@param len the length of the destination buffer
68
68
@param tpnum Tile part number of the current tile
69
69
@param tppos The position of the tile part flag in the progression order
70
70
@param t2_mode If == 0 In Threshold calculation ,If == 1 Final pass
72
int t2_encode_packets(opj_t2_t* t2,int tileno, opj_tcd_tile_t *tile, int maxlayers, unsigned char *dest, int len, opj_image_info_t *image_info,int tpnum, int tppos,int pino,J2K_T2_MODE t2_mode);
73
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);
74
75
Decode the packets of a tile from a source buffer