RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
BitStreamerJPEGBenchmark.cpp File Reference
#include "bitstreams/BitStreamerJPEG.h"
#include "adt/Array1DRef.h"
#include "adt/Invariant.h"
#include "adt/Optional.h"
#include "bench/Common.h"
#include "bitstreams/BitStreamJPEGUtils.h"
#include "bitstreams/BitStreamerMSB.h"
#include <cassert>
#include <cstdint>
#include <benchmark/benchmark.h>
#include <limits>
Include dependency graph for BitStreamerJPEGBenchmark.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define BENCHMARK_TEMPLATE1_CAPTURE(func, a, test_case_name, ...)

Functions

template<typename T>
void rawspeed::anonymous_namespace{BitStreamerJPEGBenchmark.cpp}::BM (benchmark::State &state, bool Stuffed)
void rawspeed::anonymous_namespace{BitStreamerJPEGBenchmark.cpp}::CustomArguments (benchmark::internal::Benchmark *b)
 rawspeed::anonymous_namespace{BitStreamerJPEGBenchmark.cpp}::Apply (CustomArguments)
 BENCHMARK_MAIN ()

Macro Definition Documentation

◆ BENCHMARK_TEMPLATE1_CAPTURE

#define BENCHMARK_TEMPLATE1_CAPTURE ( func,
a,
test_case_name,
... )
Value:
BENCHMARK_PRIVATE_DECLARE(func) = \
(::benchmark::internal::RegisterBenchmarkInternal( \
new ::benchmark::internal::FunctionBenchmark( \
#func "<" #a ">" \
"/" #test_case_name, \
[](::benchmark::State& st) { func<a>(st, __VA_ARGS__); })))

Definition at line 109 of file BitStreamerJPEGBenchmark.cpp.

Function Documentation

◆ BENCHMARK_MAIN()

BENCHMARK_MAIN ( )