OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimJpeg12NitfReader.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: Refactor from Mingjie Su's ossimNitfTileSource_12.
8 //
9 // Description:
10 //
11 // Class declaration for reader of NITF images with 12 bit jpeg compressed
12 // blocks using libjpeg-turbo library compiled specifically with
13 // "--with-12bit" compiler option.
14 //
15 //----------------------------------------------------------------------------
16 // $Id
17 
18 #ifndef ossimJpeg12NitfReader_HEADER
19 #define ossimJpeg12NitfReader_HEADER 1
20 
23 
24 class ossimImageData;
26 struct jpeg12_decompress_struct;
27 
34 {
35 public:
36 
37 
38 protected:
43  virtual bool canUncompress(const ossimNitfImageHeader* hdr) const;
44 
52 
64  bool loadJpeg12QuantizationTables(jpeg12_decompress_struct& cinfo) const;
65 
71  bool loadJpeg12HuffmanTables(jpeg12_decompress_struct& cinfo) const;
72 
73 
74 TYPE_DATA
75 };
76 
77 #endif /* #ifndef ossimJpeg12NitfReader_HEADER */
ossim_uint32 x
virtual bool uncompressJpegBlock(ossim_uint32 x, ossim_uint32 y)
Uncompresses a jpeg block using the jpeg-6b library.
ossim_uint32 y
ossimJpeg12NitfReader class for reading NITF images with 12 bit jpeg compressed blocks using libjpeg-...
virtual bool canUncompress(const ossimNitfImageHeader *hdr) const
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
#define OSSIM_PLUGINS_DLL