RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::anonymous_namespace{Rw2Decoder.cpp} Namespace Reference

Classes

struct  DecompressorV8Params

Functions

template<typename T>
void getPanasonicTiffVector (const TiffIFD &ifd, TiffTag tag, std::vector< T > &output)
 Retrieve list of values from Panasonic TiffTag.
void populateGammaLUT (const DecompressorV8Params &mParams, const TiffIFD &ifd)
std::vector< Array1DRef< const uint8_t > > getInputStrips (const DecompressorV8Params &mParams, Buffer mInputFile)

Function Documentation

◆ getInputStrips()

std::vector< Array1DRef< const uint8_t > > rawspeed::anonymous_namespace{Rw2Decoder.cpp}::getInputStrips ( const DecompressorV8Params & mParams,
Buffer mInputFile )

Definition at line 222 of file Rw2Decoder.cpp.

References rawspeed::big, rawspeed::Buffer::getAsArray1DRef(), getInputStrips(), rawspeed::Buffer::getSubView(), rawspeed::anonymous_namespace{Rw2Decoder.cpp}::DecompressorV8Params::horizontalStripCount, rawspeed::anonymous_namespace{Rw2Decoder.cpp}::DecompressorV8Params::stripBitLengths, rawspeed::anonymous_namespace{Rw2Decoder.cpp}::DecompressorV8Params::stripByteOffsets, and rawspeed::anonymous_namespace{Rw2Decoder.cpp}::DecompressorV8Params::verticalStripCount.

Referenced by getInputStrips().

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

◆ getPanasonicTiffVector()

template<typename T>
void rawspeed::anonymous_namespace{Rw2Decoder.cpp}::getPanasonicTiffVector ( const TiffIFD & ifd,
TiffTag tag,
std::vector< T > & output )

Retrieve list of values from Panasonic TiffTag.

Definition at line 76 of file Rw2Decoder.cpp.

References rawspeed::ByteStream::get(), rawspeed::TiffEntry::getData(), rawspeed::TiffIFD::getEntry(), getPanasonicTiffVector(), rawspeed::ByteStream::getU16(), and rawspeed::T().

Referenced by rawspeed::anonymous_namespace{Rw2Decoder.cpp}::DecompressorV8Params::DecompressorV8Params(), getPanasonicTiffVector(), and populateGammaLUT().

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

◆ populateGammaLUT()

void rawspeed::anonymous_namespace{Rw2Decoder.cpp}::populateGammaLUT ( const DecompressorV8Params & mParams,
const TiffIFD & ifd )

Maybe the most complicated part of the entire file format, and seemingly, completely unused.

Definition at line 185 of file Rw2Decoder.cpp.

References getPanasonicTiffVector(), rawspeed::PANASONIC_V8_GAMMA_POINTS, rawspeed::PANASONIC_V8_GAMMA_SLOPES, populateGammaLUT(), s, and ThrowRDE.

Referenced by populateGammaLUT().

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