~ubuntu-branches/ubuntu/saucy/darktable/saucy

« back to all changes in this revision

Viewing changes to src/rawspeed/RawSpeed/PefDecoder.h

  • Committer: Bazaar Package Importer
  • Author(s): David Bremner
  • Date: 2011-04-14 23:42:12 UTC
  • Revision ID: james.westby@ubuntu.com-20110414234212-kuffcz5wiu18v6ra
Tags: upstream-0.8
ImportĀ upstreamĀ versionĀ 0.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#pragma once
 
2
#include "RawDecoder.h"
 
3
#include "TiffIFD.h"
 
4
#include "PentaxDecompressor.h"
 
5
/* 
 
6
    RawSpeed - RAW file decoder.
 
7
 
 
8
    Copyright (C) 2009 Klaus Post
 
9
 
 
10
    This library is free software; you can redistribute it and/or
 
11
    modify it under the terms of the GNU Lesser General Public
 
12
    License as published by the Free Software Foundation; either
 
13
    version 2 of the License, or (at your option) any later version.
 
14
 
 
15
    This library is distributed in the hope that it will be useful,
 
16
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
18
    Lesser General Public License for more details.
 
19
 
 
20
    You should have received a copy of the GNU Lesser General Public
 
21
    License along with this library; if not, write to the Free Software
 
22
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
23
 
 
24
    http://www.klauspost.com
 
25
*/
 
26
 
 
27
namespace RawSpeed {
 
28
 
 
29
class PefDecoder :
 
30
  public RawDecoder
 
31
{
 
32
public:
 
33
  PefDecoder(TiffIFD *rootIFD, FileMap* file);
 
34
  virtual ~PefDecoder(void);
 
35
  virtual RawImage decodeRaw();
 
36
  virtual void decodeMetaData(CameraMetaData *meta);
 
37
  virtual void checkSupport(CameraMetaData *meta);
 
38
  TiffIFD *mRootIFD;
 
39
};
 
40
 
 
41
} // namespace RawSpeed