4
#include "RawDecoder.h"
5
#include "LJpegPlain.h"
7
#include "BitPumpPlain.h"
8
#include "TiffParser.h"
9
#include "NikonDecompressor.h"
11
RawSpeed - RAW file decoder.
13
Copyright (C) 2009 Klaus Post
15
This library is free software; you can redistribute it and/or
16
modify it under the terms of the GNU Lesser General Public
17
License as published by the Free Software Foundation; either
18
version 2 of the License, or (at your option) any later version.
20
This library is distributed in the hope that it will be useful,
21
but WITHOUT ANY WARRANTY; without even the implied warranty of
22
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23
Lesser General Public License for more details.
25
You should have received a copy of the GNU Lesser General Public
26
License along with this library; if not, write to the Free Software
27
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
29
http://www.klauspost.com
38
NefDecoder(TiffIFD *rootIFD, FileMap* file);
39
virtual ~NefDecoder(void);
40
virtual RawImage decodeRaw();
41
virtual void decodeMetaData(CameraMetaData *meta);
42
virtual void checkSupport(CameraMetaData *meta);
45
bool D100IsCompressed(uint32 offset);
46
void DecodeUncompressed();
47
void DecodeD100Uncompressed();
48
void readCoolpixMangledRaw(ByteStream &input, iPoint2D& size, iPoint2D& offset, int inputPitch);
49
void readCoolpixSplitRaw(ByteStream &input, iPoint2D& size, iPoint2D& offset, int inputPitch);
50
TiffIFD* FindBestImage(vector<TiffIFD*>* data);
55
NefSlice() { h = offset = count = 0;};
62
} // namespace RawSpeed