Added OPJ_LIMIT_DECODING enabling us to limit the decoding to main header

This commit is contained in:
Francois-Olivier Devaux
2007-02-19 09:59:29 +00:00
parent d084ff59f2
commit eac141b69a
5 changed files with 30 additions and 0 deletions

View File

@@ -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 */