|
libopenraw
|
Public Member Functions | |
| JfifContainer (const IO::Stream::Ptr &file, off_t offset) | |
| virtual | ~JfifContainer () |
| bool | getDimensions (uint32_t &x, uint32_t &y) |
| bool | getDecompressedData (BitmapData &data) |
| IfdDir::Ref | mainIfd () |
| IfdDir::Ref | getIfdDirAt (int idx) |
| IfdDir::Ref | exifIfd () |
| std::unique_ptr< IfdFileContainer > & | ifdContainer () |
| jmp_buf & | jpegjmp () |
Public Member Functions inherited from OpenRaw::Internals::RawContainer | |
| RawContainer (const IO::Stream::Ptr &_file, off_t offset) | |
| virtual | ~RawContainer () |
| const IO::Stream::Ptr & | file () |
| EndianType | endian () const |
| off_t | offset () const |
| bool | skip (off_t offset) |
| Option< int8_t > | readInt8 (const IO::Stream::Ptr &f) |
| Option< uint8_t > | readUInt8 (const IO::Stream::Ptr &f) |
| Option< int16_t > | readInt16 (const IO::Stream::Ptr &f) |
| Option< int32_t > | readInt32 (const IO::Stream::Ptr &f) |
| Option< uint16_t > | readUInt16 (const IO::Stream::Ptr &f) |
| size_t | readUInt16Array (const IO::Stream::Ptr &f, std::vector< uint16_t > &v, size_t count) |
| Option< uint32_t > | readUInt32 (const IO::Stream::Ptr &f) |
| size_t | fetchData (void *buf, off_t offset, size_t buf_size) |
| off_t | size () const |
Additional Inherited Members | |
Public Types inherited from OpenRaw::Internals::RawContainer | |
| enum | EndianType { ENDIAN_NULL = 0 , ENDIAN_BIG , ENDIAN_LITTLE } |
Protected Member Functions inherited from OpenRaw::Internals::RawContainer | |
| RawContainer (const RawContainer &)=delete | |
| RawContainer & | operator= (const RawContainer &)=delete |
| void | setEndian (EndianType _endian) |
Protected Attributes inherited from OpenRaw::Internals::RawContainer | |
| IO::Stream::Ptr | m_file |
| off_t | m_offset |
| EndianType | m_endian |
Definition at line 51 of file jfifcontainer.hpp.
| OpenRaw::Internals::JfifContainer::JfifContainer | ( | const IO::Stream::Ptr & | file, |
| off_t | offset | ||
| ) |
Definition at line 74 of file jfifcontainer.cpp.
|
virtual |
destructor
Definition at line 109 of file jfifcontainer.cpp.
| IfdDir::Ref OpenRaw::Internals::JfifContainer::exifIfd | ( | ) |
| bool OpenRaw::Internals::JfifContainer::getDecompressedData | ( | BitmapData & | data | ) |
Definition at line 129 of file jfifcontainer.cpp.
| bool OpenRaw::Internals::JfifContainer::getDimensions | ( | uint32_t & | x, |
| uint32_t & | y | ||
| ) |
Definition at line 115 of file jfifcontainer.cpp.
| IfdDir::Ref OpenRaw::Internals::JfifContainer::getIfdDirAt | ( | int | idx | ) |
Return ifd at index
Definition at line 259 of file jfifcontainer.cpp.
References ifdContainer().
Referenced by OpenRaw::Internals::RafFile::_enumThumbnailSizes().
| std::unique_ptr< IfdFileContainer > & OpenRaw::Internals::JfifContainer::ifdContainer | ( | ) |
Return the ifd container
Definition at line 228 of file jfifcontainer.cpp.
References OpenRaw::Internals::RawContainer::m_file, and OpenRaw::Internals::RawContainer::readUInt16().
Referenced by getIfdDirAt(), and mainIfd().
|
inline |
Definition at line 71 of file jfifcontainer.hpp.
| IfdDir::Ref OpenRaw::Internals::JfifContainer::mainIfd | ( | ) |
Main ifd is 0
Definition at line 251 of file jfifcontainer.cpp.
References ifdContainer().
Referenced by exifIfd().