~cosme/ubuntu/precise/freeimage/freeimage-3.15.1

« back to all changes in this revision

Viewing changes to Source/LibOpenJPEG/t2.h

  • Committer: Stefano Rivera
  • Date: 2010-07-24 15:35:51 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: stefanor@ubuntu.com-20100724153551-6s3fth1653huk31a
Tags: upstream-3.13.1
ImportĀ upstreamĀ versionĀ 3.31.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
67
 
@param image_info structure to create an index file
 
67
@param cstr_info Codestream information structure 
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
 
71
@param cur_totnum_tp The total number of tile parts in the current tile
71
72
*/
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);
73
74
/**
74
75
Decode the packets of a tile from a source buffer
75
76
@param t2 T2 handle
78
79
@param tileno number that identifies the tile for which to decode the packets
79
80
@param tile tile for which to decode the packets
80
81
 */
81
 
int t2_decode_packets(opj_t2_t *t2, unsigned char *src, int len, int tileno, opj_tcd_tile_t *tile);
 
82
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);
82
83
 
83
84
/**
84
85
Create a T2 handle