X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fopenjp2%2Ftcd.h;h=11aec81b2959c12a88ab07fd4ef7a5139aae8690;hb=b65bf4836933355df88a9eb5ce5696dcf3c324ba;hp=0a540453fdfe466a0883c3cf7e1e32ef533080e7;hpb=4c02acb728a0204684cd622007b8366ed373295c;p=openjpeg.git diff --git a/src/lib/openjp2/tcd.h b/src/lib/openjp2/tcd.h index 0a540453..11aec81b 100644 --- a/src/lib/openjp2/tcd.h +++ b/src/lib/openjp2/tcd.h @@ -96,10 +96,11 @@ typedef struct opj_tcd_cblk_enc { typedef struct opj_tcd_cblk_dec { OPJ_BYTE * data; /* Data */ opj_tcd_seg_t* segs; /* segments information */ - OPJ_INT32 x0, y0, x1, y1; /* dimension of the code-blocks : left upper corner (x0, y0) right low corner (x1,y1) */ + OPJ_INT32 x0, y0, x1, y1; /* position of the code-blocks : left upper corner (x0, y0) right low corner (x1,y1) */ OPJ_UINT32 numbps; OPJ_UINT32 numlenbits; - OPJ_UINT32 len; /* length */ + OPJ_UINT32 data_max_size; /* Size of allocated data buffer */ + OPJ_UINT32 data_current_size; /* Size of used data buffer */ OPJ_UINT32 numnewpasses; /* number of pass added to the code-blocks */ OPJ_UINT32 numsegs; /* number of segments */ OPJ_UINT32 real_num_segs;