summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/j2k.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-04-18 18:25:44 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-04-18 18:25:44 +0200
commit64689d05dfaaf52105581d93fb1eb173b20829a4 (patch)
treeaf9686a48d75cc19f02aaec33826138394a9602e /src/lib/openjp2/j2k.h
parent774889a328abd5d3c280d9a897f1ac4c672cb0e5 (diff)
struct opj_j2k: remove unused fields, and add some documentation
Diffstat (limited to 'src/lib/openjp2/j2k.h')
-rw-r--r--src/lib/openjp2/j2k.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/openjp2/j2k.h b/src/lib/openjp2/j2k.h
index 5d393c98..3ea6395f 100644
--- a/src/lib/openjp2/j2k.h
+++ b/src/lib/openjp2/j2k.h
@@ -577,15 +577,16 @@ typedef struct opj_j2k {
/** the current tile coder/decoder **/
struct opj_tcd * m_tcd;
- /** Number of threads to use */
- int m_num_threads;
-
/** Thread pool */
opj_thread_pool_t* m_tp;
+ /** Image width coming from JP2 IHDR box. 0 from a pure codestream */
OPJ_UINT32 ihdr_w;
+
+ /** Image height coming from JP2 IHDR box. 0 from a pure codestream */
OPJ_UINT32 ihdr_h;
- OPJ_UINT32 enumcs;
+
+ /** Set to 1 by the decoder initialization if OPJ_DPARAMETERS_DUMP_FLAG is set */
unsigned int dump_state;
}
opj_j2k_t;