svn-gvsig-desktop / tags / gvsig_topologia-0_1_0-1232 / libraries / libjni-readecw-linux / include / NCSJPCYCbCr2RGBNode.h @ 39764
History | View | Annotate | Download (1.68 KB)
1 | 1448 | igbrotru | /********************************************************
|
---|---|---|---|
2 | ** Copyright 2003 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/NCSJPCYCbCr2RGBNode.h $
|
||
15 | ** CREATED: 20/03/2003 3:27:34 PM
|
||
16 | ** AUTHOR: Simon Cope
|
||
17 | ** PURPOSE: CNCSJPCYCbCr2RGBNode class header
|
||
18 | ** EDITS: [xx] ddMmmyy NAME COMMENTS
|
||
19 | *******************************************************/
|
||
20 | |||
21 | #ifndef NCSJPCYCBCR2RGBNODE_H
|
||
22 | #define NCSJPCYCBCR2RGBNODE_H
|
||
23 | |||
24 | #ifndef NCSJPCNODE_H
|
||
25 | #include "NCSJPCNode.h" |
||
26 | #endif // NCSJPCNODE_H |
||
27 | |||
28 | /**
|
||
29 | * CNCSJPCYCbCr2RGBNode class - YCbCr to RGB colorspace conversion node.
|
||
30 | *
|
||
31 | * @author Simon Cope
|
||
32 | * @version $Revision$ $Author$ $Date$
|
||
33 | */
|
||
34 | class NCSJPC_EXPORT_ALL CNCSJPCYCbCr2RGBNode: public CNCSJPCNode { |
||
35 | public:
|
||
36 | /** Default constructor, initialises members */
|
||
37 | CNCSJPCYCbCr2RGBNode(); |
||
38 | /** Virtual destructor */
|
||
39 | virtual ~CNCSJPCYCbCr2RGBNode(); |
||
40 | |||
41 | /**
|
||
42 | * Read a BufferType line from the input.
|
||
43 | * @param nCtx Read context
|
||
44 | * @param pDst Destination buffer.
|
||
45 | * @param iComponent Output Component
|
||
46 | * @return bool true on succes, else false.
|
||
47 | */
|
||
48 | virtual bool ReadLine(ContextID nCtx, CNCSJPCBuffer *pDst, UINT16 iComponent);
|
||
49 | protected:
|
||
50 | static CNCSJPCNodeTracker sm_Tracker;
|
||
51 | }; |
||
52 | |||
53 | #endif // !NCSJPCYCBCR2RGBNODE_H |