libopenraw
|
#include <mrwcontainer.hpp>
Public Member Functions | |
MRWContainer (const IO::Stream::Ptr &file, off_t offset=0) | |
virtual | ~MRWContainer () |
MRWContainer (const MRWContainer &)=delete | |
MRWContainer & | operator= (const MRWContainer &)=delete |
virtual IfdFileContainer::EndianType | isMagicHeader (const char *p, int len) override |
off_t | pixelDataOffset () |
![]() | |
IfdFileContainer (const IO::Stream::Ptr &file, off_t offset) | |
virtual | ~IfdFileContainer () |
IfdDir::Ref | setDirectory (int dir) |
int | countDirectories (void) |
std::vector< IfdDir::Ref > & | directories () |
int | currentDirectory () |
size_t | getDirectoryDataSize () |
int | lastError () const |
int | exifOffsetCorrection () const |
void | setExifOffsetCorrection (int corr) |
::or_error | locateImageData (const IfdDir::Ref &dir, uint32_t &x, uint32_t &y, ::or_data_type &t) |
![]() | |
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 |
Public Attributes | |
MRW::DataBlock::Ref | mrm |
MRW::DataBlock::Ref | prd |
MRW::DataBlock::Ref | ttw |
MRW::DataBlock::Ref | wbg |
MRW::DataBlock::Ref | rif |
Protected Member Functions | |
virtual bool | locateDirsPreHook () override |
![]() | |
RawContainer (const RawContainer &)=delete | |
RawContainer & | operator= (const RawContainer &)=delete |
void | setEndian (EndianType _endian) |
Additional Inherited Members | |
![]() | |
enum | { IFD_NONE = -1, IFD_EXIF = -2, IFD_GPS = -3, IFD_INTEROP = -4 } |
![]() | |
enum | EndianType { ENDIAN_NULL = 0, ENDIAN_BIG, ENDIAN_LITTLE } |
![]() | |
IO::Stream::Ptr | m_file |
off_t | m_offset |
EndianType | m_endian |
A container for a Minolta Raw object.
Definition at line 217 of file mrwcontainer.hpp.
|
virtual |
destructor
Definition at line 103 of file mrwcontainer.cpp.
|
overridevirtual |
Check the MRW magic header.
Reimplemented from OpenRaw::Internals::IfdFileContainer.
Definition at line 107 of file mrwcontainer.cpp.
|
overrideprotectedvirtual |
hook to be called at the start of _locateDirs()
Reimplemented from OpenRaw::Internals::IfdFileContainer.
Definition at line 126 of file mrwcontainer.cpp.
|
inline |
Return offset of pixel array data from start of file.
Definition at line 241 of file mrwcontainer.hpp.
Referenced by OpenRaw::Internals::MRWFile::_getRawData().