Basic implementation of the CL multi-planar image interface.
More...
#include <CLMultiImage.h>
Basic implementation of the CL multi-planar image interface.
Definition at line 40 of file CLMultiImage.h.
Allocated a previously initialised multi image.
- Note
- The multi image must not already be allocated when calling this function.
CLImage* cl_plane |
( |
unsigned int |
index | ) |
|
|
overridevirtual |
Return a pointer to the requested OpenCL plane of the image.
- Parameters
-
[in] | index | The index of the wanted planed. |
- Returns
- A pointer pointed to the OpenCL plane
Implements ICLMultiImage.
const CLImage* cl_plane |
( |
unsigned int |
index | ) |
const |
|
overridevirtual |
Return a constant pointer to the requested OpenCL plane of the image.
- Parameters
-
[in] | index | The index of the wanted planed. |
- Returns
- A constant pointer pointed to the OpenCL plane
Implements ICLMultiImage.
Interface to be implemented by the child class to return the multi-planar image's metadata.
- Returns
- A pointer to the image's metadata.
Implements IMultiImage.
void init |
( |
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
Format |
format |
|
) |
| |
Init the multi-planar image.
- Parameters
-
[in] | width | Width of the whole image |
[in] | height | Heigth of the whole image |
[in] | format | Format of the whole image |
void init_auto_padding |
( |
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
Format |
format |
|
) |
| |
Init the multi-planar image.
- Note
- Uses conservative padding strategy which fits all kernels.
- Parameters
-
[in] | width | Width of the whole image |
[in] | height | Height of the whole image |
[in] | format | Format of the whole image |
The documentation for this class was generated from the following file: