22 #ifndef OR_INTERNALS_RW2FILE_H_ 23 #define OR_INTERNALS_RW2FILE_H_ 28 #include <libopenraw/consts.h> 30 #include "rawfile.hpp" 32 #include "ifdfile.hpp" 33 #include "io/stream.hpp" 45 static RawFile *factory(
const IO::Stream::Ptr & s);
46 Rw2File(
const IO::Stream::Ptr & s);
53 PANA_RAW_COMPRESSION = 0x11000
57 virtual IfdDir::Ref _locateCfaIfd()
override;
58 virtual IfdDir::Ref _locateMainIfd()
override;
61 virtual ::or_error _locateThumbnail(
const IfdDir::Ref & dir,
62 std::vector<uint32_t> &list)
override;
63 virtual uint32_t _getJpegThumbnailOffset(
const IfdDir::Ref & dir, uint32_t & len)
override;
64 virtual ::or_error _getRawData(
RawData & data, uint32_t options)
override;
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard. I guess it failed.
generic IFD based raw file.