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

Classes

struct  RLV

Functions

constexpr auto decompand (int16_t val)
bool readValue (const bool &storage)

Variables

 table17
const int ignore
constexpr int PRECISION_MIN = 8
constexpr int PRECISION_MAX = 16
constexpr int MARKER_BAND_END = 1

Function Documentation

◆ decompand()

auto anonymous_namespace{VC5Decompressor.cpp}::decompand ( int16_t val)
constexpr

Definition at line 83 of file VC5Decompressor.cpp.

References rawspeed::implicit_cast().

Here is the call graph for this function:

◆ readValue()

bool anonymous_namespace{VC5Decompressor.cpp}::readValue ( const bool & storage)
inline

Definition at line 105 of file VC5Decompressor.cpp.

Variable Documentation

◆ ignore

const int anonymous_namespace{VC5Decompressor.cpp}::ignore
Initial value:
= []() {
for (const RLV& entry : table17.entries) {
assert(((-decompand(entry.value)) == decompand(-int16_t(entry.value))) &&
"negation of decompanded value is the same as decompanding of "
"negated value");
}
return 0;
}()
assert(dim.area() >=area)

Definition at line 95 of file VC5Decompressor.cpp.

◆ MARKER_BAND_END

int anonymous_namespace{VC5Decompressor.cpp}::MARKER_BAND_END = 1
constexpr

Definition at line 118 of file VC5Decompressor.cpp.

◆ PRECISION_MAX

int anonymous_namespace{VC5Decompressor.cpp}::PRECISION_MAX = 16
constexpr

Definition at line 117 of file VC5Decompressor.cpp.

◆ PRECISION_MIN

int anonymous_namespace{VC5Decompressor.cpp}::PRECISION_MIN = 8
constexpr

Definition at line 116 of file VC5Decompressor.cpp.

◆ table17

anonymous_namespace{VC5Decompressor.cpp}::table17

Definition at line 25 of file VC5Decompressor.cpp.