summaryrefslogtreecommitdiff
path: root/libopenjpeg/j2k.h
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-02-19 09:59:29 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-02-19 09:59:29 +0000
commiteac141b69aea8840ccd8dfa5285f1cab5b59d5eb (patch)
tree291504a63413f5ac52bd9fd1485947d58a6bc525 /libopenjpeg/j2k.h
parentd084ff59f2da8bfa430d113105df1037fb1c605f (diff)
Added OPJ_LIMIT_DECODING enabling us to limit the decoding to main header
Diffstat (limited to 'libopenjpeg/j2k.h')
-rw-r--r--libopenjpeg/j2k.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopenjpeg/j2k.h b/libopenjpeg/j2k.h
index 00ccacfc..9738bf85 100644
--- a/libopenjpeg/j2k.h
+++ b/libopenjpeg/j2k.h
@@ -197,6 +197,8 @@ typedef struct opj_cp {
int reduce;
/** if != 0, then only the first "layer" layers are decoded; if == 0 or not used, all the quality layers are decoded */
int layer;
+ /** if == NO_LIMITATION, decode entire codestream; if == LIMIT_TO_MAIN_HEADER then only decode the main header */
+ OPJ_LIMIT_DECODING limit_decoding;
/** 0 = no index || 1 = index */
int index_on;
/** XTOsiz */