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

Classes

struct  BitStreamRoundtripTypes
struct  BitStreamRoundtripTypes< BitstreamFlavorMSB >
struct  BitStreamRoundtripTypes< BitstreamFlavorMSB32 >
struct  BitStreamRoundtripTypes< BitstreamFlavorJPEG >

Functions

template<typename flavor, bool IsFullDecode, typename HT>
void workloop (Array1DRef< const uint8_t > inputSrc, const HT &ht)
template<typename flavor, typename HT>
void checkPump (Array1DRef< const uint8_t > input, const HT &ht)
template<typename HT>
void checkDecoder (ByteStream bs)
template<typename CodeTag>
void checkFlavour (ByteStream bs)
int LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size)

Function Documentation

◆ checkDecoder()

template<typename HT>
void rawspeed::anonymous_namespace{PrefixCodeEncoder.cpp}::checkDecoder ( ByteStream bs)

Definition at line 144 of file PrefixCodeEncoder.cpp.

References checkDecoder(), checkPump(), createPrefixCodeDecoder(), rawspeed::Buffer::getAsArray1DRef(), rawspeed::ByteStream::getByte(), rawspeed::ByteStream::peekRemainingBuffer(), and ThrowRSE.

Referenced by checkDecoder(), and checkFlavour().

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

◆ checkFlavour()

template<typename CodeTag>
void rawspeed::anonymous_namespace{PrefixCodeEncoder.cpp}::checkFlavour ( ByteStream bs)

Definition at line 165 of file PrefixCodeEncoder.cpp.

References checkDecoder(), checkFlavour(), rawspeed::ByteStream::getByte(), and ThrowRSE.

Referenced by checkFlavour(), and LLVMFuzzerTestOneInput().

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

◆ checkPump()

template<typename flavor, typename HT>
void rawspeed::anonymous_namespace{PrefixCodeEncoder.cpp}::checkPump ( Array1DRef< const uint8_t > input,
const HT & ht )

Definition at line 137 of file PrefixCodeEncoder.cpp.

References checkPump(), and workloop().

Referenced by checkDecoder(), and checkPump().

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

◆ LLVMFuzzerTestOneInput()

int rawspeed::anonymous_namespace{PrefixCodeEncoder.cpp}::LLVMFuzzerTestOneInput ( const uint8_t * Data,
size_t Size )

Definition at line 204 of file PrefixCodeEncoder.cpp.

References assert(), checkFlavour(), rawspeed::ByteStream::getByte(), rawspeed::implicit_cast(), rawspeed::little, and ThrowRSE.

Here is the call graph for this function:

◆ workloop()

template<typename flavor, bool IsFullDecode, typename HT>
void rawspeed::anonymous_namespace{PrefixCodeEncoder.cpp}::workloop ( Array1DRef< const uint8_t > inputSrc,
const HT & ht )

Definition at line 80 of file PrefixCodeEncoder.cpp.

References rawspeed::Array1DRef(), assert(), rawspeed::implicit_cast(), rawspeed::PartitioningOutputIterator(), rawspeed::PrefixCodeVectorEncoder< CodeTag >::setup(), rawspeed::Array1DRef< T >::size(), and workloop().

Referenced by checkPump(), and workloop().

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