21.02
|
Basic function to run NEChannelCombineKernel to perform channel combination. More...
#include <NEChannelCombine.h>
Public Member Functions | |
void | configure (const ITensor *plane0, const ITensor *plane1, const ITensor *plane2, const ITensor *plane3, ITensor *output) |
Initialize function's inputs and outputs. More... | |
void | configure (const IImage *plane0, const IImage *plane1, const IImage *plane2, IMultiImage *output) |
Initialize function's inputs and outputs. More... | |
Public Member Functions inherited from INESimpleFunctionNoBorder | |
INESimpleFunctionNoBorder (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
INESimpleFunctionNoBorder (const INESimpleFunctionNoBorder &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder (INESimpleFunctionNoBorder &&)=default | |
Default move constructor. More... | |
INESimpleFunctionNoBorder & | operator= (const INESimpleFunctionNoBorder &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder & | operator= (INESimpleFunctionNoBorder &&)=default |
Default move assignment operator. More... | |
~INESimpleFunctionNoBorder () | |
Default destructor. More... | |
void | run () override final |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Basic function to run NEChannelCombineKernel to perform channel combination.
Definition at line 40 of file NEChannelCombine.h.
void configure | ( | const ITensor * | plane0, |
const ITensor * | plane1, | ||
const ITensor * | plane2, | ||
const ITensor * | plane3, | ||
ITensor * | output | ||
) |
Initialize function's inputs and outputs.
[in] | plane0 | The 2D plane that forms channel 0. Data type supported: U8 |
[in] | plane1 | The 2D plane that forms channel 1. Data type supported: U8 |
[in] | plane2 | The 2D plane that forms channel 2. Data type supported: U8 |
[in] | plane3 | The 2D plane that forms channel 3. Data type supported: U8 |
[out] | output | The single planar output tensor. Formats supported: RGB888/RGBA8888/UYVY422/YUYV422 |
Definition at line 32 of file NEChannelCombine.cpp.
void configure | ( | const IImage * | plane0, |
const IImage * | plane1, | ||
const IImage * | plane2, | ||
IMultiImage * | output | ||
) |
Initialize function's inputs and outputs.
[in] | plane0 | The 2D plane that forms channel 0. Data type supported: U8 |
[in] | plane1 | The 2D plane that forms channel 1. Data type supported: U8 |
[in] | plane2 | The 2D plane that forms channel 2. Data type supported: U8 |
[out] | output | The multi planar output image. Formats supported: NV12/NV21/IYUV/YUV444 |
Definition at line 39 of file NEChannelCombine.cpp.