summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/dwt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/openjp2/dwt.h')
-rw-r--r--src/lib/openjp2/dwt.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/openjp2/dwt.h b/src/lib/openjp2/dwt.h
index 215061e6..bc3f68ae 100644
--- a/src/lib/openjp2/dwt.h
+++ b/src/lib/openjp2/dwt.h
@@ -69,9 +69,9 @@ Apply a reversible inverse DWT transform to a component of an image.
@param tilec Tile component information (current tile)
@param numres Number of resolution levels to decode
*/
-OPJ_BOOL opj_dwt_decode(opj_tcd_t *p_tcd,
- opj_tcd_tilecomp_t* tilec,
- OPJ_UINT32 numres);
+OPJ_RESULT opj_dwt_decode(opj_tcd_t *p_tcd,
+ opj_tcd_tilecomp_t* tilec,
+ OPJ_UINT32 numres, opj_cancel_t* p_cancel);
/**
Get the norm of a wavelet function of a subband at a specified level for the reversible 5-3 DWT.
@@ -95,9 +95,9 @@ Apply an irreversible inverse DWT transform to a component of an image.
@param tilec Tile component information (current tile)
@param numres Number of resolution levels to decode
*/
-OPJ_BOOL opj_dwt_decode_real(opj_tcd_t *p_tcd,
- opj_tcd_tilecomp_t* OPJ_RESTRICT tilec,
- OPJ_UINT32 numres);
+OPJ_RESULT opj_dwt_decode_real(opj_tcd_t *p_tcd,
+ opj_tcd_tilecomp_t* OPJ_RESTRICT tilec,
+ OPJ_UINT32 numres, opj_cancel_t* cancel);
/**
Get the norm of a wavelet function of a subband at a specified level for the irreversible 9-7 DWT