#include <vx_parameter.h>
|
static vx_bool | isValidDirection (vx_enum dir) |
| This returns true if the direction is a valid enum.
|
|
static vx_bool | isValidTypeMatch (vx_enum expected, vx_enum supplied) |
| This returns true if the supplied type matches the expected type with some fuzzy rules.
|
|
static vx_bool | isValidState (vx_enum state) |
| This returns true if the supplied state is a valid enum.
|
|
static vx_parameter | getKernelParameterByIndex (vx_kernel kernel, vx_uint32 index) |
| Get a parameter by index from a kernel.
|
|
static vx_parameter | getParameterByIndex (vx_node node, vx_uint32 index) |
| Get a parameter by index from a node.
|
|
static vx_status | setParameterByIndex (vx_node node, vx_uint32 index, vx_reference value) |
| Set a parameter by index on a node.
|
|
static vx_reference | createReference (vx_context context, vx_enum type, vx_reftype_e refType, vx_reference scope) |
| Used to create a reference.
|
|
static void | printReference (vx_reference ref) |
| Prints the values of a reference.
|
|
static vx_bool | isValidReference (vx_reference ref) |
| Used to validate everything but vx_context, vx_image and vx_buffer.
|
|
static vx_bool | isValidReference (vx_reference ref, vx_enum type) |
| Used to validate everything but vx_context, vx_image and vx_buffer.
|
|
static vx_size | sizeOfType (vx_enum type) |
| Returns the number of bytes in the internal structure for a given type.
|
|
static vx_status | releaseReference (vx_reference *ref, vx_enum type, vx_reftype_e reftype, vx_destructor_f special_destructor) |
| Used to destroy a reference.
|
|
|
vx_uint32 | index |
| Index at which this parameter is tracked in both the node references and kernel signatures.
|
|
vx_node | node |
| Pointer to the node which this parameter is associated with.
|
|
vx_kernel | kernel |
| Pointer to the kernel which this parameter is associated with, if retreived from vxGetKernelParameterByIndex.
|
|
struct _vx_platform * | platform |
| Platform for ICD compatibility.
|
|
vx_uint32 | magic |
| Used to validate references, must be set to VX_MAGIC.
|
|
vx_enum | type |
| Set to an enum value in vx_type_e.
|
|
vx_context | context |
| Pointer to the top level context. If this reference is the context, this will be NULL.
|
|
vx_reference | scope |
| The pointer to the object's scope parent. When virtual objects are scoped within a graph, this will point to that parent graph. This is left generic to allow future scoping variations. By default scope should be the same as context.
|
|
vx_uint32 | external_count |
| The count of the number of users with this reference. When greater than 0, this can not be freed. When zero, the value can be considered inaccessible.
|
|
vx_uint32 | internal_count |
| The count of the number of framework references. When greater than 0, this can not be freed.
|
|
vx_uint32 | read_count |
| The number of times the object has been read (in some portion)
|
|
vx_uint32 | write_count |
| The number of times the object has been written to (in some portion)
|
|
vx_sem_t | lock |
| The reference lock which is used to protect access to "in-fly" data.
|
|
void * | reserved |
| A reserved field which can be used to store anonymous data.
|
|
vx_bool | extracted |
| This indicates if the object was extracted from another object.
|
|
vx_bool | is_virtual |
| This indicates if the object is virtual or not.
|
|
vx_delay | delay |
|
vx_int32 | delay_slot_index |
|
vx_bool | is_accessible |
| This indicates that if the object is virtual whether it is accessible at the moment or not.
|
|
vx_char | name [VX_MAX_REFERENCE_NAME] |
| The reference name.
|
|
◆ context
Pointer to the top level context. If this reference is the context, this will be NULL.
◆ delay
◆ delay_slot_index
vx_int32 coreflow::Reference::delay_slot_index |
|
inherited |
◆ external_count
vx_uint32 coreflow::Reference::external_count |
|
inherited |
The count of the number of users with this reference. When greater than 0, this can not be freed. When zero, the value can be considered inaccessible.
◆ extracted
vx_bool coreflow::Reference::extracted |
|
inherited |
This indicates if the object was extracted from another object.
◆ index
Index at which this parameter is tracked in both the node references and kernel signatures.
◆ internal_count
vx_uint32 coreflow::Reference::internal_count |
|
inherited |
The count of the number of framework references. When greater than 0, this can not be freed.
◆ is_accessible
vx_bool coreflow::Reference::is_accessible |
|
inherited |
This indicates that if the object is virtual whether it is accessible at the moment or not.
◆ is_virtual
vx_bool coreflow::Reference::is_virtual |
|
inherited |
This indicates if the object is virtual or not.
◆ kernel
◆ lock
vx_sem_t coreflow::Reference::lock |
|
inherited |
The reference lock which is used to protect access to "in-fly" data.
◆ magic
Used to validate references, must be set to VX_MAGIC.
◆ name
◆ node
Pointer to the node which this parameter is associated with.
◆ platform
struct _vx_platform* coreflow::Reference::platform |
|
inherited |
Platform for ICD compatibility.
◆ read_count
The number of times the object has been read (in some portion)
◆ reserved
void* coreflow::Reference::reserved |
|
inherited |
A reserved field which can be used to store anonymous data.
◆ scope
The pointer to the object's scope parent. When virtual objects are scoped within a graph, this will point to that parent graph. This is left generic to allow future scoping variations. By default scope should be the same as context.
◆ type
◆ write_count
The number of times the object has been written to (in some portion)