RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
UncompressedDecompressorBenchmark.cpp File Reference
#include "decompressors/UncompressedDecompressor.h"
#include "adt/Casts.h"
#include "adt/Point.h"
#include "bench/Common.h"
#include "bitstreams/BitStreams.h"
#include "common/Common.h"
#include "common/RawImage.h"
#include "io/Buffer.h"
#include "io/ByteStream.h"
#include "io/Endianness.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <numeric>
#include <type_traits>
#include <vector>
#include <benchmark/benchmark.h>
Include dependency graph for UncompressedDecompressorBenchmark.cpp:

Go to the source code of this file.

Classes

class  UncompressedDecompressor

Namespaces

namespace  anonymous_namespace{UncompressedDecompressorBenchmark.cpp}

Macros

#define GEN_INNER(a, b, c)
#define GEN_F_BPS(b, c)
#define GEN_F(b)
#define GEN_U_BPS(b, c)
#define GEN_U(b)
#define GEN_BO(b)

Typedefs

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

Enumerations

enum class  BitOrder

Functions

template<typename T, BitOrder BO, typename BPS>
void anonymous_namespace{UncompressedDecompressorBenchmark.cpp}::BM_UncompressedDecompressor (benchmark::State &state)
void anonymous_namespace{UncompressedDecompressorBenchmark.cpp}::CustomArgs (benchmark::internal::Benchmark *b)
 BENCHMARK_MAIN ()

Macro Definition Documentation

◆ GEN_BO

#define GEN_BO ( b)
Value:

Definition at line 129 of file UncompressedDecompressorBenchmark.cpp.

◆ GEN_F

#define GEN_F ( b)
Value:
GEN_F_BPS(b, 16) \
GEN_F_BPS(b, 24) \
GEN_F_BPS(b, 32)
#define GEN_F_BPS(b, c)

Definition at line 104 of file UncompressedDecompressorBenchmark.cpp.

◆ GEN_F_BPS

#define GEN_F_BPS ( b,
c )
Value:
GEN_INNER(float, b, c)
#define GEN_INNER(a, b, c)

Definition at line 102 of file UncompressedDecompressorBenchmark.cpp.

◆ GEN_INNER

#define GEN_INNER ( a,
b,
c )
Value:
BENCHMARK_TEMPLATE(BM_UncompressedDecompressor, a, b, BPS<c>) \
->Apply(CustomArgs);

Definition at line 98 of file UncompressedDecompressorBenchmark.cpp.

◆ GEN_U

#define GEN_U ( b)
Value:
GEN_U_BPS(b, 1) \
GEN_U_BPS(b, 2) \
GEN_U_BPS(b, 3) \
GEN_U_BPS(b, 4) \
GEN_U_BPS(b, 5) \
GEN_U_BPS(b, 6) \
GEN_U_BPS(b, 7) \
GEN_U_BPS(b, 8) \
GEN_U_BPS(b, 9) \
GEN_U_BPS(b, 10) \
GEN_U_BPS(b, 11) \
GEN_U_BPS(b, 12) \
GEN_U_BPS(b, 13) \
GEN_U_BPS(b, 14) \
GEN_U_BPS(b, 15) \
GEN_U_BPS(b, 16)
#define GEN_U_BPS(b, c)

Definition at line 111 of file UncompressedDecompressorBenchmark.cpp.

◆ GEN_U_BPS

#define GEN_U_BPS ( b,
c )
Value:

Definition at line 109 of file UncompressedDecompressorBenchmark.cpp.

Enumeration Type Documentation

◆ BitOrder

enum class rawspeed::BitOrder : uint8_t
strong

Definition at line 28 of file BitStreams.h.

Function Documentation

◆ BENCHMARK_MAIN()

BENCHMARK_MAIN ( )