summaryrefslogtreecommitdiff
path: root/libopenjpeg/dwt.h
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2011-09-19 16:09:19 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2011-09-19 16:09:19 +0000
commit6561d70664fff4c714a4656f590121bdf056e51b (patch)
tree30f5ad8984c82bb06849d0db2cba2efd10451d99 /libopenjpeg/dwt.h
parent1a5c59326ab4836618f88caefa8b66760f624793 (diff)
WIP: update t1, t2, tcd to use same strut as in V2
Diffstat (limited to 'libopenjpeg/dwt.h')
-rw-r--r--libopenjpeg/dwt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libopenjpeg/dwt.h b/libopenjpeg/dwt.h
index 303fac1c..c2ed90ff 100644
--- a/libopenjpeg/dwt.h
+++ b/libopenjpeg/dwt.h
@@ -64,6 +64,7 @@ void dwt_decode(opj_tcd_tilecomp_t* tilec, int numres);
#endif
opj_bool dwt_decode(opj_tcd_tilecomp_t* tilec, OPJ_UINT32 numres);
+opj_bool dwt_decode_v2(opj_tcd_tilecomp_v2_t* tilec, OPJ_UINT32 numres);
/**
Get the gain of a subband for the reversible 5-3 DWT.
@@ -71,6 +72,8 @@ Get the gain of a subband for the reversible 5-3 DWT.
@return Returns 0 if orient = 0, returns 1 if orient = 1 or 2, returns 2 otherwise
*/
int dwt_getgain(int orient);
+
+OPJ_UINT32 dwt_getgain_v2(OPJ_UINT32 orient) ;
/**
Get the norm of a wavelet function of a subband at a specified level for the reversible 5-3 DWT.
@param level Level of the wavelet function
@@ -93,12 +96,16 @@ Apply an irreversible inverse DWT transform to a component of an image.
*/
// V1 void dwt_decode_real(opj_tcd_tilecomp_t* tilec, int numres);
opj_bool dwt_decode_real(opj_tcd_tilecomp_t* tilec, int numres);
+
+opj_bool dwt_decode_real_v2(opj_tcd_tilecomp_v2_t* restrict tilec, OPJ_UINT32 numres);
+
/**
Get the gain of a subband for the irreversible 9-7 DWT.
@param orient Number that identifies the subband (0->LL, 1->HL, 2->LH, 3->HH)
@return Returns the gain of the 9-7 wavelet transform
*/
int dwt_getgain_real(int orient);
+OPJ_UINT32 dwt_getgain_real_v2(OPJ_UINT32 orient);
/**
Get the norm of a wavelet function of a subband at a specified level for the irreversible 9-7 DWT
@param level Level of the wavelet function