Compute Library
 21.02
NEChannelCombine Class Reference

Basic function to run NEChannelCombineKernel to perform channel combination. More...

#include <NEChannelCombine.h>

Collaboration diagram for NEChannelCombine:
[legend]

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...
 
INESimpleFunctionNoBorderoperator= (const INESimpleFunctionNoBorder &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
INESimpleFunctionNoBorderoperator= (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...
 

Detailed Description

Basic function to run NEChannelCombineKernel to perform channel combination.

Deprecated:
This function is deprecated and is intended to be removed in 21.05 release

Definition at line 40 of file NEChannelCombine.h.

Member Function Documentation

◆ configure() [1/2]

void configure ( const ITensor plane0,
const ITensor plane1,
const ITensor plane2,
const ITensor plane3,
ITensor output 
)

Initialize function's inputs and outputs.

Parameters
[in]plane0The 2D plane that forms channel 0. Data type supported: U8
[in]plane1The 2D plane that forms channel 1. Data type supported: U8
[in]plane2The 2D plane that forms channel 2. Data type supported: U8
[in]plane3The 2D plane that forms channel 3. Data type supported: U8
[out]outputThe single planar output tensor. Formats supported: RGB888/RGBA8888/UYVY422/YUYV422

Definition at line 32 of file NEChannelCombine.cpp.

33 {
34  auto k = std::make_unique<NEChannelCombineKernel>();
35  k->configure(plane0, plane1, plane2, plane3, output);
36  _kernel = std::move(k);
37 }

◆ configure() [2/2]

void configure ( const IImage plane0,
const IImage plane1,
const IImage plane2,
IMultiImage output 
)

Initialize function's inputs and outputs.

Parameters
[in]plane0The 2D plane that forms channel 0. Data type supported: U8
[in]plane1The 2D plane that forms channel 1. Data type supported: U8
[in]plane2The 2D plane that forms channel 2. Data type supported: U8
[out]outputThe multi planar output image. Formats supported: NV12/NV21/IYUV/YUV444

Definition at line 39 of file NEChannelCombine.cpp.

40 {
41  auto k = std::make_unique<NEChannelCombineKernel>();
42  k->configure(plane0, plane1, plane2, output);
43  _kernel = std::move(k);
44 }

The documentation for this class was generated from the following files: