libopenraw
OpenRaw::Internals::CRWFile Class Reference
Inheritance diagram for OpenRaw::Internals::CRWFile:
OpenRaw::RawFile

Public Member Functions

 CRWFile (const IO::Stream::Ptr &)
 CRWFile (const CRWFile &)=delete
CRWFileoperator= (const CRWFile &)=delete
Public Member Functions inherited from OpenRaw::RawFile
 RawFile (const RawFile &)=delete
RawFileoperator= (const RawFile &)=delete
virtual ~RawFile ()
Type type () const
TypeId typeId ()
const std::vector< uint32_t > & listThumbnailSizes (void)
::or_error getThumbnail (uint32_t size, Thumbnail &thumbnail)
::or_error getRawData (RawData &rawdata, uint32_t options)
::or_error getRenderedImage (BitmapData &bitmapdata, uint32_t options)
int32_t getOrientation ()
uint32_t colourMatrixSize ()
::or_error getColourMatrix1 (double *matrix, uint32_t &size)
::or_error getColourMatrix2 (double *matrix, uint32_t &size)
ExifLightsourceValue getCalibrationIlluminant1 ()
ExifLightsourceValue getCalibrationIlluminant2 ()
const MetaValuegetMetaValue (int32_t meta_index)

Static Public Member Functions

static RawFilefactory (const IO::Stream::Ptr &)
Static Public Member Functions inherited from OpenRaw::RawFile
static const char ** fileExtensions ()
static RawFilenewRawFile (const char *_filename, Type _typeHint=OR_RAWFILE_TYPE_UNKNOWN)
static RawFilenewRawFileFromMemory (const uint8_t *buffer, uint32_t len, Type _typeHint=OR_RAWFILE_TYPE_UNKNOWN)

Protected Member Functions

virtual RawContainergetContainer () const override
virtual::or_error _enumThumbnailSizes (std::vector< uint32_t > &list) override
virtual::or_error _getRawData (RawData &data, uint32_t options) override
virtual MetaValue_getMetaValue (int32_t meta_index) override
virtual void _identifyId () override
Protected Member Functions inherited from OpenRaw::RawFile
 RawFile (Type _type)
void _setTypeId (TypeId _type_id)
TypeId _typeId () const
virtual::or_error _getThumbnail (uint32_t size, Thumbnail &thumbnail)
void _addThumbnail (uint32_t size, const Internals::ThumbDesc &desc)
virtual::or_error _getColourMatrix (uint32_t index, double *matrix, uint32_t &size)
virtual ExifLightsourceValue _getCalibrationIlluminant (uint16_t index)
TypeId _typeIdFromModel (const std::string &make, const std::string &model)
TypeId _typeIdFromMake (const std::string &make)
void _setIdMap (const camera_ids_t *map)
void _setMatrices (const Internals::BuiltinColourMatrix *matrices)
const Internals::BuiltinColourMatrix_getMatrices () const

Additional Inherited Members

Public Types inherited from OpenRaw::RawFile
typedef ::or_rawfile_type Type
typedef ::or_rawfile_typeid TypeId
Static Protected Member Functions inherited from OpenRaw::RawFile
::or_error _getBuiltinLevels (const Internals::BuiltinColourMatrix *m, TypeId type_id, uint16_t &black, uint16_t &white)
::or_error _getBuiltinColourMatrix (const Internals::BuiltinColourMatrix *m, TypeId type_id, double *matrix, uint32_t &size)

Detailed Description

Definition at line 44 of file crwfile.hpp.

Constructor & Destructor Documentation

◆ CRWFile()

OpenRaw::Internals::CRWFile::CRWFile ( const IO::Stream::Ptr & s)

Definition at line 102 of file crwfile.cpp.

◆ ~CRWFile()

OpenRaw::Internals::CRWFile::~CRWFile ( )
virtual

Definition at line 112 of file crwfile.cpp.

Member Function Documentation

◆ _enumThumbnailSizes()

or_error OpenRaw::Internals::CRWFile::_enumThumbnailSizes ( std::vector< uint32_t > & list)
overrideprotectedvirtual

enumerate the thumbnail sizes.

Parameters
listthe list to enumerate into
Returns
OR_ERROR_NONE if success

Implements OpenRaw::RawFile.

Definition at line 117 of file crwfile.cpp.

References _enumThumbnailSizes(), and OpenRaw::Internals::CIFF::RecordEntry::isA().

Referenced by _enumThumbnailSizes().

◆ _getMetaValue()

MetaValue * OpenRaw::Internals::CRWFile::_getMetaValue ( int32_t meta_index)
overrideprotectedvirtual

Implements OpenRaw::RawFile.

Definition at line 263 of file crwfile.cpp.

◆ _getRawData()

or_error OpenRaw::Internals::CRWFile::_getRawData ( RawData & data,
uint32_t options )
overrideprotectedvirtual

◆ _identifyId()

void OpenRaw::Internals::CRWFile::_identifyId ( )
overrideprotectedvirtual

Implements OpenRaw::RawFile.

Definition at line 347 of file crwfile.cpp.

◆ factory()

RawFile * OpenRaw::Internals::CRWFile::factory ( const IO::Stream::Ptr & s)
static

Definition at line 97 of file crwfile.cpp.

◆ getContainer()

RawContainer * OpenRaw::Internals::CRWFile::getContainer ( ) const
overrideprotectedvirtual

Get the container.

Implements OpenRaw::RawFile.

Definition at line 149 of file crwfile.cpp.

References getContainer().

Referenced by getContainer().


The documentation for this class was generated from the following files: