svn-gvsig-desktop / trunk / libraries / libjni-mrsid / include / j2k_readers / j2k_types.h @ 3539
History | View | Annotate | Download (1.74 KB)
1 |
/* $Id: j2k_types.h 3539 2006-01-09 12:23:20Z nacho $ */
|
---|---|
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 |
// //
|
10 |
////////////////////////////////////////////////////////////////////////// */
|
11 |
/* PUBLIC */
|
12 |
|
13 |
#ifndef J2K_TYPES_H
|
14 |
#define J2K_TYPES_H
|
15 |
|
16 |
// lt_lib_base
|
17 |
#include "lt_base.h" |
18 |
|
19 |
#if defined(LT_COMPILER_MS)
|
20 |
#pragma warning(push,4) |
21 |
#endif
|
22 |
|
23 |
LT_BEGIN_NAMESPACE(LizardTech) |
24 |
|
25 |
|
26 |
/**
|
27 |
* constants used to define progression orders
|
28 |
*/
|
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 |
|
40 |
/**
|
41 |
* constants used to define tile part styles
|
42 |
*/
|
43 |
enum J2KTilePartFlags
|
44 |
{ |
45 |
J2K_TILEPART_FLAG_NONE = 0,
|
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 | |
50 |
J2K_TILEPART_FLAG_L | |
51 |
J2K_TILEPART_FLAG_C) |
52 |
}; |
53 |
|
54 |
|
55 |
/**
|
56 |
* constants used to define encoding profiles
|
57 |
*/
|
58 |
enum J2KProfile
|
59 |
{ |
60 |
J2K_PROFILE_NONE = 0,
|
61 |
J2K_PROFILE_NPJE = 1,
|
62 |
J2K_PROFILE_LOWMEM = 2
|
63 |
}; |
64 |
|
65 |
|
66 |
LT_END_NAMESPACE(LizardTech) |
67 |
|
68 |
#if defined(LT_COMPILER_MS)
|
69 |
#pragma warning(pop)
|
70 |
#endif
|
71 |
|
72 |
#endif // J2K_TYPES_H |