RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
VC5Decompressor.cpp File Reference
#include "rawspeedconfig.h"
#include "decompressors/VC5Decompressor.h"
#include "adt/Array1DRef.h"
#include "adt/Array2DRef.h"
#include "adt/Bit.h"
#include "adt/Casts.h"
#include "adt/Invariant.h"
#include "adt/Optional.h"
#include "adt/Point.h"
#include "bitstreams/BitStreamerMSB.h"
#include "codes/AbstractPrefixCode.h"
#include "codes/PrefixCode.h"
#include "common/BayerPhase.h"
#include "common/Common.h"
#include "common/ErrorLog.h"
#include "common/RawImage.h"
#include "common/SimpleLUT.h"
#include "decoders/RawDecoderException.h"
#include "io/Buffer.h"
#include "io/ByteStream.h"
#include "io/Endianness.h"
#include <algorithm>
#include <array>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <memory>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>
#include "gopro/vc5/table17.inc"
Include dependency graph for VC5Decompressor.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{VC5Decompressor.cpp}::RLV
struct  rawspeed::anonymous_namespace{VC5Decompressor.cpp}::ConvolutionParams
struct  rawspeed::anonymous_namespace{VC5Decompressor.cpp}::ConvolutionParams::First
struct  rawspeed::anonymous_namespace{VC5Decompressor.cpp}::ConvolutionParams::Middle
struct  rawspeed::anonymous_namespace{VC5Decompressor.cpp}::ConvolutionParams::Last

Namespaces

namespace  anonymous_namespace{VC5Decompressor.cpp}
namespace  rawspeed
namespace  rawspeed::anonymous_namespace{VC5Decompressor.cpp}

Macros

#define RLVTABLE(n)

Functions

constexpr auto anonymous_namespace{VC5Decompressor.cpp}::decompand (int16_t val)
bool anonymous_namespace{VC5Decompressor.cpp}::readValue (const bool &storage)
template<typename LowGetter>
auto rawspeed::anonymous_namespace{VC5Decompressor.cpp}::convolute (int row, int col, std::array< int, 4 > muls, const Array2DRef< const int16_t > high, LowGetter lowGetter, int DescaleShift=0)

Variables

 anonymous_namespace{VC5Decompressor.cpp}::table17
const int anonymous_namespace{VC5Decompressor.cpp}::ignore
constexpr int anonymous_namespace{VC5Decompressor.cpp}::PRECISION_MIN = 8
constexpr int anonymous_namespace{VC5Decompressor.cpp}::PRECISION_MAX = 16
constexpr int anonymous_namespace{VC5Decompressor.cpp}::MARKER_BAND_END = 1
static constexpr int rawspeed::DecompandedCodeValueBitWidth = 10
static constexpr int rawspeed::RLVRunLengthBitWidth = 9

Macro Definition Documentation

◆ RLVTABLE

#define RLVTABLE ( n)
Value:
struct { \
const uint32_t length; \
const RLV entries[n]; \
} constexpr

Definition at line 76 of file VC5Decompressor.cpp.