libopenraw
lib
dngfile.hpp
1
/* -*- Mode: C++ -*- */
2
/*
3
* libopenraw - dngfile.h
4
*
5
* Copyright (C) 2006-2016 Hubert Figuiere
6
*
7
* This library is free software: you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public License
9
* as published by the Free Software Foundation, either version 3 of
10
* the License, or (at your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library. If not, see
19
* <http://www.gnu.org/licenses/>.
20
*/
21
22
#ifndef OR_INTERNALS_DNGFILE_H_
23
#define OR_INTERNALS_DNGFILE_H_
24
25
#include <stdint.h>
26
27
#include <libopenraw/consts.h>
28
29
#include "rawfile.hpp"
30
#include "ifdfile.hpp"
31
#include "io/stream.hpp"
32
#include "tiffepfile.hpp"
33
34
namespace
OpenRaw
{
35
36
class
RawData;
37
38
namespace
Internals {
39
40
class
DngFile
41
:
public
TiffEpFile
42
{
43
public
:
44
static
RawFile
*factory(
const
IO::Stream::Ptr &);
45
46
DngFile
(
const
IO::Stream::Ptr &);
47
virtual
~
DngFile
();
48
49
DngFile
(
const
DngFile
&) =
delete
;
50
DngFile
& operator=(
const
DngFile
&) =
delete
;
51
52
54
bool
isCinema
()
const
;
55
protected
:
56
virtual ::or_error
_getRawData
(
RawData
& data, uint32_t options)
override
;
57
virtual
void
_identifyId()
override
;
58
59
private
:
60
61
static
const
IfdFile::camera_ids_t
s_def[];
62
};
63
64
}
65
}
66
67
#endif
OpenRaw::Internals::DngFile
Definition:
dngfile.hpp:40
OpenRaw::Internals::DngFile::_getRawData
virtual ::or_error _getRawData(RawData &data, uint32_t options) override
Definition:
dngfile.cpp:155
OpenRaw
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard....
Definition:
arwfile.cpp:30
OpenRaw::RawFile
Definition:
rawfile.hpp:50
OpenRaw::Internals::DngFile::isCinema
bool isCinema() const
OpenRaw::Internals::TiffEpFile
Definition:
tiffepfile.hpp:40
OpenRaw::RawData
Definition:
rawdata.hpp:35
OpenRaw::RawFile::camera_ids_t
Definition:
rawfile.hpp:147
Generated by
1.8.17