8 #ifndef META_OCEAN_TEST_TESTCV_TESTADVANCED_TEST_ADVANCED_FRAME_SHRINKER_H
9 #define META_OCEAN_TEST_TESTCV_TESTADVANCED_TEST_ADVANCED_FRAME_SHRINKER_H
24 namespace TestAdvanced
41 static bool test(
const double testDuration,
Worker& worker);
61 template <
unsigned int tChannels>
62 static bool testDivideByTwo(
const unsigned int width,
const unsigned int height,
const bool handleMask,
const double testDuration,
Worker& worker);
77 static bool validateDivideByTwo(
const Frame& sourceFrame,
const Frame& sourceMask,
const Frame& targetFrame,
const Frame& targetMask,
const bool handleMaskPixels,
const uint8_t maskValue = 0x00u,
const uint8_t nonMaskValue = 0xFFu);
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements an advanced frame shrinker test.
Definition: TestAdvancedFrameShrinker.h:32
static bool validateDivideByTwo(const Frame &sourceFrame, const Frame &sourceMask, const Frame &targetFrame, const Frame &targetMask, const bool handleMaskPixels, const uint8_t maskValue=0x00u, const uint8_t nonMaskValue=0xFFu)
Validates the advanced frame shrinker for a given frame.
static bool testDivideByTwo(const unsigned int width, const unsigned int height, const bool handleMask, const double testDuration, Worker &worker)
Tests the advanced frame shrinker for a specific frame type.
static bool test(const double testDuration, Worker &worker)
Tests all advanced frame shrinker functions.
static bool testDivideByTwo(const double testDuration, Worker &worker)
Tests the advanced frame shrinker.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15