Compute Library
 19.08
CLChannelCombine Class Reference

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

#include <CLChannelCombine.h>

Collaboration diagram for CLChannelCombine:
[legend]

Public Member Functions

void configure (const ICLTensor *plane0, const ICLTensor *plane1, const ICLTensor *plane2, const ICLTensor *plane3, ICLTensor *output)
 Initialize function's inputs and outputs. More...
 
void configure (const ICLImage *plane0, const ICLImage *plane1, const ICLImage *plane2, ICLMultiImage *output)
 Initialize function's inputs and outputs. More...
 
- Public Member Functions inherited from ICLSimpleFunction
 ICLSimpleFunction ()
 Default constructor. 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 CLChannelCombineKernel to perform channel combination.

Definition at line 36 of file CLChannelCombine.h.

Member Function Documentation

◆ configure() [1/2]

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

Initialize function's inputs and outputs.

Parameters
[in]plane0The 2D plane that forms channel 0. Must be of U8 format.
[in]plane1The 2D plane that forms channel 1. Must be of U8 format.
[in]plane2The 2D plane that forms channel 2. Must be of U8 format.
[in]plane3The 2D plane that forms channel 3. Must be of U8 format.
[out]outputThe single planar output tensor.

Definition at line 33 of file CLChannelCombine.cpp.

34 {
35  auto k = arm_compute::support::cpp14::make_unique<CLChannelCombineKernel>();
36  k->configure(plane0, plane1, plane2, plane3, output);
37  _kernel = std::move(k);
38 }

◆ configure() [2/2]

void configure ( const ICLImage plane0,
const ICLImage plane1,
const ICLImage plane2,
ICLMultiImage output 
)

Initialize function's inputs and outputs.

Parameters
[in]plane0The 2D plane that forms channel 0. Must be of U8 format.
[in]plane1The 2D plane that forms channel 1. Must be of U8 format.
[in]plane2The 2D plane that forms channel 2. Must be of U8 format.
[out]outputThe multi planar output image.

Definition at line 40 of file CLChannelCombine.cpp.

41 {
42  auto k = arm_compute::support::cpp14::make_unique<CLChannelCombineKernel>();
43  k->configure(plane0, plane1, plane2, output);
44  _kernel = std::move(k);
45 }

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