libopenraw
|
Public Member Functions | |
CRWFile (const IO::Stream::Ptr &) | |
CRWFile (const CRWFile &)=delete | |
CRWFile & | operator= (const CRWFile &)=delete |
![]() | |
RawFile (const RawFile &)=delete | |
RawFile & | operator= (const RawFile &)=delete |
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 () |
uint32_t | colourMatrixSize () |
::or_error | getColourMatrix1 (double *matrix, uint32_t &size) |
::or_error | getColourMatrix2 (double *matrix, uint32_t &size) |
ExifLightsourceValue | getCalibrationIlluminant1 () |
ExifLightsourceValue | getCalibrationIlluminant2 () |
const MetaValue * | getMetaValue (int32_t meta_index) |
Static Public Member Functions | |
static RawFile * | factory (const IO::Stream::Ptr &) |
![]() | |
static const char ** | fileExtensions () |
static RawFile * | newRawFile (const char *_filename, Type _typeHint=OR_RAWFILE_TYPE_UNKNOWN) |
static RawFile * | newRawFileFromMemory (const uint8_t *buffer, uint32_t len, Type _typeHint=OR_RAWFILE_TYPE_UNKNOWN) |
Protected Member Functions | |
virtual RawContainer * | getContainer () const override |
virtual ::or_error | _enumThumbnailSizes (std::vector< uint32_t > &list) override |
virtual ::or_error | _getRawData (RawData &data, uint32_t options) override |
virtual MetaValue * | _getMetaValue (int32_t meta_index) override |
virtual void | _identifyId () override |
![]() | |
RawFile (Type _type) | |
void | _setTypeId (TypeId _type_id) |
TypeId | _typeId () const |
virtual ::or_error | _getThumbnail (uint32_t size, Thumbnail &thumbnail) |
void | _addThumbnail (uint32_t size, const Internals::ThumbDesc &desc) |
virtual ::or_error | _getColourMatrix (uint32_t index, double *matrix, uint32_t &size) |
virtual ExifLightsourceValue | _getCalibrationIlluminant (uint16_t index) |
TypeId | _typeIdFromModel (const std::string &make, const std::string &model) |
TypeId | _typeIdFromMake (const std::string &make) |
void | _setIdMap (const camera_ids_t *map) |
void | _setMatrices (const Internals::BuiltinColourMatrix *matrices) |
const Internals::BuiltinColourMatrix * | _getMatrices () const |
Additional Inherited Members | |
![]() | |
typedef ::or_rawfile_type | Type |
typedef ::or_rawfile_typeid | TypeId |
![]() | |
::or_error | _getBuiltinLevels (const Internals::BuiltinColourMatrix *m, TypeId type_id, uint16_t &black, uint16_t &white) |
::or_error | _getBuiltinColourMatrix (const Internals::BuiltinColourMatrix *m, TypeId type_id, double *matrix, uint32_t &size) |
Definition at line 44 of file crwfile.hpp.
|
overrideprotectedvirtual |
enumerate the thumbnail sizes.
list | the list to enumerate into |
Implements OpenRaw::RawFile.
Definition at line 117 of file crwfile.cpp.
References OpenRaw::Internals::CIFF::RecordEntry::isA().
|
overrideprotectedvirtual |
get the RAW data
data | the RAW data |
option | the option bits |
Implements OpenRaw::RawFile.
Definition at line 154 of file crwfile.cpp.
References OpenRaw::RawData::cfaPattern(), OpenRaw::Internals::CIFF::RecordEntry::fetchData(), OpenRaw::Internals::CIFF::RecordEntry::isA(), OpenRaw::CfaPattern::patternType(), OpenRaw::Internals::RawContainer::readUInt16(), OpenRaw::Internals::RawContainer::readUInt32(), OpenRaw::BitmapData::setDataType(), OpenRaw::RawData::setDimensions(), OpenRaw::BitmapData::size(), and OpenRaw::RawData::swap().
|
overrideprotectedvirtual |