27 #include <libopenraw/consts.h>
29 #include "rawfile.hpp"
30 #include "rawcontainer.hpp"
31 #include "io/stream.hpp"
38 #define RAF_MAGIC "FUJIFILMCCD-RAW "
40 #define RAF_MAGIC_LEN 16
59 friend void audit_coefficients();
78 LOGERR(
"not implemented\n");
88 bool isXTrans(RawFile::TypeId
type)
const;
std::shared_ptr< Stream > Ptr
std::shared_ptr< IfdDir > Ref
Shared ptr of an IfdDir.
virtual void _identifyId() override
Identify the file and set the ID internally.
virtual IfdDir::Ref _locateCfaIfd() override
Locate the IFD for the raw data.
virtual ::or_error _getRawData(RawData &data, uint32_t options) override
Get the RAW data.
virtual RawContainer * getContainer() const override
Get the container.
virtual MetaValue * _getMetaValue(int32_t) override
Implementation for getMetaValue()
virtual IfdDir::Ref _locateMainIfd() override
Locate the main IFD.
virtual ::or_error _enumThumbnailSizes(std::vector< uint32_t > &list) override
Enumerate the thumbnail sizes.
Generic interface for the RAW file container.
Represent camera raw data.
Type type() const
Accessor for the type.
or_error
Error codes returned by libopenraw.
Global namespace for libopenraw.