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

Classes

struct  BitStreamRoundtripTypes
struct  BitStreamRoundtripTypes< BitstreamFlavorLSB >
struct  BitStreamRoundtripTypes< BitstreamFlavorMSB >
struct  BitStreamRoundtripTypes< BitstreamFlavorMSB16 >
struct  BitStreamRoundtripTypes< BitstreamFlavorMSB32 >
struct  BitStreamRoundtripTypes< BitstreamFlavorJPEG >
class  InputWrapper

Functions

template<typename flavor>
std::vector< uint8_t > produceBitstream (const InputWrapper &w)
template<typename flavor>
void reparseBitstream (Array1DRef< const uint8_t > input, const InputWrapper &w)
template<typename flavor>
void checkFlavourImpl (const InputWrapper &w)
template<typename flavor>
void checkFlavour (const InputWrapper &w)
int LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size)

Function Documentation

◆ checkFlavour()

template<typename flavor>
void rawspeed::anonymous_namespace{BitVacuumerRoundtrip.cpp}::checkFlavour ( const InputWrapper & w)

Definition at line 174 of file BitVacuumerRoundtrip.cpp.

References assert(), checkFlavour(), and checkFlavourImpl().

Referenced by checkFlavour(), and LLVMFuzzerTestOneInput().

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

◆ checkFlavourImpl()

template<typename flavor>
void rawspeed::anonymous_namespace{BitVacuumerRoundtrip.cpp}::checkFlavourImpl ( const InputWrapper & w)

Definition at line 167 of file BitVacuumerRoundtrip.cpp.

References rawspeed::Array1DRef(), checkFlavourImpl(), rawspeed::implicit_cast(), produceBitstream(), and reparseBitstream().

Referenced by checkFlavour(), and checkFlavourImpl().

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

◆ LLVMFuzzerTestOneInput()

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

Definition at line 182 of file BitVacuumerRoundtrip.cpp.

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

Here is the call graph for this function:

◆ produceBitstream()

template<typename flavor>
std::vector< uint8_t > rawspeed::anonymous_namespace{BitVacuumerRoundtrip.cpp}::produceBitstream ( const InputWrapper & w)

Definition at line 132 of file BitVacuumerRoundtrip.cpp.

References rawspeed::PartitioningOutputIterator(), produceBitstream(), rawspeed::anonymous_namespace{BitVacuumerRoundtrip.cpp}::InputWrapper::size(), and rawspeed::val.

Referenced by checkFlavourImpl(), and produceBitstream().

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

◆ reparseBitstream()

template<typename flavor>
void rawspeed::anonymous_namespace{BitVacuumerRoundtrip.cpp}::reparseBitstream ( Array1DRef< const uint8_t > input,
const InputWrapper & w )

Definition at line 156 of file BitVacuumerRoundtrip.cpp.

References invariant, reparseBitstream(), and rawspeed::anonymous_namespace{BitVacuumerRoundtrip.cpp}::InputWrapper::size().

Referenced by checkFlavourImpl(), and reparseBitstream().

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