RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
CommonBenchmark.cpp File Reference
#include "bench/Common.h"
#include "adt/Point.h"
#include "common/Common.h"
#include <cstddef>
#include <cstdint>
#include <vector>
#include <benchmark/benchmark.h>
Include dependency graph for CommonBenchmark.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{CommonBenchmark.cpp}

Functions

void anonymous_namespace{CommonBenchmark.cpp}::BM_CopyPixels (benchmark::State &state, bool padddedRows)
void anonymous_namespace{CommonBenchmark.cpp}::BM_CopyPixels2DContiguous (benchmark::State &state)
void anonymous_namespace{CommonBenchmark.cpp}::BM_CopyPixels2DStrided (benchmark::State &state)
void anonymous_namespace{CommonBenchmark.cpp}::CustomArguments (benchmark::internal::Benchmark *b)
 anonymous_namespace{CommonBenchmark.cpp}::BENCHMARK (BM_CopyPixels2DContiguous) -> Apply(CustomArguments)
 anonymous_namespace{CommonBenchmark.cpp}::BENCHMARK (BM_CopyPixels2DStrided) -> Apply(CustomArguments)
 BENCHMARK_MAIN ()
void copyPixels (std::byte *destPtr, int dstPitch, const std::byte *srcPtr, int srcPitch, int rowSize, int height)

Function Documentation

◆ BENCHMARK_MAIN()

BENCHMARK_MAIN ( )

◆ copyPixels()

void rawspeed::copyPixels ( std::byte * destPtr,
int dstPitch,
const std::byte * srcPtr,
int srcPitch,
int rowSize,
int height )
inline

Definition at line 79 of file Common.h.

Referenced by anonymous_namespace{CommonBenchmark.cpp}::BM_CopyPixels(), and rawspeed_test::anonymous_namespace{CommonTest.cpp}::CopyPixelsTest::copy().

Here is the caller graph for this function: