22 #ifndef OR_INTERNALS_CR2FILE_H_
23 #define OR_INTERNALS_CR2FILE_H_
27 #include <libopenraw/consts.h>
29 #include "rawfile.hpp"
30 #include "io/stream.hpp"
32 #include "ifdfile.hpp"
44 static RawFile *factory(
const IO::Stream::Ptr &s);
45 Cr2File(
const IO::Stream::Ptr &s);
51 virtual IfdDir::Ref _locateCfaIfd()
override;
52 virtual IfdDir::Ref _locateMainIfd()
override;
54 virtual ::or_error _getRawData(
RawData & data, uint32_t options)
override;
generic IFD based raw file.
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard....