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

Typedefs

template<size_t N>
using BPS = std::integral_constant<size_t, N>
template<int N>
using Pf = std::integral_constant<int, N>

Functions

template<typename BPS>
std::vector< uint8_t > compressChunk (const rawspeed::RawImage &mRaw, uLong *bufSize)
template<typename BPS, typename Pf>
void BM_DeflateDecompressor (benchmark::State &state)
void CustomArgs (benchmark::internal::Benchmark *b)

Typedef Documentation

◆ BPS

template<size_t N>
using anonymous_namespace{DeflateDecompressorBenchmark.cpp}::BPS = std::integral_constant<size_t, N>

Definition at line 47 of file DeflateDecompressorBenchmark.cpp.

◆ Pf

template<int N>
using anonymous_namespace{DeflateDecompressorBenchmark.cpp}::Pf = std::integral_constant<int, N>

Definition at line 48 of file DeflateDecompressorBenchmark.cpp.

Function Documentation

◆ BM_DeflateDecompressor()

template<typename BPS, typename Pf>
void anonymous_namespace{DeflateDecompressorBenchmark.cpp}::BM_DeflateDecompressor ( benchmark::State & state)
inline

Definition at line 78 of file DeflateDecompressorBenchmark.cpp.

References areaToRectangle(), assert(), compressChunk(), rawspeed::RawImage::create(), dim, rawspeed::F32, rawspeed::Buffer::getSize(), rawspeed::implicit_cast(), and rawspeed::isAligned().

Here is the call graph for this function:

◆ compressChunk()

template<typename BPS>
std::vector< uint8_t > anonymous_namespace{DeflateDecompressorBenchmark.cpp}::compressChunk ( const rawspeed::RawImage & mRaw,
uLong * bufSize )

Definition at line 51 of file DeflateDecompressorBenchmark.cpp.

References assert(), rawspeed::RawImageData::dim, rawspeed::isAligned(), rawspeed::iPoint2D::x, and rawspeed::iPoint2D::y.

Referenced by BM_DeflateDecompressor().

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

◆ CustomArgs()

void anonymous_namespace{DeflateDecompressorBenchmark.cpp}::CustomArgs ( benchmark::internal::Benchmark * b)
inline

Definition at line 122 of file DeflateDecompressorBenchmark.cpp.

References benchmarkDryRun().

Here is the call graph for this function: