Interface for the channel combine kernel.
More...
#include <NEChannelCombineKernel.h>
Interface for the channel combine kernel.
Definition at line 39 of file NEChannelCombineKernel.h.
Prevent instances of this class from being copied (As this class contains pointers)
Allow instances of this class to be moved.
Configure function's inputs and outputs.
- Parameters
-
[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 |
Configure function's inputs and outputs.
- Parameters
-
[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 tensor. Formats supported: NV12/NV21/IYUV/YUV444 |
bool is_parallelisable |
( |
| ) |
const |
|
overridevirtual |
Indicates whether or not the kernel is parallelisable.
If the kernel is parallelisable then the window returned by window() can be split into sub-windows which can then be run in parallel.
If the kernel is not parallelisable then only the window returned by window() can be passed to run()
- Returns
- True if the kernel is parallelisable
Reimplemented from IKernel.
Prevent instances of this class from being copied (As this class contains pointers)
Allow instances of this class to be moved.
void run |
( |
const Window & |
window | ) |
|
|
overridevirtual |
Execute the kernel on the passed window.
- Warning
- If is_parallelisable() returns false then the passed window must be equal to window()
- Note
- The window has to be a region within the window returned by the window() method
-
The width of the window has to be a multiple of num_elems_processed_per_iteration().
- Parameters
-
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
Implements ICPPKernel.
The documentation for this class was generated from the following file: