summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/t1.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-04-29 11:50:17 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-05-20 20:30:21 +0200
commit97eb7e0bf17b476d516262e0af462ec7eeb8f505 (patch)
tree3006779d0ae78b84909c6f52f52bb9a254a83160 /src/lib/openjp2/t1.h
parent1d358f25c8eabbc7c274bcc148f4f5d594ec13fe (diff)
Add multithreading support in the T1 (entropy phase) encoder
- API wise, opj_codec_set_threads() can be used on the encoding side - opj_compress has a -threads switch similar to opj_uncompress
Diffstat (limited to 'src/lib/openjp2/t1.h')
-rw-r--r--src/lib/openjp2/t1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openjp2/t1.h b/src/lib/openjp2/t1.h
index 171dfb0a..bc8a8111 100644
--- a/src/lib/openjp2/t1.h
+++ b/src/lib/openjp2/t1.h
@@ -216,13 +216,13 @@ typedef struct opj_t1 {
/**
Encode the code-blocks of a tile
-@param t1 T1 handle
+@param tcd TCD handle
@param tile The tile to encode
@param tcp Tile coding parameters
@param mct_norms FIXME DOC
@param mct_numcomps Number of components used for MCT
*/
-OPJ_BOOL opj_t1_encode_cblks(opj_t1_t *t1,
+OPJ_BOOL opj_t1_encode_cblks(opj_tcd_t* tcd,
opj_tcd_tile_t *tile,
opj_tcp_t *tcp,
const OPJ_FLOAT64 * mct_norms,