#include <ifdfile.h>
Protected Types | |
typedef std::map< uint32_t, IFDThumbDesc > | ThumbLocations |
Protected Member Functions | |
IFDFile (const char *_filename, Type _type, bool instantiateContainer=true) | |
virtual ::or_error | _enumThumbnailSizes (std::vector< uint32_t > &list) |
virtual ::or_error | _locateThumbnail (const IFDDir::Ref &dir, std::vector< uint32_t > &list) |
::or_error | _getRawDataFromDir (RawData &data, IFDDir::Ref &dir) |
virtual IFDDir::Ref | _locateCfaIfd ()=0 |
virtual IFDDir::Ref | _locateMainIfd ()=0 |
virtual IFDDir::Ref | _locateExifIfd () |
virtual MetaValue * | _getMetaValue (int32_t meta_index) |
Protected Attributes | |
ThumbLocations | m_thumbLocations |
IO::Stream * | m_io |
IFDFileContainer * | m_container |
IFDDir::Ref | m_cfaIfd |
IFDDir::Ref | m_mainIfd |
IFDDir::Ref | m_exifIfd |
Definition at line 62 of file ifdfile.h.
or_error OpenRaw::Internals::IFDFile::_enumThumbnailSizes | ( | std::vector< uint32_t > & | list | ) | [protected] |
list the thumbnails in the IFD
list | the list of thumbnails |
Definition at line 82 of file ifdfile.cpp.
References _locateThumbnail(), and m_container.
or_error OpenRaw::Internals::IFDFile::_locateThumbnail | ( | const IFDDir::Ref & | dir, | |
std::vector< uint32_t > & | list | |||
) | [protected] |
locate the thumnail in the IFD
dir | the IFDDir where to locate the thumbnail |
Definition at line 124 of file ifdfile.cpp.
References m_cfaIfd, and m_io.
Referenced by _enumThumbnailSizes().
or_error OpenRaw::Internals::IFDFile::_getRawDataFromDir | ( | RawData & | data, | |
IFDDir::Ref & | dir | |||
) | [protected] |
load the compressed rawdata from a standard location in an IFD
data | the data storage | |
dir | the IFD |
Definition at line 458 of file ifdfile.cpp.
References OpenRaw::Internals::Unpack::block_size(), m_container, m_exifIfd, and OpenRaw::Internals::Unpack::unpack_be12to16().
IO::Stream* OpenRaw::Internals::IFDFile::m_io [protected] |
IFDFileContainer* OpenRaw::Internals::IFDFile::m_container [protected] |
the real container
Definition at line 95 of file ifdfile.h.
Referenced by _enumThumbnailSizes(), and _getRawDataFromDir().
IFDDir::Ref OpenRaw::Internals::IFDFile::m_cfaIfd [protected] |
IFDDir::Ref OpenRaw::Internals::IFDFile::m_mainIfd [protected] |
IFDDir::Ref OpenRaw::Internals::IFDFile::m_exifIfd [protected] |