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 () |
![]() | |
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 | |
![]() | |
enum | EndianType { ENDIAN_NULL = 0, ENDIAN_BIG, ENDIAN_LITTLE } |
![]() | |
RawContainer (const RawContainer &)=delete | |
RawContainer & | operator= (const RawContainer &)=delete |
void | setEndian (EndianType _endian) |
![]() | |
IO::Stream::Ptr | m_file |
off_t | m_offset |
EndianType | m_endian |
Definition at line 51 of file jfifcontainer.hpp.
|
virtual |
destructor
Definition at line 109 of file jfifcontainer.cpp.
References OpenRaw::Internals::jpeg_src_t::pub, OpenRaw::Internals::jpeg_src_t::self, and OpenRaw::BitmapData::setDimensions().
IfdDir::Ref OpenRaw::Internals::JfifContainer::exifIfd | ( | ) |
Return Exif ifd
Definition at line 268 of file jfifcontainer.cpp.
IfdDir::Ref OpenRaw::Internals::JfifContainer::getIfdDirAt | ( | int | idx | ) |
Return ifd at index
Definition at line 259 of file jfifcontainer.cpp.
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.
IfdDir::Ref OpenRaw::Internals::JfifContainer::mainIfd | ( | ) |
Main ifd is 0
Definition at line 251 of file jfifcontainer.cpp.
Referenced by OpenRaw::Internals::RafFile::_getRawData().