WIP: update t1, t2, tcd to use same strut as in V2
[openjpeg.git] / libopenjpeg / t1.h
index bcc6e514919f260537c1374cf69b4011f39312c1..c38bfb822c8e455fe5afd39943232d672bc1820f 100644 (file)
@@ -141,6 +141,25 @@ Decode the code-blocks of a tile
 void t1_decode_cblks(opj_t1_t* t1, opj_tcd_tilecomp_t* tilec, opj_tccp_t* tccp);
 
 
+void t1_decode_cblks_v2(
+               opj_t1_t* t1,
+               opj_tcd_tilecomp_v2_t* tilec,
+               opj_tccp_t* tccp);
+
+/**
+Decode 1 code-block
+@param t1 T1 handle
+@param cblk Code-block coding parameters
+@param orient
+@param roishift Region of interest shifting value
+@param cblksty Code-block style
+*/
+static void t1_decode_cblk_v2(
+               opj_t1_t *t1,
+               opj_tcd_cblk_dec_v2_t* cblk,
+               OPJ_UINT32 orient,
+               OPJ_UINT32 roishift,
+               OPJ_UINT32 cblksty);
 
 /**
  * Creates a new Tier 1 handle