summaryrefslogtreecommitdiff
path: root/libopenjpeg/t2.h
diff options
context:
space:
mode:
authorParvatha Elangovan <p.elangovan@intopix.com>2007-12-19 12:28:40 +0000
committerParvatha Elangovan <p.elangovan@intopix.com>2007-12-19 12:28:40 +0000
commit64ed560f4f88cb7215adb011ba53f16f1fd3f54c (patch)
tree2eb7cfc39897e53cb573ed21b9fe693e08f423fb /libopenjpeg/t2.h
parent1a33a097260699e7c3792d2a6238337a198d9070 (diff)
In pi.c, removed the Recursive function pi_check_next_level() and modified the code.
Diffstat (limited to 'libopenjpeg/t2.h')
-rw-r--r--libopenjpeg/t2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopenjpeg/t2.h b/libopenjpeg/t2.h
index 10160899..b15b7520 100644
--- a/libopenjpeg/t2.h
+++ b/libopenjpeg/t2.h
@@ -68,8 +68,9 @@ Encode the packets of a tile to a destination buffer
@param tpnum Tile part number of the current tile
@param tppos The position of the tile part flag in the progression order
@param t2_mode If == 0 In Threshold calculation ,If == 1 Final pass
+@param cur_totnum_tp The total number of tile parts in the current tile
*/
-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 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);
/**
Decode the packets of a tile from a source buffer
@param t2 T2 handle