|
| coreflow::Kernel::Kernel (vx_context context, vx_reference scope) |
| Construct a new Kernel object.
|
|
| coreflow::Kernel::Kernel (vx_context context, vx_enum kenum, vx_kernel_f function, vx_char name[VX_MAX_KERNEL_NAME], vx_param_description_t *parameters, vx_uint32 numParams, vx_reference scope) |
| Construct a new Kernel object.
|
|
| coreflow::Kernel::~Kernel ()=default |
| Destroy the Kernel object.
|
|
static vx_kernel | coreflow::Kernel::registerCustomKernel (vx_context context, std::string name, const std::vector< Kernel::Param > ¶ms, vx_kernel_f function, vx_kernel_validate_f validate=nullptr, vx_kernel_initialize_f initialize=nullptr, vx_kernel_deinitialize_f deinitialize=nullptr) |
| Register a custom kernel.
|
|
vx_uint32 | coreflow::Kernel::numParameters () const |
| Get the number of kernel parameters.
|
|
const vx_char * | coreflow::Kernel::kernelName () const |
| Get the kernel name.
|
|
vx_enum | coreflow::Kernel::kernelEnum () const |
| Get the kernel enuemration.
|
|
vx_size | coreflow::Kernel::localDataSize () const |
| Get the local data size.
|
|
vx_uint32 | coreflow::Kernel::pipeupInputDepth () const |
| Get the pipeup input depth.
|
|
vx_uint32 | coreflow::Kernel::pipeupOutputDepth () const |
| Get the pipeup output depth.
|
|
void | coreflow::Kernel::setLocalDataSize (vx_size size) |
| Set the local data size.
|
|
void | coreflow::Kernel::setInputDepth (vx_uint32 depth) |
| Set the pipeup input depth.
|
|
void | coreflow::Kernel::setOutputDepth (vx_uint32 depth) |
| Set the pipeup output depth.
|
|
static vx_bool | coreflow::Kernel::isKernelUnique (vx_kernel kernel) |
| Determines if a kernel is unique in the system.
|
|
vx_status | coreflow::Kernel::initializeKernel (vx_enum kenum, vx_kernel_f function, vx_char name[VX_MAX_KERNEL_NAME], vx_param_description_t *parameters, vx_uint32 numParams, vx_kernel_validate_f validator, vx_kernel_input_validate_f input_validator, vx_kernel_output_validate_f output_validator, vx_kernel_initialize_f initialize, vx_kernel_deinitialize_f deinitialize) |
| Used to initialize a kernel object in a target kernel list.
|
|
static vx_kernel | coreflow::Kernel::addkernel (vx_context context, const vx_char name[VX_MAX_KERNEL_NAME], vx_enum enumeration, vx_kernel_f func_ptr, vx_uint32 numParams, vx_kernel_validate_f validate, vx_kernel_input_validate_f input, vx_kernel_output_validate_f output, vx_kernel_initialize_f initialize, vx_kernel_deinitialize_f deinitialize, vx_bool valid_rect_reset) |
| Add Kernel.
|
|
vx_status | coreflow::Kernel::finalize () |
| This API is called after all parameters have been added to the kernel and the kernel is ready to be used. Notice that the reference to the kernel created by addKernel is still valid after the call to finalize. If an error occurs, the kernel is not available for usage by the clients of the framework. Typically this is due to a mismatch between the number of parameters requested and given.
|
|
vx_status | coreflow::Kernel::addParameter (vx_uint32 index, vx_enum dir, vx_enum data_type, vx_enum state) |
| Allows users to set the signatures of the custom kernel.
|
|
static vx_status | coreflow::Kernel::removeKernel (vx_kernel kernel) |
| Removes a custom kernel from its context and releases it.
|
|
static vx_status | coreflow::Kernel::loadKernels (vx_context context, const vx_char *name) |
| Loads a library of kernels, called module, into the context.
|
|
static vx_status | coreflow::Kernel::unloadKernels (vx_context context, const vx_char *name) |
| Unloads all kernels from the context that had been loaded from the module using the loadKernels function.
|
|
static vx_kernel | coreflow::Kernel::getKernelByName (vx_context context, const vx_char string[VX_MAX_KERNEL_NAME]) |
| Get the Kernel By Name.
|
|
static vx_kernel | coreflow::Kernel::getKernelByEnum (vx_context context, vx_enum kernelenum) |
| Get the Kernel By Enum.
|
|
vx_status | coreflow::Kernel::deinitializeKernel () |
| Used to deinitialize a kernel object in a target kernel list.
|
|
static void | coreflow::Kernel::printKernel (vx_kernel kernel) |
| Print kernel object.
|
|
The internal Kernel API.