OpenRaw::Internals::MRWFile Class Reference

Inheritance diagram for OpenRaw::Internals::MRWFile:
OpenRaw::Internals::IFDFile OpenRaw::RawFile

List of all members.

Public Member Functions

 OR_MAKE_FILE_TYPEID (OR_TYPEID_VENDOR_MINOLTA, OR_TYPEID_MINOLTA_MAXXUM_5D)}
 MRWFile (IO::Stream *_filename)

Static Public Member Functions

static RawFilefactory (IO::Stream *_filename)

Protected Member Functions

virtual IFDDir::Ref _locateCfaIfd ()
virtual IFDDir::Ref _locateMainIfd ()
virtual void _identifyId ()
virtual ::or_error _enumThumbnailSizes (std::vector< uint32_t > &list)
virtual ::or_error _getThumbnail (uint32_t size, Thumbnail &thumbnail)
virtual ::or_error _getRawData (RawData &data, uint32_t options)

Detailed Description

Definition at line 44 of file mrwfile.cpp.


Member Function Documentation

or_error OpenRaw::Internals::MRWFile::_enumThumbnailSizes ( std::vector< uint32_t > &  list  )  [protected, virtual]

list the thumbnails in the IFD

Return values:
list the list of thumbnails
Returns:
the error code. OR_ERROR_NOT_FOUND if no thumbnail are found.

Reimplemented from OpenRaw::Internals::IFDFile.

Definition at line 113 of file mrwfile.cpp.

or_error OpenRaw::Internals::MRWFile::_getRawData ( RawData data,
uint32_t  options 
) [protected, virtual]

get the RAW data

Parameters:
data the RAW data
option the option bits
Returns:
OR_ERROR_NONE if success Return the data compressed or uncompressed.

Implements OpenRaw::RawFile.

Definition at line 190 of file mrwfile.cpp.

References OpenRaw::Internals::RawContainer::fetchData(), OpenRaw::Internals::IFDFile::m_container, OpenRaw::Internals::MRWContainer::pixelDataOffset(), OpenRaw::BitmapData::setBpc(), OpenRaw::BitmapData::setDataType(), OpenRaw::RawData::setDimensions(), and OpenRaw::Internals::Unpack::unpack_be12to16().

or_error OpenRaw::Internals::MRWFile::_getThumbnail ( uint32_t  size,
Thumbnail thumbnail 
) [protected, virtual]

get the thumbnail of exact size.

Parameters:
size the size in pixel of the square
Return values:
thumbnail the thumbnail to load
Returns:
OR_ERROR_NONE if success listThumbnailSizes() to understand how to fetch the sizes available

< of the buffer

Reimplemented from OpenRaw::Internals::IFDFile.

Definition at line 122 of file mrwfile.cpp.

References OpenRaw::Internals::RawContainer::fetchData(), OpenRaw::Internals::IFDFile::m_container, OpenRaw::BitmapData::setDataType(), and OpenRaw::BitmapData::setDimensions().


The documentation for this class was generated from the following files:
Generated on Thu Jul 29 20:40:28 2010 for libopenraw by  doxygen 1.6.3