8 #ifndef META_OCEAN_TEST_TESTCV_TEST_FRAME_CONVERTER_Y_10_PACKED_H
9 #define META_OCEAN_TEST_TESTCV_TEST_FRAME_CONVERTER_Y_10_PACKED_H
43 static bool test(
const unsigned int width,
const unsigned int height,
const double testDuration,
Worker& worker);
122 template <
bool tApplyGamma>
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 Y10_PACKED frame converter test.
Definition: TestFrameConverterY10_Packed.h:32
static bool testY10_PackedToY10(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the Y10_PACKED to Y10 conversion.
static bool testY10_PackedToBGR24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the Y10_PACKED to BGR24 conversion.
static bool testY10_PackedToY8GammaApproximated(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the Y10_PACKED to Y8 conversion with gamma compression/correction with a 3-step linear interpol...
static MatrixD pixelFunctionY10_Packed(const Frame &frame, const unsigned int x, const unsigned int y, const CV::FrameConverter::ConversionFlag conversionFlag)
Extracts one pixel from a Y10_PACKED source frame.
static bool testY10_PackedToY8Linear(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the Y10_PACKED to Y8 conversion.
static bool test(const unsigned int width, const unsigned int height, const double testDuration, Worker &worker)
Tests all Y10_PACKED bit frame conversion functions.
static bool testY10_PackedToY8GammaLUT(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the Y10_PACKED to Y8 conversion with gamma compression/correction.
static MatrixD pixelFunctionY10_PackedApproximated(const Frame &frame, const unsigned int x, const unsigned int y, const CV::FrameConverter::ConversionFlag conversionFlag)
Extracts one pixel from a Y10_PACKED source frame and applies gamma approximation.
static bool testY10_PackedToRGB24(const unsigned int width, const unsigned int height, const CV::FrameConverter::ConversionFlag flag, const double testDuration, Worker &worker)
Tests the Y10_PACKED to RGB24 conversion.
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