svn-gvsig-desktop / tags / v1_9_Build_1237 / libraries / libjni-readecw-linux / include / NCSJPCSOTMarker.h @ 46386
History | View | Annotate | Download (2.1 KB)
1 |
/********************************************************
|
---|---|
2 |
** Copyright 2002 Earth Resource Mapping Ltd.
|
3 |
** This document contains proprietary source code of
|
4 |
** Earth Resource Mapping Ltd, and can only be used under
|
5 |
** one of the three licenses as described in the
|
6 |
** license.txt file supplied with this distribution.
|
7 |
** See separate license.txt file for license details
|
8 |
** and conditions.
|
9 |
**
|
10 |
** This software is covered by US patent #6,442,298,
|
11 |
** #6,102,897 and #6,633,688. Rights to use these patents
|
12 |
** is included in the license agreements.
|
13 |
**
|
14 |
** FILE: $Archive: /NCS/Source/include/NCSJPCSOTMarker.h $
|
15 |
** CREATED: 11/12/2002 3:27:34 PM
|
16 |
** AUTHOR: Simon Cope
|
17 |
** PURPOSE: CNCSJPCSOTMarker class header
|
18 |
** EDITS: [xx] ddMmmyy NAME COMMENTS
|
19 |
*******************************************************/
|
20 |
|
21 |
#ifndef NCSJPCSOTMARKER_H
|
22 |
#define NCSJPCSOTMARKER_H
|
23 |
|
24 |
#include "NCSJPCMarker.h" |
25 |
|
26 |
/**
|
27 |
* CNCSJPCSOTMarker class - the JPC SOT marker.
|
28 |
*
|
29 |
* @author Simon Cope
|
30 |
* @version $Revision: 1458 $ $Author: igbrotru $ $Date: 2005-02-15 08:52:16 +0100 (Tue, 15 Feb 2005) $
|
31 |
*/
|
32 |
class NCSJPC_EXPORT_ALL CNCSJPCSOTMarker: public CNCSJPCMarker { |
33 |
public:
|
34 |
|
35 |
/** Tile Index, >= 0 */
|
36 |
UINT16 m_nIsot; |
37 |
/** Length of SOT + tile part bitstream */
|
38 |
UINT32 m_nPsot; |
39 |
/** Tile part index, first = 0 */
|
40 |
UINT8 m_nTPsot; |
41 |
/** Number of tile-parts of a tile in the codestream, 0 == not defined in this tile part */
|
42 |
UINT8 m_nTNsot; |
43 |
|
44 |
/** Default constructor, initialises members */
|
45 |
CNCSJPCSOTMarker(); |
46 |
/** Virtual destructor */
|
47 |
virtual ~CNCSJPCSOTMarker(); |
48 |
|
49 |
/**
|
50 |
* Parse the marker from the JPC codestream.
|
51 |
* @param JPC CNCSJPC to use to parse file.
|
52 |
* @param Stream IOStream to use to parse file.
|
53 |
* @return CNCSError NCS_SUCCESS, or Error code on failure.
|
54 |
*/
|
55 |
virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
56 |
/**
|
57 |
* UnParse the marker to the JPC codestream.
|
58 |
* @param Stream IOStream to use to parse file.
|
59 |
* @param JPC CNCSJPC to use to parse file.
|
60 |
* @return CNCSError NCS_SUCCESS, or Error code on failure.
|
61 |
*/
|
62 |
virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
63 |
}; |
64 |
|
65 |
|
66 |
#endif // !NCSJPCSOTMARKER_H |