8 #ifndef META_OCEAN_TEST_TESTCV_TEST_FRAME_CONVERTER_RGB_24_H
9 #define META_OCEAN_TEST_TESTCV_TEST_FRAME_CONVERTER_RGB_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 RGB frame converter test.
Definition: TestFrameConverterRGB24.h:32
static bool testRGB24FullRangeToY_V_U12LimitedRange(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the full range RGB24 to limited range Y_V_U12 conversion with 7bit precision using BT....
static bool testRGB24ToBGRA32(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the exact RGB24 to BGRA32 conversion.
static bool testRGB24FullRangeToY_UV12FullRange(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the full range RGB24 to full range Y_UV12 conversion with 7bit precision using BT....
static MatrixD pixelFunctionRGBForY_UV12(const Frame &frame, const unsigned int x, const unsigned int y, const CV::FrameConverter::ConversionFlag conversionFlag)
Extracts one pixel from a RGB24 source frame intended for a Y_UV12 frame (or a Y_VU12 frame).
static MatrixD pixelFunctionY_UV12ForYUV24(const Frame &frame, const unsigned int x, const unsigned int y, const CV::FrameConverter::ConversionFlag conversionFlag)
Extracts one pixel from a Y_UV12 target frame (or a Y_VU12 source frame).
static bool testRGB24FullRangeToY_V_U12FullRange(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the full range RGB24 to full range Y_V_U12 conversion with 7bit precision using BT....
static bool testRGB24FullRangeToY_U_V12FullRange(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the full range RGB24 to full range Y_U_V12 conversion with 7bit precision using BT....
static bool testRGB24FullRangeToY_VU12LimitedRange(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the full range RGB24 to limited range Y_VU12 conversion with 7bit precision using BT....
static MatrixD pixelFunctionY_U_V12ForYUV24(const Frame &frame, const unsigned int x, const unsigned int y, const CV::FrameConverter::ConversionFlag conversionFlag)
Extracts one pixel from a Y_U_V12 target frame (or a Y_V_U12 source frame).
static MatrixD pixelFunctionR_G_B24(const Frame &frame, const unsigned int x, const unsigned int y, const CV::FrameConverter::ConversionFlag conversionFlag)
Extracts one pixel from a R_G_B24 source frame.
static bool test(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Tests all RGB 24 bit frame conversion functions.
static bool testRGB24ToY8(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the exact RGB24 to Y8 conversion.
static bool testRGB24ToBGR24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the exact RGB24 to BGR24 conversion.
static bool testRGB24ToYUV24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the exact RGB24 to YUV24 conversion.
static bool testRGB24ToRGB24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the exact RGB24 to RGB24 conversion.
static bool testRGB24ToRGBA32(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the exact RGB24 to RGBA32 conversion.
static bool testRGB24ToRGB32(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the exact RGB24 to RGB32 conversion.
static bool testRGB24FullRangeToY_UV12LimitedRange(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the full range RGB24 to limited range Y_UV12 conversion with 7bit precision using BT....
static bool testRGB24FullRangeToY_U_V12LimitedRange(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the full range RGB24 to limited range Y_U_V12 conversion with 7bit precision using BT....
static bool testRGB24ToBGR32(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the exact RGB24 to BGR32 conversion.
static bool testRGB24ToR_G_B24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag conversionFlag, const double testDuration, Worker &worker)
Tests the RGB24 to R_G_B24 conversion.
static bool testRGB24ToARGB32(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests RGB24 to ARGB32 conversion.
static bool testRGB24FullRangeToY_VU12FullRange(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the full range RGB24 to full range Y_VU12 conversion with 7bit precision using BT....
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