8 #ifndef META_OCEAN_TEST_TESTCV_TEST_FRAME_CONVERTER_YUV_24_H
9 #define META_OCEAN_TEST_TESTCV_TEST_FRAME_CONVERTER_YUV_24_H
43 static bool test(
const unsigned int width,
const unsigned int height,
const double testDuration,
Worker& worker);
ConversionFlag
Definition of individual conversion flags.
Definition: FrameConverter.h:39
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a matrix with arbitrary size.
Definition: Matrix.h:63
This class implements a YUV 24bit frame converter test.
Definition: TestFrameConverterYUV24.h:32
static bool testYUV24ToYVU24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the YUV24 to YVU24 conversion.
static bool testYUV24ToBGR24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the YUV24 to BGR24 conversion.
static bool testYUV24ToRGB24Precision6Bit(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the YUV24 to RGB24 conversion with 6 bit precision.
static bool testYUV24ToYUV24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the YUV24 to YUV24 conversion.
static MatrixD pixelFunctionYUV24ForY_U_V12(const Frame &frame, const unsigned int x, const unsigned int y, const CV::FrameConverter::ConversionFlag conversionFlag)
Extracts one pixel from a Y_U_V12 source frame.
static bool testYUV24ToBGRA32Precision6Bit(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the YUV24 to BGRA32 conversion with 6 bit precision.
static bool testYUV24ToY8(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the YUV24 to Y8 conversion.
static bool testYUV24ToY_U_V12(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the YUV24 to Y_U_V12 conversion.
static MatrixD pixelFunctionY_U_V12(const Frame &frame, const unsigned int x, const unsigned int y, const CV::FrameConverter::ConversionFlag conversionFlag)
Extracts one pixel from a Y_U_V12 source frame.
static bool testYUV24ToRGB24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the YUV24 to RGB24 conversion.
static bool test(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Tests all YUV 24 bit frame conversion functions.
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