![]() |
The OpenVX Specification
dba1aa3
|
Defines the border mode behaviors.
Border Mode behavior is set as an attribute of the node, not as a direct parameter to the kernel. This allows clients to set-and-forget the modes of any particular node that supports border modes. All nodes shall support VX_BORDER_UNDEFINED.
Data Structures | |
| struct | vx_border_t |
Use with the enumeration VX_NODE_BORDER to set the border mode behavior of a node that supports borders. More... | |
Enumerations | |
| enum | vx_border_e { VX_BORDER_UNDEFINED = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_BORDER << 12)) + 0x0, VX_BORDER_CONSTANT = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_BORDER << 12)) + 0x1, VX_BORDER_REPLICATE = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_BORDER << 12)) + 0x2 } |
| The border mode list. More... | |
| enum | vx_border_policy_e { VX_BORDER_POLICY_DEFAULT_TO_UNDEFINED = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_BORDER_POLICY << 12)) + 0x0, VX_BORDER_POLICY_RETURN_ERROR = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_BORDER_POLICY << 12)) + 0x1 } |
| The unsupported border mode policy list. More... | |
| struct vx_border_t |
Use with the enumeration VX_NODE_BORDER to set the border mode behavior of a node that supports borders.
If the indicated border mode is not supported, an error VX_ERROR_NOT_SUPPORTED will be reported either at the time the VX_NODE_BORDER is set or at the time of graph verification.
Definition at line 1729 of file vx_types.h.
| Data Fields | ||
|---|---|---|
| vx_enum | mode |
See vx_border_e. |
| vx_pixel_value_t | constant_value |
For the mode VX_BORDER_CONSTANT, this union contains the value of out-of-bound pixels. |
| enum vx_border_e |
The border mode list.
Definition at line 1336 of file vx_types.h.
| enum vx_border_policy_e |
The unsupported border mode policy list.
| Enumerator | |
|---|---|
| VX_BORDER_POLICY_DEFAULT_TO_UNDEFINED |
Use VX_BORDER_UNDEFINED instead of unsupported border modes. |
| VX_BORDER_POLICY_RETURN_ERROR |
Return VX_ERROR_NOT_SUPPORTED for unsupported border modes. |
Definition at line 1352 of file vx_types.h.