8 #ifndef META_OCEAN_CV_FRAME_CONVERTER_YUVA_32_H
9 #define META_OCEAN_CV_FRAME_CONVERTER_YUVA_32_H
42 static inline void convertYUVA32ToY8(
const uint8_t* source, uint8_t* target,
const unsigned int width,
const unsigned int height,
const ConversionFlag flag,
const unsigned int sourcePaddingElements,
const unsigned int targetPaddingElements,
Worker* worker =
nullptr);
47 ocean_assert(source !=
nullptr && target !=
nullptr);
48 ocean_assert(width >= 1u && height >= 1u);
55 constexpr
unsigned int shufflePattern = 0x0u;
57 FrameChannels::shuffleChannels<uint8_t, 4u, 1u, shufflePattern>(source, target, width, height, flag, sourcePaddingElements, targetPaddingElements, worker);
This is the base class for all frame converter classes.
Definition: FrameConverter.h:32
ConversionFlag
Definition of individual conversion flags.
Definition: FrameConverter.h:39
This class provides functions to convert frames with YUVA32 pixel format to other pixel formats.
Definition: FrameConverterYUVA32.h:28
static void convertYUVA32ToY8(const uint8_t *source, uint8_t *target, const unsigned int width, const unsigned int height, const ConversionFlag flag, const unsigned int sourcePaddingElements, const unsigned int targetPaddingElements, Worker *worker=nullptr)
Converts a YUVA 32 bit frame to a Y 8 bit frame using the exact conversion.
Definition: FrameConverterYUVA32.h:45
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