8 #ifndef META_OCEAN_TEST_TESTCV_TEST_FRAME_SHRINKER_ALPHA_H
9 #define META_OCEAN_TEST_TESTCV_TEST_FRAME_SHRINKER_ALPHA_H
38 static bool test(
const double testDuration,
Worker& worker);
61 static bool testFrameDivideByTwo(
const unsigned int width,
const unsigned int height,
const unsigned int channels,
const bool alphaAtFront,
const bool transparentIs0xFF,
const double testDuration,
Worker& worker);
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements tests for the frame downsizing functions with alpha channel.
Definition: TestFrameShrinkerAlpha.h:29
static bool validationDivideByTwo(const Frame &source, const Frame &target, const bool alphaAtFront, const bool transparentIs0xFF)
Tests the validation of the downsampling function.
static bool testFrameDivideByTwo(const double testDuration, Worker &worker)
Tests the frame downsize function bisecting the frame size.
static bool testFrameDivideByTwo(const unsigned int width, const unsigned int height, const unsigned int channels, const bool alphaAtFront, const bool transparentIs0xFF, const double testDuration, Worker &worker)
Tests the frame downsize function bisecting the frame size.
static bool test(const double testDuration, Worker &worker)
Tests the frame downsize.
static void invokeFrameDivideByTwo(const Frame &source, Frame &target, const bool alphaAtFront, const bool transparentIs0xFF, Worker *worker)
Invokes the frame downsize function bisecting the frame size.
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