8#ifndef META_OCEAN_TEST_TESTCV_TEST_NEON_H
9#define META_OCEAN_TEST_TESTCV_TEST_NEON_H
15#if defined(OCEAN_HARDWARE_NEON_VERSION) && OCEAN_HARDWARE_NEON_VERSION >= 10
40 using AveragingFunction = void (*)(
const unsigned char*
const source0,
const unsigned char*
const source1,
unsigned char*
const target);
49 static bool test(
const double testDuration);
103 template <
unsigned int tChannels,
unsigned int tSourcePixels>
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements a Computer Vision NEON test.
Definition TestNEON.h:31
static bool validateAveragePixels2x2(const AveragingFunction averagingFunction, RandomGenerator &randomGenerator)
static bool testCastElements(const double testDuration)
Tests the NEON-based cast functions.
static bool test(const double testDuration)
Invokes all tests of the NEON class.
static bool testCopySign(const double testDuration)
Tests the NEON-based copySign functions.
static bool testSumHorizontal_u_32x4(const double testDuration)
Tests the NEON-based sum function for four uint32_t values.
void(*)(const unsigned char *const source0, const unsigned char *const source1, unsigned char *const target) AveragingFunction
Definition of a pointer to a function allowing to averaging 2x2 pixel blocks.
Definition TestNEON.h:40
static bool testMultiply(const double testDuration)
Tests the NEON-based multiply functions.
static bool testSum16Bit4Blocks3x3(const double testDuration)
Tests the NEON-based calculation of 3x3 block sums of 16 bit values.
static bool testAveragingPixels2x2(const double testDuration)
Tests the NEON-based averaging of 2x2 pixel blocks.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15