RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::CiffParser Class Referencefinal

#include "parsers/CiffParser.h"

Inheritance diagram for rawspeed::CiffParser:
[legend]
Collaboration diagram for rawspeed::CiffParser:
[legend]

Public Member Functions

 CiffParser (Buffer input)
void parseData ()
std::unique_ptr< RawDecodergetDecoder (const CameraMetaData *meta=nullptr) override

Protected Attributes

Buffer mInput

Private Attributes

std::unique_ptr< const CiffIFDmRootIFD

Detailed Description

Definition at line 34 of file CiffParser.h.

Constructor & Destructor Documentation

◆ CiffParser()

rawspeed::CiffParser::CiffParser ( Buffer input)
explicit

Definition at line 41 of file CiffParser.cpp.

References rawspeed::RawParser::RawParser().

Here is the call graph for this function:

Member Function Documentation

◆ getDecoder()

std::unique_ptr< RawDecoder > rawspeed::CiffParser::getDecoder ( const CameraMetaData * meta = nullptr)
overridevirtual

Reimplemented from rawspeed::RawParser.

Definition at line 62 of file CiffParser.cpp.

References rawspeed::MAKEMODEL, rawspeed::RawParser::mInput, mRootIFD, parseData(), ThrowCPE, and rawspeed::trimSpaces().

Here is the call graph for this function:

◆ parseData()

void rawspeed::CiffParser::parseData ( )

Definition at line 43 of file CiffParser.cpp.

References rawspeed::ByteStream::getSubStream(), rawspeed::ByteStream::getU16(), rawspeed::ByteStream::getU32(), rawspeed::CrwDecoder::isCRW(), rawspeed::little, rawspeed::RawParser::mInput, mRootIFD, and ThrowCPE.

Referenced by getDecoder().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ mInput

◆ mRootIFD

std::unique_ptr<const CiffIFD> rawspeed::CiffParser::mRootIFD
private

Definition at line 35 of file CiffParser.h.

Referenced by getDecoder(), and parseData().


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