RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::VC5Decompressor::Wavelet Class Referencefinal
Collaboration diagram for rawspeed::VC5Decompressor::Wavelet:
[legend]

Classes

struct  AbstractBand
struct  ReconstructableBand
struct  AbstractDecodeableBand
struct  LowPassBand
struct  HighPassBand

Public Member Functions

void setBandValid (int band)
bool isBandValid (int band) const
uint32_t getValidBandMask () const
bool allBandsValid () const

Static Public Member Functions

static BandData reconstructPass (Array2DRef< const int16_t > high, Array2DRef< const int16_t > low) noexcept
static BandData combineLowHighPass (Array2DRef< const int16_t > low, Array2DRef< const int16_t > high, int descaleShift, bool clampUint, bool finalWavelet) noexcept

Public Attributes

int width
int height
int16_t prescale
std::vector< std::unique_ptr< AbstractBand > > bands
uint32_t mDecodedBandMask = 0

Static Public Attributes

static constexpr uint16_t maxBands = numLowPassBands + numHighPassBands

Detailed Description

Definition at line 140 of file VC5Decompressor.h.

Member Function Documentation

◆ allBandsValid()

bool rawspeed::VC5Decompressor::Wavelet::allBandsValid ( ) const
nodiscard

Definition at line 132 of file VC5Decompressor.cpp.

References maxBands, and mDecodedBandMask.

Referenced by rawspeed::VC5Decompressor::parseLargeCodeblock().

Here is the caller graph for this function:

◆ combineLowHighPass()

VC5Decompressor::BandData rawspeed::VC5Decompressor::Wavelet::combineLowHighPass ( Array2DRef< const int16_t > low,
Array2DRef< const int16_t > high,
int descaleShift,
bool clampUint = false,
bool finalWavelet = false )
staticnoexcept

Definition at line 234 of file VC5Decompressor.cpp.

References rawspeed::clampBits(), rawspeed::VC5Decompressor::BandData::description, rawspeed::Array2DRef< T >::height(), and rawspeed::Array2DRef< T >::width().

Referenced by rawspeed::VC5Decompressor::Wavelet::ReconstructableBand::createLowHighPassCombiningTask().

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

◆ getValidBandMask()

uint32_t rawspeed::VC5Decompressor::Wavelet::getValidBandMask ( ) const
inlinenodiscard

Definition at line 203 of file VC5Decompressor.h.

References mDecodedBandMask.

◆ isBandValid()

bool rawspeed::VC5Decompressor::Wavelet::isBandValid ( int band) const
nodiscard

Definition at line 128 of file VC5Decompressor.cpp.

References mDecodedBandMask.

Referenced by rawspeed::VC5Decompressor::parseLargeCodeblock().

Here is the caller graph for this function:

◆ reconstructPass()

VC5Decompressor::BandData rawspeed::VC5Decompressor::Wavelet::reconstructPass ( Array2DRef< const int16_t > high,
Array2DRef< const int16_t > low )
staticnoexcept

Definition at line 183 of file VC5Decompressor.cpp.

References rawspeed::VC5Decompressor::BandData::description.

Referenced by rawspeed::VC5Decompressor::Wavelet::ReconstructableBand::createHighpassReconstructionTask(), and rawspeed::VC5Decompressor::Wavelet::ReconstructableBand::createLowpassReconstructionTask().

Here is the caller graph for this function:

◆ setBandValid()

void rawspeed::VC5Decompressor::Wavelet::setBandValid ( int band)

Definition at line 124 of file VC5Decompressor.cpp.

References mDecodedBandMask.

Referenced by rawspeed::VC5Decompressor::parseLargeCodeblock().

Here is the caller graph for this function:

Member Data Documentation

◆ bands

std::vector<std::unique_ptr<AbstractBand> > rawspeed::VC5Decompressor::Wavelet::bands

◆ height

◆ maxBands

uint16_t rawspeed::VC5Decompressor::Wavelet::maxBands = numLowPassBands + numHighPassBands
staticconstexpr

◆ mDecodedBandMask

uint32_t rawspeed::VC5Decompressor::Wavelet::mDecodedBandMask = 0

Definition at line 215 of file VC5Decompressor.h.

Referenced by allBandsValid(), getValidBandMask(), isBandValid(), and setBandValid().

◆ prescale

int16_t rawspeed::VC5Decompressor::Wavelet::prescale

Definition at line 144 of file VC5Decompressor.h.

◆ width


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