21.02
|
Basic function to run NEChannelExtractKernel to perform channel extraction. More...
#include <NEChannelExtract.h>
Public Member Functions | |
void | configure (const ITensor *input, Channel channel, ITensor *output) |
Initialize the function's source, destination. More... | |
void | configure (const IMultiImage *input, Channel channel, IImage *output) |
Initialize the function's source, destination. 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 NEChannelExtractKernel to perform channel extraction.
Definition at line 41 of file NEChannelExtract.h.
Initialize the function's source, destination.
[in] | input | The input tensor to extract the channel from. Formats supported: Formats supported: RGB888/RGBA8888/YUYV422/UYVY422 |
[in] | channel | The channel to extract. |
[out] | output | The extracted channel. Format supported: U8 |
Definition at line 32 of file NEChannelExtract.cpp.
void configure | ( | const IMultiImage * | input, |
Channel | channel, | ||
IImage * | output | ||
) |
Initialize the function's source, destination.
[in] | input | The multi-planar input image to extract channel from. Formats supported: NV12/NV21/IYUV/YUV444 |
[in] | channel | The channel to extract. |
[out] | output | The extracted channel. Format supported: U8 |
Definition at line 39 of file NEChannelExtract.cpp.