Compute Library
18.05
|
Interface for the channel extract kernel. More...
#include <NEChannelExtractKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
NEChannelExtractKernel () | |
Default constructor. More... | |
NEChannelExtractKernel (const NEChannelExtractKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEChannelExtractKernel & | operator= (const NEChannelExtractKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEChannelExtractKernel (NEChannelExtractKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEChannelExtractKernel & | operator= (NEChannelExtractKernel &&)=default |
Allow instances of this class to be moved. More... | |
~NEChannelExtractKernel ()=default | |
Default destructor. More... | |
void | configure (const ITensor *input, Channel channel, ITensor *output) |
Set the input and output of the kernel. More... | |
void | configure (const IMultiImage *input, Channel channel, IImage *output) |
Set the input and output of the kernel. More... | |
void | run (const Window &window, const ThreadInfo &info) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from ICPPSimpleKernel | |
ICPPSimpleKernel () | |
Constructor. More... | |
ICPPSimpleKernel (const ICPPSimpleKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICPPSimpleKernel & | operator= (const ICPPSimpleKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICPPSimpleKernel (ICPPSimpleKernel &&)=default | |
Allow instances of this class to be moved. More... | |
ICPPSimpleKernel & | operator= (ICPPSimpleKernel &&)=default |
Allow instances of this class to be moved. More... | |
~ICPPSimpleKernel ()=default | |
Default destructor. More... | |
Public Member Functions inherited from ICPPKernel | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
Public Member Functions inherited from IKernel | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
virtual BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
Interface for the channel extract kernel.
Definition at line 39 of file NEChannelExtractKernel.h.
Default constructor.
Referenced by NEChannelExtractKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
default |
Default destructor.
Referenced by NEChannelExtractKernel::name().
Set the input and output of the kernel.
[in] | input | Source tensor. Formats supported: RGB888/RGBA8888/YUYV422/UYVY422 |
[in] | channel | Channel to extract. |
[out] | output | Destination tensor. Format supported: u8 |
Referenced by NEChannelExtractKernel::name().
void configure | ( | const IMultiImage * | input, |
Channel | channel, | ||
IImage * | output | ||
) |
Set the input and output of the kernel.
[in] | input | Multi-planar source image. Formats supported: NV12/NV21/IYUV/YUV444 |
[in] | channel | Channel to extract. |
[out] | output | Single-planar destination image. Format supported: U8 |
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 42 of file NEChannelExtractKernel.h.
References NEChannelExtractKernel::configure(), arm_compute::test::validation::info(), NEChannelExtractKernel::NEChannelExtractKernel(), NEChannelExtractKernel::operator=(), NEChannelExtractKernel::run(), IKernel::window(), and NEChannelExtractKernel::~NEChannelExtractKernel().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEChannelExtractKernel::name().
|
default |
Allow instances of this class to be moved.
|
overridevirtual |
Execute the kernel on the passed window.
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
Referenced by NEChannelExtractKernel::name().