summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/dwt.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2016-05-25 18:07:15 +0200
committerEven Rouault <even.rouault@spatialys.com>2016-05-25 21:02:07 +0200
commit57b216bb587aa7eba13afbbfd6a1fe5f04201b61 (patch)
tree7426e8adb7c84df0f2745ca12dab58f17336bac8 /src/lib/openjp2/dwt.h
parent5fbb8b2645a085391b070162d8551aa960caab6a (diff)
Use thread pool for DWT decoding
Diffstat (limited to 'src/lib/openjp2/dwt.h')
-rw-r--r--src/lib/openjp2/dwt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/openjp2/dwt.h b/src/lib/openjp2/dwt.h
index 21fe942a..93850026 100644
--- a/src/lib/openjp2/dwt.h
+++ b/src/lib/openjp2/dwt.h
@@ -63,10 +63,11 @@ OPJ_BOOL opj_dwt_encode(opj_tcd_tilecomp_t * tilec);
/**
Inverse 5-3 wavelet transform in 2-D.
Apply a reversible inverse DWT transform to a component of an image.
+@param tp Thread pool
@param tilec Tile component information (current tile)
@param numres Number of resolution levels to decode
*/
-OPJ_BOOL opj_dwt_decode(opj_tcd_tilecomp_t* tilec, OPJ_UINT32 numres);
+OPJ_BOOL opj_dwt_decode(opj_thread_pool_t* tp, opj_tcd_tilecomp_t* tilec, OPJ_UINT32 numres);
/**
Get the gain of a subband for the reversible 5-3 DWT.