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

#include "decoders/NefDecoder.h"

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

Classes

struct  NefSlice

Public Member Functions

 NefDecoder (TiffRootIFDOwner &&root, Buffer file)
RawImage decodeRawInternal () override
void decodeMetaDataInternal (const CameraMetaData *meta) override
void checkSupportInternal (const CameraMetaData *meta) override
TiffIFDgetRootIFD () final
bool checkCameraSupported (const CameraMetaData *meta, const TiffID &id, const std::string &mode)
void setMetaData (const CameraMetaData *meta, const TiffID &id, const std::string &mode, int iso_speed)
void setMetaData (const CameraMetaData *meta, const std::string &mode, int iso_speed)
virtual void setMetaData (const CameraMetaData *meta, const std::string &make, const std::string &model, const std::string &mode, int iso_speed=0)
const TiffIFDgetIFDWithLargestImage (TiffTag filter=TiffTag::IMAGEWIDTH) const
void checkSupport (const CameraMetaData *meta)
RawImage decodeRaw ()
void decodeMetaData (const CameraMetaData *meta)

Static Public Member Functions

static bool isAppropriateDecoder (const TiffRootIFD *rootIFD, Buffer file)

Public Attributes

RawImage mRaw = RawImage::create()
bool failOnUnknown {false}
bool interpolateBadPixels {true}
bool applyStage1DngOpcodes {true}
bool applyCrop {true}
bool uncorrectedRawValues {false}
bool fujiRotate {true}
struct { 
   bool   quadrantMultipliers = true 
iiq
bool noSamples = false

Protected Member Functions

bool checkCameraSupported (const CameraMetaData *meta, const std::string &make, const std::string &model, const std::string &mode)
bool handleCameraSupport (const CameraMetaData *meta, const std::string &make, const std::string &model, const std::string &mode)
virtual iRectangle2D getDefaultCrop ()
void decodeUncompressed (const TiffIFD *rawIFD, BitOrder order) const

Protected Attributes

TiffRootIFDOwner mRootIFD
Buffer mFile
Hints hints

Private Member Functions

int getDecoderVersion () const override
bool D100IsCompressed (uint32_t offset) const
void DecodeUncompressed () const
void DecodeD100Uncompressed () const
void DecodeSNefUncompressed () const
void readCoolpixSplitRaw (ByteStream input, const iPoint2D &size, const iPoint2D &offset, int inputPitch) const
void DecodeNikonSNef (ByteStream input) const
void parseWhiteBalance () const
int getBitPerSample () const
std::string getMode () const
std::string getExtendedMode (const std::string &mode) const
virtual void anchor () const

Static Private Member Functions

static bool NEFIsUncompressed (const TiffIFD *raw)
static bool NEFIsUncompressedRGB (const TiffIFD *raw)
static std::vector< uint16_tgammaCurve (double pwr, double ts, int imax)

Static Private Attributes

static const std::array< uint8_t, 256 > serialmap
static const std::array< uint8_t, 256 > keymap

Detailed Description

Definition at line 41 of file NefDecoder.h.

Constructor & Destructor Documentation

◆ NefDecoder()

rawspeed::NefDecoder::NefDecoder ( TiffRootIFDOwner && root,
Buffer file )
inline

Definition at line 44 of file NefDecoder.h.

References rawspeed::AbstractTiffDecoder::AbstractTiffDecoder().

Here is the call graph for this function:

Member Function Documentation

◆ anchor()

void rawspeed::AbstractTiffDecoder::anchor ( ) const
privatevirtualinherited

Reimplemented in rawspeed::SimpleTiffDecoder.

Definition at line 31 of file AbstractTiffDecoder.cpp.

◆ checkCameraSupported() [1/2]

bool rawspeed::AbstractTiffDecoder::checkCameraSupported ( const CameraMetaData * meta,
const TiffID & id,
const std::string & mode )
inlineinherited

Definition at line 48 of file AbstractTiffDecoder.h.

References rawspeed::RawDecoder::checkCameraSupported().

Referenced by checkSupportInternal(), rawspeed::Cr2Decoder::checkSupportInternal(), rawspeed::DngDecoder::checkSupportInternal(), rawspeed::IiqDecoder::checkSupportInternal(), rawspeed::NefDecoder::checkSupportInternal(), rawspeed::RafDecoder::checkSupportInternal(), rawspeed::Rw2Decoder::checkSupportInternal(), rawspeed::SrwDecoder::checkSupportInternal(), and rawspeed::Rw2Decoder::decodeMetaDataInternal().

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

◆ checkCameraSupported() [2/2]

bool rawspeed::RawDecoder::checkCameraSupported ( const CameraMetaData * meta,
const std::string & make,
const std::string & model,
const std::string & mode )
protectedinherited

Definition at line 204 of file RawDecoder.cpp.

References assert(), rawspeed::Camera::decoderVersion, rawspeed::CameraMetaData::getCamera(), getDecoderVersion(), handleCameraSupport(), rawspeed::Camera::hints, hints, mRaw, and ThrowRDE.

Referenced by rawspeed::AbstractTiffDecoder::checkCameraSupported(), rawspeed::CrwDecoder::checkSupportInternal(), rawspeed::MosDecoder::checkSupportInternal(), rawspeed::MrwDecoder::checkSupportInternal(), and rawspeed::NakedDecoder::checkSupportInternal().

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

◆ checkSupport()

void rawspeed::RawDecoder::checkSupport ( const CameraMetaData * meta)
inherited

Definition at line 354 of file RawDecoder.cpp.

References checkSupportInternal(), and ThrowRDE.

Here is the call graph for this function:

◆ checkSupportInternal()

void rawspeed::NefDecoder::checkSupportInternal ( const CameraMetaData * meta)
overridevirtual

Reimplemented from rawspeed::AbstractTiffDecoder.

Definition at line 402 of file NefDecoder.cpp.

References rawspeed::AbstractTiffDecoder::checkCameraSupported(), getExtendedMode(), getMode(), rawspeed::CameraMetaData::hasCamera(), and rawspeed::AbstractTiffDecoder::mRootIFD.

Here is the call graph for this function:

◆ D100IsCompressed()

bool rawspeed::NefDecoder::D100IsCompressed ( uint32_t offset) const
nodiscardprivate

Definition at line 145 of file NefDecoder.cpp.

References rawspeed::RawDecoder::mFile.

Referenced by decodeRawInternal().

Here is the caller graph for this function:

◆ DecodeD100Uncompressed()

void rawspeed::NefDecoder::DecodeD100Uncompressed ( ) const
private

Definition at line 360 of file NefDecoder.cpp.

References rawspeed::big, rawspeed::ByteStream::getRemainSize(), rawspeed::little, rawspeed::RawDecoder::mFile, rawspeed::RawDecoder::mRaw, rawspeed::AbstractTiffDecoder::mRootIFD, rawspeed::MSB, rawspeed::STRIPOFFSETS, and ThrowRDE.

Referenced by decodeRawInternal().

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

◆ decodeMetaData()

void rawspeed::RawDecoder::decodeMetaData ( const CameraMetaData * meta)
inherited

Definition at line 342 of file RawDecoder.cpp.

References decodeMetaDataInternal(), and ThrowRDE.

Here is the call graph for this function:

◆ decodeMetaDataInternal()

void rawspeed::NefDecoder::decodeMetaDataInternal ( const CameraMetaData * meta)
overridevirtual

◆ DecodeNikonSNef()

void rawspeed::NefDecoder::DecodeNikonSNef ( ByteStream input) const
private

Definition at line 675 of file NefDecoder.cpp.

References rawspeed::Array2DRef(), assert(), rawspeed::clampBits(), rawspeed::TiffEntry::count, gammaCurve(), rawspeed::TiffEntry::getFloat(), rawspeed::Array2DRef< T >::height(), rawspeed::implicit_cast(), rawspeed::RawDecoder::mRaw, rawspeed::AbstractTiffDecoder::mRootIFD, rawspeed::ByteStream::peekData(), rawspeed::RATIONAL, ThrowIOE, ThrowRDE, rawspeed::TiffEntry::type, and rawspeed::Array2DRef< T >::width().

Referenced by DecodeSNefUncompressed().

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

◆ decodeRaw()

rawspeed::RawImage rawspeed::RawDecoder::decodeRaw ( )
inherited

Definition at line 320 of file RawDecoder.cpp.

References rawspeed::MSan::CheckMemIsInitialized(), decodeRawInternal(), rawspeed::RawImageData::fixBadPixels(), rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef(), hints, interpolateBadPixels, rawspeed::RawImageData::metadata, rawspeed::ImageMetaData::pixelAspectRatio, and ThrowRDE.

Here is the call graph for this function:

◆ decodeRawInternal()

◆ DecodeSNefUncompressed()

void rawspeed::NefDecoder::DecodeSNefUncompressed ( ) const
private

Definition at line 383 of file NefDecoder.cpp.

References rawspeed::CFAPATTERN, DecodeNikonSNef(), rawspeed::AbstractTiffDecoder::getIFDWithLargestImage(), rawspeed::IMAGELENGTH, rawspeed::IMAGEWIDTH, rawspeed::little, rawspeed::RawDecoder::mFile, rawspeed::RawDecoder::mRaw, rawspeed::STRIPOFFSETS, and ThrowRDE.

Referenced by decodeRawInternal().

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

◆ DecodeUncompressed()

void rawspeed::NefDecoder::DecodeUncompressed ( ) const
private

◆ decodeUncompressed()

void rawspeed::RawDecoder::decodeUncompressed ( const TiffIFD * rawIFD,
BitOrder order ) const
protectedinherited

Definition at line 56 of file RawDecoder.cpp.

References assert(), rawspeed::BITSPERSAMPLE, rawspeed::RawDecoder::RawSlice::count, rawspeed::TiffEntry::count, rawspeed::TiffIFD::getEntry(), rawspeed::TiffEntry::getU32(), rawspeed::RawDecoder::RawSlice::h, rawspeed::IMAGELENGTH, rawspeed::IMAGEWIDTH, rawspeed::implicit_cast(), rawspeed::little, mFile, mRaw, rawspeed::RawDecoder::RawSlice::offset, rawspeed::roundUpDivisionSafe(), rawspeed::ROWSPERSTRIP, s, rawspeed::STRIPBYTECOUNTS, rawspeed::STRIPOFFSETS, and ThrowRDE.

Referenced by rawspeed::PefDecoder::decodeRawInternal(), and rawspeed::SrwDecoder::decodeRawInternal().

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

◆ gammaCurve()

std::vector< uint16_t > rawspeed::NefDecoder::gammaCurve ( double pwr,
double ts,
int imax )
staticprivate

Definition at line 809 of file NefDecoder.cpp.

References assert(), and SQR.

Referenced by DecodeNikonSNef().

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

◆ getBitPerSample()

int rawspeed::NefDecoder::getBitPerSample ( ) const
nodiscardprivate

Definition at line 413 of file NefDecoder.cpp.

References rawspeed::BITSPERSAMPLE, rawspeed::CFAPATTERN, and rawspeed::AbstractTiffDecoder::getIFDWithLargestImage().

Referenced by decodeMetaDataInternal().

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

◆ getDecoderVersion()

int rawspeed::NefDecoder::getDecoderVersion ( ) const
inlinenodiscardoverrideprivatevirtual

Implements rawspeed::RawDecoder.

Definition at line 54 of file NefDecoder.h.

◆ getDefaultCrop()

rawspeed::iRectangle2D rawspeed::RawDecoder::getDefaultCrop ( )
protectedvirtualinherited

Reimplemented in rawspeed::RafDecoder, and rawspeed::Rw2Decoder.

Definition at line 316 of file RawDecoder.cpp.

References mRaw.

Referenced by setMetaData().

Here is the caller graph for this function:

◆ getExtendedMode()

std::string rawspeed::NefDecoder::getExtendedMode ( const std::string & mode) const
nodiscardprivate

Definition at line 435 of file NefDecoder.cpp.

References rawspeed::CFAPATTERN, rawspeed::IMAGELENGTH, rawspeed::IMAGEWIDTH, and rawspeed::AbstractTiffDecoder::mRootIFD.

Referenced by checkSupportInternal(), and decodeMetaDataInternal().

Here is the caller graph for this function:

◆ getIFDWithLargestImage()

const TiffIFD * rawspeed::AbstractTiffDecoder::getIFDWithLargestImage ( TiffTag filter = TiffTag::IMAGEWIDTH) const
nodiscardinherited

Definition at line 37 of file AbstractTiffDecoder.cpp.

References rawspeed::TiffEntry::count, rawspeed::TiffEntry::getU32(), rawspeed::IMAGEWIDTH, mRootIFD, and ThrowRDE.

Referenced by rawspeed::NefDecoder::DecodeSNefUncompressed(), rawspeed::NefDecoder::DecodeUncompressed(), rawspeed::NefDecoder::getBitPerSample(), rawspeed::NefDecoder::getMode(), and rawspeed::SimpleTiffDecoder::prepareForRawDecoding().

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

◆ getMode()

std::string rawspeed::NefDecoder::getMode ( ) const
nodiscardprivate

Definition at line 418 of file NefDecoder.cpp.

References rawspeed::BITSPERSAMPLE, rawspeed::CFAPATTERN, rawspeed::COMPRESSION, rawspeed::AbstractTiffDecoder::getIFDWithLargestImage(), NEFIsUncompressed(), and NEFIsUncompressedRGB().

Referenced by checkSupportInternal(), and decodeMetaDataInternal().

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

◆ getRootIFD()

TiffIFD * rawspeed::AbstractTiffDecoder::getRootIFD ( )
inlinefinalvirtualinherited

Reimplemented from rawspeed::RawDecoder.

Definition at line 46 of file AbstractTiffDecoder.h.

References mRootIFD.

Referenced by rawspeed::PefDecoder::decodeRawInternal().

Here is the caller graph for this function:

◆ handleCameraSupport()

bool rawspeed::RawDecoder::handleCameraSupport ( const CameraMetaData * meta,
const std::string & make,
const std::string & model,
const std::string & mode )
protectedinherited

Definition at line 146 of file RawDecoder.cpp.

References failOnUnknown, rawspeed::CameraMetaData::getCamera(), noSamples, rawspeed::Camera::supportStatus, ThrowRDE, rawspeed::Camera::UnknownCamera, rawspeed::WARNING, and rawspeed::writeLog().

Referenced by checkCameraSupported(), and setMetaData().

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

◆ isAppropriateDecoder()

bool rawspeed::NefDecoder::isAppropriateDecoder ( const TiffRootIFD * rootIFD,
Buffer file )
static

Definition at line 63 of file NefDecoder.cpp.

References rawspeed::TiffRootIFD::getID(), and rawspeed::TiffID::make.

Here is the call graph for this function:

◆ NEFIsUncompressed()

bool rawspeed::NefDecoder::NEFIsUncompressed ( const TiffIFD * raw)
staticprivate

Definition at line 157 of file NefDecoder.cpp.

References rawspeed::iPoint2D::area(), assert(), rawspeed::BITSPERSAMPLE, rawspeed::TiffIFD::getEntry(), rawspeed::TiffEntry::getU32(), rawspeed::IMAGELENGTH, rawspeed::IMAGEWIDTH, rawspeed::roundUpDivisionSafe(), and rawspeed::STRIPBYTECOUNTS.

Referenced by decodeRawInternal(), and getMode().

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

◆ NEFIsUncompressedRGB()

bool rawspeed::NefDecoder::NEFIsUncompressedRGB ( const TiffIFD * raw)
staticprivate

Definition at line 200 of file NefDecoder.cpp.

References rawspeed::iPoint2D::area(), rawspeed::TiffIFD::getEntry(), rawspeed::TiffEntry::getU32(), rawspeed::IMAGELENGTH, rawspeed::IMAGEWIDTH, and rawspeed::STRIPBYTECOUNTS.

Referenced by decodeRawInternal(), and getMode().

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

◆ parseWhiteBalance()

void rawspeed::NefDecoder::parseWhiteBalance ( ) const
private

◆ readCoolpixSplitRaw()

void rawspeed::NefDecoder::readCoolpixSplitRaw ( ByteStream input,
const iPoint2D & size,
const iPoint2D & offset,
int inputPitch ) const
private

Definition at line 315 of file NefDecoder.cpp.

References assert(), rawspeed::Buffer::getAsArray1DRef(), rawspeed::BitStreamer< Tag >::getBits(), rawspeed::BitStreamer< Tag >::getRemainingSize(), rawspeed::ByteStream::getStream(), rawspeed::implicit_cast(), rawspeed::RawDecoder::mRaw, rawspeed::ByteStream::peekRemainingBuffer(), and ThrowRDE.

Referenced by DecodeUncompressed().

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

◆ setMetaData() [1/3]

void rawspeed::RawDecoder::setMetaData ( const CameraMetaData * meta,
const std::string & make,
const std::string & model,
const std::string & mode,
int iso_speed = 0 )
virtualinherited

Reimplemented from rawspeed::RawDecoder.

Definition at line 141 of file RawDecoder.cpp.

◆ setMetaData() [2/3]

void rawspeed::AbstractTiffDecoder::setMetaData ( const CameraMetaData * meta,
const std::string & mode,
int iso_speed )
inlineinherited

Definition at line 60 of file AbstractTiffDecoder.h.

References mRootIFD, and setMetaData().

Here is the call graph for this function:

◆ setMetaData() [3/3]

Member Data Documentation

◆ applyCrop

bool rawspeed::RawDecoder::applyCrop {true}
inherited

◆ applyStage1DngOpcodes

bool rawspeed::RawDecoder::applyStage1DngOpcodes {true}
inherited

Definition at line 93 of file RawDecoder.h.

Referenced by rawspeed::DngDecoder::handleMetadata().

◆ failOnUnknown

bool rawspeed::RawDecoder::failOnUnknown {false}
inherited

Definition at line 85 of file RawDecoder.h.

Referenced by rawspeed::DngDecoder::checkSupportInternal(), and handleCameraSupport().

◆ fujiRotate

bool rawspeed::RawDecoder::fujiRotate {true}
inherited

Definition at line 105 of file RawDecoder.h.

Referenced by rawspeed::RafDecoder::applyCorrections().

◆ hints

◆ [struct]

struct { ... } rawspeed::RawDecoder::iiq

◆ interpolateBadPixels

bool rawspeed::RawDecoder::interpolateBadPixels {true}
inherited

Definition at line 89 of file RawDecoder.h.

Referenced by decodeRaw().

◆ keymap

const std::array< uint8_t, 256 > rawspeed::NefDecoder::keymap
staticprivate
Initial value:
= {
{0xa7, 0xbc, 0xc9, 0xad, 0x91, 0xdf, 0x85, 0xe5, 0xd4, 0x78, 0xd5, 0x17,
0x46, 0x7c, 0x29, 0x4c, 0x4d, 0x03, 0xe9, 0x25, 0x68, 0x11, 0x86, 0xb3,
0xbd, 0xf7, 0x6f, 0x61, 0x22, 0xa2, 0x26, 0x34, 0x2a, 0xbe, 0x1e, 0x46,
0x14, 0x68, 0x9d, 0x44, 0x18, 0xc2, 0x40, 0xf4, 0x7e, 0x5f, 0x1b, 0xad,
0x0b, 0x94, 0xb6, 0x67, 0xb4, 0x0b, 0xe1, 0xea, 0x95, 0x9c, 0x66, 0xdc,
0xe7, 0x5d, 0x6c, 0x05, 0xda, 0xd5, 0xdf, 0x7a, 0xef, 0xf6, 0xdb, 0x1f,
0x82, 0x4c, 0xc0, 0x68, 0x47, 0xa1, 0xbd, 0xee, 0x39, 0x50, 0x56, 0x4a,
0xdd, 0xdf, 0xa5, 0xf8, 0xc6, 0xda, 0xca, 0x90, 0xca, 0x01, 0x42, 0x9d,
0x8b, 0x0c, 0x73, 0x43, 0x75, 0x05, 0x94, 0xde, 0x24, 0xb3, 0x80, 0x34,
0xe5, 0x2c, 0xdc, 0x9b, 0x3f, 0xca, 0x33, 0x45, 0xd0, 0xdb, 0x5f, 0xf5,
0x52, 0xc3, 0x21, 0xda, 0xe2, 0x22, 0x72, 0x6b, 0x3e, 0xd0, 0x5b, 0xa8,
0x87, 0x8c, 0x06, 0x5d, 0x0f, 0xdd, 0x09, 0x19, 0x93, 0xd0, 0xb9, 0xfc,
0x8b, 0x0f, 0x84, 0x60, 0x33, 0x1c, 0x9b, 0x45, 0xf1, 0xf0, 0xa3, 0x94,
0x3a, 0x12, 0x77, 0x33, 0x4d, 0x44, 0x78, 0x28, 0x3c, 0x9e, 0xfd, 0x65,
0x57, 0x16, 0x94, 0x6b, 0xfb, 0x59, 0xd0, 0xc8, 0x22, 0x36, 0xdb, 0xd2,
0x63, 0x98, 0x43, 0xa1, 0x04, 0x87, 0x86, 0xf7, 0xa6, 0x26, 0xbb, 0xd6,
0x59, 0x4d, 0xbf, 0x6a, 0x2e, 0xaa, 0x2b, 0xef, 0xe6, 0x78, 0xb6, 0x4e,
0xe0, 0x2f, 0xdc, 0x7c, 0xbe, 0x57, 0x19, 0x32, 0x7e, 0x2a, 0xd0, 0xb8,
0xba, 0x29, 0x00, 0x3c, 0x52, 0x7d, 0xa8, 0x49, 0x3b, 0x2d, 0xeb, 0x25,
0x49, 0xfa, 0xa3, 0xaa, 0x39, 0xa7, 0xc5, 0xa7, 0x50, 0x11, 0x36, 0xfb,
0xc6, 0x67, 0x4a, 0xf5, 0xa5, 0x12, 0x65, 0x7e, 0xb0, 0xdf, 0xaf, 0x4e,
0xb3, 0x61, 0x7f, 0x2f}}

Definition at line 72 of file NefDecoder.h.

Referenced by parseWhiteBalance().

◆ mFile

Buffer rawspeed::RawDecoder::mFile
protectedinherited

◆ mRaw

RawImage rawspeed::RawDecoder::mRaw = RawImage::create()
inherited

Definition at line 74 of file RawDecoder.h.

Referenced by rawspeed::RafDecoder::applyCorrections(), checkCameraSupported(), rawspeed::IiqDecoder::checkSupportInternal(), rawspeed::RafDecoder::checkSupportInternal(), rawspeed::IiqDecoder::correctBadColumn(), rawspeed::IiqDecoder::CorrectQuadrantMultipliersCombined(), rawspeed::IiqDecoder::correctSensorDefects(), rawspeed::ArwDecoder::DecodeARW2(), rawspeed::DngDecoder::decodeBlackLevels(), rawspeed::Cr2Decoder::decodeCanonColorData(), rawspeed::NefDecoder::DecodeD100Uncompressed(), rawspeed::DngDecoder::decodeData(), rawspeed::ArwDecoder::DecodeLJpeg(), rawspeed::DngDecoder::decodeMaskedAreas(), rawspeed::ArwDecoder::decodeMetaDataInternal(), rawspeed::Cr2Decoder::decodeMetaDataInternal(), rawspeed::CrwDecoder::decodeMetaDataInternal(), rawspeed::DngDecoder::decodeMetaDataInternal(), rawspeed::ErfDecoder::decodeMetaDataInternal(), rawspeed::IiqDecoder::decodeMetaDataInternal(), rawspeed::KdcDecoder::decodeMetaDataInternal(), rawspeed::MosDecoder::decodeMetaDataInternal(), rawspeed::MrwDecoder::decodeMetaDataInternal(), rawspeed::NefDecoder::decodeMetaDataInternal(), rawspeed::OrfDecoder::decodeMetaDataInternal(), rawspeed::PefDecoder::decodeMetaDataInternal(), rawspeed::RafDecoder::decodeMetaDataInternal(), rawspeed::Rw2Decoder::decodeMetaDataInternal(), rawspeed::SrwDecoder::decodeMetaDataInternal(), rawspeed::ThreefrDecoder::decodeMetaDataInternal(), rawspeed::Cr2Decoder::decodeNewFormat(), rawspeed::NefDecoder::DecodeNikonSNef(), rawspeed::Cr2Decoder::decodeOldFormat(), rawspeed::ArwDecoder::decodeRawInternal(), rawspeed::CrwDecoder::decodeRawInternal(), rawspeed::DcrDecoder::decodeRawInternal(), rawspeed::DcsDecoder::decodeRawInternal(), rawspeed::DngDecoder::decodeRawInternal(), rawspeed::ErfDecoder::decodeRawInternal(), rawspeed::IiqDecoder::decodeRawInternal(), rawspeed::KdcDecoder::decodeRawInternal(), rawspeed::MefDecoder::decodeRawInternal(), rawspeed::MosDecoder::decodeRawInternal(), rawspeed::MrwDecoder::decodeRawInternal(), rawspeed::NakedDecoder::decodeRawInternal(), rawspeed::NefDecoder::decodeRawInternal(), rawspeed::OrfDecoder::decodeRawInternal(), rawspeed::PefDecoder::decodeRawInternal(), rawspeed::RafDecoder::decodeRawInternal(), rawspeed::Rw2Decoder::decodeRawInternal(), rawspeed::SrwDecoder::decodeRawInternal(), rawspeed::StiDecoder::decodeRawInternal(), rawspeed::ThreefrDecoder::decodeRawInternal(), rawspeed::Rw2Decoder::decodeRawV8(), rawspeed::NefDecoder::DecodeSNefUncompressed(), rawspeed::ArwDecoder::decodeSRF(), rawspeed::ArwDecoder::decodeTransitionalArw(), rawspeed::ArwDecoder::DecodeUncompressed(), rawspeed::NefDecoder::DecodeUncompressed(), rawspeed::StiDecoder::DecodeUncompressed(), rawspeed::ThreefrDecoder::DecodeUncompressed(), rawspeed::OrfDecoder::decodeUncompressed(), decodeUncompressed(), rawspeed::OrfDecoder::decodeUncompressedInterleaved(), getDefaultCrop(), rawspeed::Cr2Decoder::getHue(), rawspeed::DngDecoder::getTilingDescription(), rawspeed::ArwDecoder::GetWB(), rawspeed::Rw2Decoder::guessMode(), rawspeed::IiqDecoder::handleBadPixel(), rawspeed::DngDecoder::handleMetadata(), rawspeed::ArwDecoder::ParseA100WB(), rawspeed::DngDecoder::parseACTIVEAREA(), rawspeed::DngDecoder::parseCFA(), rawspeed::OrfDecoder::parseCFA(), rawspeed::Rw2Decoder::parseCFA(), rawspeed::DngDecoder::parseColorMatrix(), rawspeed::Cr2Decoder::parseWhiteBalance(), rawspeed::DngDecoder::parseWhiteBalance(), rawspeed::NefDecoder::parseWhiteBalance(), rawspeed::IiqDecoder::PhaseOneFlatField(), rawspeed::SimpleTiffDecoder::prepareForRawDecoding(), rawspeed::NefDecoder::readCoolpixSplitRaw(), rawspeed::DngDecoder::setBlack(), setMetaData(), and rawspeed::Cr2Decoder::sRawInterpolate().

◆ mRootIFD

TiffRootIFDOwner rawspeed::AbstractTiffDecoder::mRootIFD
protectedinherited

Definition at line 40 of file AbstractTiffDecoder.h.

Referenced by AbstractTiffDecoder(), rawspeed::DngDecoder::DngDecoder(), rawspeed::MosDecoder::MosDecoder(), checkSupportInternal(), rawspeed::Cr2Decoder::checkSupportInternal(), rawspeed::DngDecoder::checkSupportInternal(), rawspeed::IiqDecoder::checkSupportInternal(), rawspeed::NefDecoder::checkSupportInternal(), rawspeed::RafDecoder::checkSupportInternal(), rawspeed::Rw2Decoder::checkSupportInternal(), rawspeed::SrwDecoder::checkSupportInternal(), rawspeed::Cr2Decoder::decodeCanonColorData(), rawspeed::NefDecoder::DecodeD100Uncompressed(), rawspeed::DngDecoder::decodeData(), rawspeed::ArwDecoder::decodeMetaDataInternal(), rawspeed::Cr2Decoder::decodeMetaDataInternal(), rawspeed::DngDecoder::decodeMetaDataInternal(), rawspeed::ErfDecoder::decodeMetaDataInternal(), rawspeed::KdcDecoder::decodeMetaDataInternal(), rawspeed::MosDecoder::decodeMetaDataInternal(), rawspeed::NefDecoder::decodeMetaDataInternal(), rawspeed::OrfDecoder::decodeMetaDataInternal(), rawspeed::PefDecoder::decodeMetaDataInternal(), rawspeed::RafDecoder::decodeMetaDataInternal(), rawspeed::Rw2Decoder::decodeMetaDataInternal(), rawspeed::SrwDecoder::decodeMetaDataInternal(), rawspeed::ThreefrDecoder::decodeMetaDataInternal(), rawspeed::Cr2Decoder::decodeNewFormat(), rawspeed::NefDecoder::DecodeNikonSNef(), rawspeed::Cr2Decoder::decodeOldFormat(), rawspeed::ArwDecoder::decodeRawInternal(), rawspeed::Cr2Decoder::decodeRawInternal(), rawspeed::DcrDecoder::decodeRawInternal(), rawspeed::DcsDecoder::decodeRawInternal(), rawspeed::DngDecoder::decodeRawInternal(), rawspeed::KdcDecoder::decodeRawInternal(), rawspeed::MosDecoder::decodeRawInternal(), rawspeed::NefDecoder::decodeRawInternal(), rawspeed::OrfDecoder::decodeRawInternal(), rawspeed::PefDecoder::decodeRawInternal(), rawspeed::RafDecoder::decodeRawInternal(), rawspeed::Rw2Decoder::decodeRawInternal(), rawspeed::SrwDecoder::decodeRawInternal(), rawspeed::StiDecoder::decodeRawInternal(), rawspeed::ThreefrDecoder::decodeRawInternal(), rawspeed::ArwDecoder::decodeSRF(), rawspeed::ArwDecoder::decodeTransitionalArw(), rawspeed::NefDecoder::DecodeUncompressed(), rawspeed::OrfDecoder::getBitsPerPixel(), rawspeed::RafDecoder::getDefaultCrop(), rawspeed::NefDecoder::getExtendedMode(), rawspeed::Cr2Decoder::getHue(), getIFDWithLargestImage(), rawspeed::KdcDecoder::getInputBuffer(), rawspeed::SrwDecoder::getMode(), rawspeed::Rw2Decoder::getRaw(), getRootIFD(), rawspeed::Cr2Decoder::getSubSampling(), rawspeed::ArwDecoder::GetWB(), rawspeed::OrfDecoder::handleSlices(), rawspeed::RafDecoder::isCompressed(), rawspeed::Cr2Decoder::isSubSampled(), rawspeed::ArwDecoder::ParseA100WB(), rawspeed::OrfDecoder::parseCFA(), rawspeed::Rw2Decoder::parseCFA(), rawspeed::DngDecoder::parseColorMatrix(), rawspeed::Cr2Decoder::parseWhiteBalance(), rawspeed::DngDecoder::parseWhiteBalance(), rawspeed::NefDecoder::parseWhiteBalance(), setMetaData(), and rawspeed::Cr2Decoder::sRawInterpolate().

◆ noSamples

bool rawspeed::RawDecoder::noSamples = false
inherited

Definition at line 117 of file RawDecoder.h.

Referenced by handleCameraSupport().

◆ quadrantMultipliers

bool rawspeed::RawDecoder::quadrantMultipliers = true
inherited

Definition at line 109 of file RawDecoder.h.

◆ serialmap

const std::array< uint8_t, 256 > rawspeed::NefDecoder::serialmap
staticprivate
Initial value:
= {
{0xc1, 0xbf, 0x6d, 0x0d, 0x59, 0xc5, 0x13, 0x9d, 0x83, 0x61, 0x6b, 0x4f,
0xc7, 0x7f, 0x3d, 0x3d, 0x53, 0x59, 0xe3, 0xc7, 0xe9, 0x2f, 0x95, 0xa7,
0x95, 0x1f, 0xdf, 0x7f, 0x2b, 0x29, 0xc7, 0x0d, 0xdf, 0x07, 0xef, 0x71,
0x89, 0x3d, 0x13, 0x3d, 0x3b, 0x13, 0xfb, 0x0d, 0x89, 0xc1, 0x65, 0x1f,
0xb3, 0x0d, 0x6b, 0x29, 0xe3, 0xfb, 0xef, 0xa3, 0x6b, 0x47, 0x7f, 0x95,
0x35, 0xa7, 0x47, 0x4f, 0xc7, 0xf1, 0x59, 0x95, 0x35, 0x11, 0x29, 0x61,
0xf1, 0x3d, 0xb3, 0x2b, 0x0d, 0x43, 0x89, 0xc1, 0x9d, 0x9d, 0x89, 0x65,
0xf1, 0xe9, 0xdf, 0xbf, 0x3d, 0x7f, 0x53, 0x97, 0xe5, 0xe9, 0x95, 0x17,
0x1d, 0x3d, 0x8b, 0xfb, 0xc7, 0xe3, 0x67, 0xa7, 0x07, 0xf1, 0x71, 0xa7,
0x53, 0xb5, 0x29, 0x89, 0xe5, 0x2b, 0xa7, 0x17, 0x29, 0xe9, 0x4f, 0xc5,
0x65, 0x6d, 0x6b, 0xef, 0x0d, 0x89, 0x49, 0x2f, 0xb3, 0x43, 0x53, 0x65,
0x1d, 0x49, 0xa3, 0x13, 0x89, 0x59, 0xef, 0x6b, 0xef, 0x65, 0x1d, 0x0b,
0x59, 0x13, 0xe3, 0x4f, 0x9d, 0xb3, 0x29, 0x43, 0x2b, 0x07, 0x1d, 0x95,
0x59, 0x59, 0x47, 0xfb, 0xe5, 0xe9, 0x61, 0x47, 0x2f, 0x35, 0x7f, 0x17,
0x7f, 0xef, 0x7f, 0x95, 0x95, 0x71, 0xd3, 0xa3, 0x0b, 0x71, 0xa3, 0xad,
0x0b, 0x3b, 0xb5, 0xfb, 0xa3, 0xbf, 0x4f, 0x83, 0x1d, 0xad, 0xe9, 0x2f,
0x71, 0x65, 0xa3, 0xe5, 0x07, 0x35, 0x3d, 0x0d, 0xb5, 0xe9, 0xe5, 0x47,
0x3b, 0x9d, 0xef, 0x35, 0xa3, 0xbf, 0xb3, 0xdf, 0x53, 0xd3, 0x97, 0x53,
0x49, 0x71, 0x07, 0x35, 0x61, 0x71, 0x2f, 0x43, 0x2f, 0x11, 0xdf, 0x17,
0x97, 0xfb, 0x95, 0x3b, 0x7f, 0x6b, 0xd3, 0x25, 0xbf, 0xad, 0xc7, 0xc5,
0xc5, 0xb5, 0x8b, 0xef, 0x2f, 0xd3, 0x07, 0x6b, 0x25, 0x49, 0x95, 0x25,
0x49, 0x6d, 0x71, 0xc7}}

Definition at line 71 of file NefDecoder.h.

Referenced by parseWhiteBalance().

◆ uncorrectedRawValues


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