The OpenVX Specification  a73e458
Object: Array (Advanced)

Detailed Description

Defines the advanced features of the Array Interface.


vx_enum VX_API_CALL vxRegisterUserStruct (vx_context context, vx_size size)
 Registers user-defined structures to the context. More...

Function Documentation

◆ vxRegisterUserStruct()

vx_enum VX_API_CALL vxRegisterUserStruct ( vx_context  context,
vx_size  size 

Registers user-defined structures to the context.

[in]contextThe reference to the implementation context [R00477].
[in]sizeThe size of user struct in bytes [R00478].
A vx_enum value that is a type given to the User to refer to their custom structure when declaring a vx_array of that structure.
Return values
VX_TYPE_INVALIDIf the namespace of types has been exhausted [R00479].
This call should only be used once within the lifetime of a context for a specific structure.