21.02
|
Basic function to run NEColorConvertKernel to perform color conversion. More...
#include <NEColorConvert.h>
Public Member Functions | |
void | configure (const ITensor *input, ITensor *output) |
Initialize the function's source, destination. More... | |
void | configure (const IMultiImage *input, IImage *output) |
Initialize the function's source, destination. More... | |
void | configure (const IImage *input, IMultiImage *output) |
Initialize the function's source, destination. More... | |
void | configure (const IMultiImage *input, IMultiImage *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 NEColorConvertKernel to perform color conversion.
Definition at line 40 of file NEColorConvert.h.
Initialize the function's source, destination.
[in] | input | Source tensor. Formats supported: RGBA8888/UYVY422/YUYV422/RGB888 |
[out] | output | Destination tensor. Formats supported: RGB888 (if the formats of input are RGBA8888/UYVY422/YUYV422), RGBA8888 (if the formats of input are UYVY422/YUYV422/RGB888/), U8 (if the formats of input is RGB888) |
Definition at line 32 of file NEColorConvert.cpp.
void configure | ( | const IMultiImage * | input, |
IImage * | output | ||
) |
Initialize the function's source, destination.
[in] | input | Multi-planar source image. Formats supported: NV12/NV21/IYUV |
[out] | output | Single-planar destination image. Formats supported: RGB888/RGBA8888 |
Definition at line 39 of file NEColorConvert.cpp.
void configure | ( | const IImage * | input, |
IMultiImage * | output | ||
) |
Initialize the function's source, destination.
[in] | input | Single-planar source image. Formats supported: RGB888/RGBA8888/UYVY422/YUYV422 |
[out] | output | Multi-planar destination image. Formats supported: NV12/IYUV/YUV444 (if the formats of input are RGB888/RGB8888) |
Definition at line 46 of file NEColorConvert.cpp.
void configure | ( | const IMultiImage * | input, |
IMultiImage * | output | ||
) |
Initialize the function's source, destination.
[in] | input | Multi-planar source image. Formats supported: NV12/NV21/IYUV |
[out] | output | Multi-planar destination image. Formats supported: YUV444/IYUV (if the formats of input are NV12/NV21)/NV12 (if the format of input is IYUV) |
Definition at line 53 of file NEColorConvert.cpp.