#include <ifdfile.h>
Protected Types | |
typedef std::map < uint32_t, IFDThumbDesc > | ThumbLocations |
Protected Member Functions | |
IFDFile (const char *_filename, Type _type) | |
virtual | ~IFDFile () |
virtual ::or_error | _enumThumbnailSizes (std::vector< uint32_t > &list) |
virtual ::or_error | _locateThumbnail (const IFDDir::Ref &dir, std::vector< uint32_t > &list) |
Protected Attributes | |
ThumbLocations | m_thumbLocations |
IO::Stream * | m_io |
IFDFileContainer * | m_container |
Definition at line 62 of file ifdfile.h.
or_error OpenRaw::Internals::IFDFile::_enumThumbnailSizes | ( | std::vector< uint32_t > & | list | ) | [protected, virtual] |
list the thumbnails in the IFD
list | the list of thumbnails |
Implements OpenRaw::RawFile.
Definition at line 53 of file ifdfile.cpp.
References _locateThumbnail(), OpenRaw::Internals::IFDFileContainer::directories(), and m_container.
or_error OpenRaw::Internals::IFDFile::_locateThumbnail | ( | const IFDDir::Ref & | dir, | |
std::vector< uint32_t > & | list | |||
) | [protected] |
locate the thumnaile in the IFD
dir | the IFDDir where to locate the thumbnail |
Definition at line 80 of file ifdfile.cpp.
References OpenRaw::Internals::IFD::EXIF_TAG_IMAGE_LENGTH, OpenRaw::Internals::IFD::EXIF_TAG_IMAGE_WIDTH, OpenRaw::Internals::IFD::EXIF_TAG_JPEG_INTERCHANGE_FORMAT, OpenRaw::Internals::IFD::EXIF_TAG_NEW_SUBFILE_TYPE, OpenRaw::Internals::IFD::EXIF_TAG_PHOTOMETRIC_INTERPRETATION, OpenRaw::Internals::IFD::EXIF_TAG_STRIP_OFFSETS, OpenRaw::Internals::JFIFContainer::getDimensions(), m_io, m_thumbLocations, and OpenRaw::RawFile::type().
Referenced by _enumThumbnailSizes().
IO::Stream* OpenRaw::Internals::IFDFile::m_io [protected] |
the IO handle
Definition at line 87 of file ifdfile.h.
Referenced by _locateThumbnail(), OpenRaw::Internals::ORFFile::ORFFile(), and ~IFDFile().
IFDFileContainer* OpenRaw::Internals::IFDFile::m_container [protected] |
the real container
Definition at line 88 of file ifdfile.h.
Referenced by _enumThumbnailSizes(), OpenRaw::Internals::ORFFile::ORFFile(), and ~IFDFile().