libopenraw
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenRaw::Internals::PEFFile Class Reference
Inheritance diagram for OpenRaw::Internals::PEFFile:
OpenRaw::Internals::IFDFile OpenRaw::RawFile

Public Member Functions

 PEFFile (IO::Stream *)
 
- Public Member Functions inherited from OpenRaw::RawFile
virtual ~RawFile ()
 
Type type () const
 
TypeId typeId ()
 
const std::vector< uint32_t > & listThumbnailSizes (void)
 
::or_error getThumbnail (uint32_t size, Thumbnail &thumbnail)
 
::or_error getRawData (RawData &rawdata, uint32_t options)
 
::or_error getRenderedImage (BitmapData &bitmapdata, uint32_t options)
 
int32_t getOrientation ()
 
const MetaValuegetMetaValue (int32_t meta_index)
 

Static Public Member Functions

static RawFilefactory (IO::Stream *s)
 
- Static Public Member Functions inherited from OpenRaw::RawFile
static const char ** fileExtensions ()
 
static RawFilenewRawFile (const char *_filename, Type _typeHint=OR_RAWFILE_TYPE_UNKNOWN)
 
static RawFilenewRawFileFromMemory (const uint8_t *buffer, uint32_t len, Type _typeHint=OR_RAWFILE_TYPE_UNKNOWN)
 

Protected Member Functions

virtual IFDDir::Ref _locateCfaIfd ()
 
virtual IFDDir::Ref _locateMainIfd ()
 
virtual ::or_error _getRawData (RawData &data, uint32_t options)
 
- Protected Member Functions inherited from OpenRaw::Internals::IFDFile
 IFDFile (IO::Stream *s, Type _type, bool instantiateContainer=true)
 
virtual ::or_error _enumThumbnailSizes (std::vector< uint32_t > &list)
 
virtual ::or_error _locateThumbnail (const IFDDir::Ref &dir, std::vector< uint32_t > &list)
 
::or_error _getRawDataFromDir (RawData &data, IFDDir::Ref &dir)
 
virtual IFDDir::Ref _locateExifIfd ()
 
virtual void _identifyId ()
 
virtual MetaValue_getMetaValue (int32_t meta_index)
 
- Protected Member Functions inherited from OpenRaw::RawFile
 RawFile (IO::Stream *s, Type _type)
 
void _setTypeId (TypeId _type_id)
 
TypeId _typeIdFromModel (const std::string &model)
 
void _setIdMap (const camera_ids_t *map)
 

Additional Inherited Members

- Public Types inherited from OpenRaw::RawFile
typedef ::or_rawfile_type Type
 
typedef ::or_rawfile_typeid TypeId
 
- Protected Types inherited from OpenRaw::Internals::IFDFile
typedef std::map< uint32_t,
IFDThumbDesc
ThumbLocations
 
- Protected Attributes inherited from OpenRaw::Internals::IFDFile
ThumbLocations m_thumbLocations
 
IO::Streamm_io
 
IFDFileContainerm_container
 
IFDDir::Ref m_cfaIfd
 
IFDDir::Ref m_mainIfd
 
IFDDir::Ref m_exifIfd
 

Detailed Description

Definition at line 40 of file peffile.cpp.

Member Function Documentation

or_error OpenRaw::Internals::PEFFile::_getRawData ( RawData data,
uint32_t  options 
)
protectedvirtual

get the RAW data

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

Implements OpenRaw::RawFile.

Definition at line 88 of file peffile.cpp.

References OpenRaw::Internals::IFDFile::_getRawDataFromDir(), and OpenRaw::Internals::IFDFile::m_cfaIfd.


The documentation for this class was generated from the following files: