MrSID Decode SDK for Raster Reference Manual 9.5.4.4709

- Main Page
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

j2k_types.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* //////////////////////////////////////////////////////////////////////////
3 // //
4 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, //
5 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
6 // prohibited. Access to and use of this code is permitted only under //
7 // license from LizardTech, Inc. Portions of the code are protected by //
8 // US and foreign patents and other filings. All Rights Reserved. //
9 // //
11 /* PUBLIC */
12
13 #ifndef J2K_TYPES_H
14 #define J2K_TYPES_H
15
16 // lt_lib_mrsid_core
17 #include "lti_types.h"
18
19 #if defined(LT_COMPILER_MS)
20 #pragma warning(push,4)
21 #endif
22
23 LT_BEGIN_NAMESPACE(LizardTech)
24
25
26
29 enum J2KProgressionOrder
30 {
31 J2K_ORDER_INVALID = 0,
32 J2K_ORDER_LRCP = 1,
33 J2K_ORDER_RLCP = 2,
34 J2K_ORDER_RPCL = 3,
35 J2K_ORDER_PCRL = 4,
36 J2K_ORDER_CPRL = 5
37 };
38
39
43 enum J2KTilePartFlags
44 {
45 J2K_TILEPART_FLAG_NONE = 0, // internal only, do not use this setting yourself
46 J2K_TILEPART_FLAG_R = 1,
47 J2K_TILEPART_FLAG_L = 2,
48 J2K_TILEPART_FLAG_C = 4,
49 J2K_TILEPART_FLAG_MAX = (J2K_TILEPART_FLAG_R | // internal only, do not use this setting yourself
50 J2K_TILEPART_FLAG_L |
51 J2K_TILEPART_FLAG_C)
52 };
53
54
58 enum J2KFileFormat
59 {
60 J2K_FILEFORMAT_INVALID = 0,
61 J2K_FILEFORMAT_JPC = 1,
62 J2K_FILEFORMAT_JP2 = 2,
63 J2K_FILEFORMAT_JPX = 3
64 };
65
66
70 enum J2KProfile
71 {
72 J2K_PROFILE_DEFAULT,
73 J2K_PROFILE_0,
74 J2K_PROFILE_1,
75 J2K_PROFILE_2,
76 J2K_PROFILE_CINEMA2K,
77 J2K_PROFILE_CINEMA4K,
78 J2K_PROFILE_PART2
79 };
80
81
82 enum J2KErrorDisposition
83 {
84 J2K_ERROR_DISPOSTION_IGNORE,
85 J2K_ERROR_DISPOSTION_STDERR,
86 J2K_ERROR_DISPOSTION_THROW
87 };
88
89
90 class JPCReader;
91
92 LT_END_NAMESPACE(LizardTech)
93
94 #if defined(LT_COMPILER_MS)
95 #pragma warning(pop)
96 #endif
97
98 #endif // J2K_TYPES_H

LizardTech