summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/ht_dec.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2023-03-09 19:20:58 +0100
committerSebastian Rasmussen <sebras@gmail.com>2023-03-09 20:09:27 +0100
commiteb8a7e44279415fdefda6d980b99bd7e00c41da0 (patch)
treeeb807e6704df2b72424ef5d4f56211855c281e38 /src/lib/openjp2/ht_dec.c
parent1a8d13e2c51cc59507b361a9c0d1cf51201f7d02 (diff)
CMake: error out on warnings for strict/missing prototypes.
And fix strict-prototypes/missing-prototypes warnings.
Diffstat (limited to 'src/lib/openjp2/ht_dec.c')
-rw-r--r--src/lib/openjp2/ht_dec.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/openjp2/ht_dec.c b/src/lib/openjp2/ht_dec.c
index 62a6c9e1..120d7e49 100644
--- a/src/lib/openjp2/ht_dec.c
+++ b/src/lib/openjp2/ht_dec.c
@@ -1083,6 +1083,26 @@ static OPJ_BOOL opj_t1_allocate_buffers(
return OPJ_TRUE;
}
+/**
+Decode 1 HT 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
+@param p_manager the event manager
+@param p_manager_mutex mutex for the event manager
+@param check_pterm whether PTERM correct termination should be checked
+*/
+OPJ_BOOL opj_t1_ht_decode_cblk(opj_t1_t *t1,
+ opj_tcd_cblk_dec_t* cblk,
+ OPJ_UINT32 orient,
+ OPJ_UINT32 roishift,
+ OPJ_UINT32 cblksty,
+ opj_event_mgr_t *p_manager,
+ opj_mutex_t* p_manager_mutex,
+ OPJ_BOOL check_pterm);
+
//************************************************************************/
/** @brief Decodes one codeblock, processing the cleanup, siginificance
* propagation, and magnitude refinement pass