libopenraw  0.3.7
Classes | Functions | Friends

DNG file parsing. More...

Classes

class  OpenRaw::Internals::DngFile
 DNG file. More...
 

Functions

static RawFileOpenRaw::Internals::DngFile::factory (const IO::Stream::Ptr &)
 
 OpenRaw::Internals::DngFile::DngFile (const IO::Stream::Ptr &)
 
 OpenRaw::Internals::DngFile::DngFile (const DngFile &)=delete
 
DngFileOpenRaw::Internals::DngFile::operator= (const DngFile &)=delete
 
virtual or_colour_matrix_origin OpenRaw::Internals::DngFile::getColourMatrixOrigin () const override
 Get the origin of the colour matrix for the RAW file. More...
 
bool OpenRaw::Internals::DngFile::isCinema () const
 Tell if a file is Cinema DNG. More...
 
virtual ::or_error OpenRaw::Internals::DngFile::_enumThumbnailSizes (std::vector< uint32_t > &list) override
 Enumerate the thumbnail sizes. More...
 
virtual ::or_error OpenRaw::Internals::DngFile::_getRawData (RawData &data, uint32_t options) override
 Get the RAW data. More...
 
virtual void OpenRaw::Internals::DngFile::_identifyId () override
 Identify the file and set the ID internally.
 

Friends

template<typename T >
void OpenRaw::Internals::DngFile::audit_coefficients ()
 

Detailed Description

DNG file parsing.

Function Documentation

◆ _enumThumbnailSizes()

or_error OpenRaw::Internals::DngFile::_enumThumbnailSizes ( std::vector< uint32_t > &  list)
overrideprotectedvirtual

Enumerate the thumbnail sizes.

Parameters
listthe list to enumerate into
Returns
OR_ERROR_NONE if success

Implements OpenRaw::RawFile.

Definition at line 265 of file dngfile.cpp.

References OR_ERROR_NOT_FOUND.

◆ _getRawData()

or_error OpenRaw::Internals::DngFile::_getRawData ( RawData data,
uint32_t  options 
)
overrideprotectedvirtual

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 283 of file dngfile.cpp.

References OR_ERROR_NONE, and OR_ERROR_NOT_FOUND.

◆ getColourMatrixOrigin()

or_colour_matrix_origin OpenRaw::Internals::DngFile::getColourMatrixOrigin ( ) const
overridevirtual

Get the origin of the colour matrix for the RAW file.

Returns
value of or_colour_matrix_origin

Reimplemented from OpenRaw::RawFile.

Definition at line 260 of file dngfile.cpp.

References OR_COLOUR_MATRIX_PROVIDED.

◆ isCinema()

bool OpenRaw::Internals::DngFile::isCinema ( ) const

Tell if a file is Cinema DNG.

DNG specific for now.