![]() |
TIOVX User Guide
|
The DOF kernels in this kernel extension. More...
#include <VX/vx.h>#include <VX/vx_kernels.h>Go to the source code of this file.
Data Structures | |
| struct | tivx_dmpac_dof_params_t |
| The configuration data structure used by the TIVX_KERNEL_DMPAC_DOF kernel. More... | |
| struct | tivx_dmpac_dof_sof_params_t |
| The sof configuration data structure used by the TIVX_KERNEL_DMPAC_DOF kernel. More... | |
| struct | tivx_dmpac_dof_cs_tree_params_t |
| Configuration parameters used to calculate Confidence Score used by TIVX_KERNEL_DMPAC_DOF kernel. More... | |
| struct | tivx_dmpac_dof_hts_bw_limit_params_t |
| Configuration parameters used to set HTS BW limit used by TIVX_KERNEL_DMPAC_DOF kernel. More... | |
| struct | tivx_dmpac_dof_psa_timestamp_data_t |
| Structure to hold PSA timestamp data. More... | |
| struct | tivx_dmpac_dof_safety_mechanism_params_t |
| Safety parameters structure for DMPAC DOF. More... | |
| struct | tivx_dmpac_dof_node_error_info_t |
| Structure to hold error information attached to a node error event for the DMPAC DOF kernel. More... | |
Macros | |
| #define | TIVX_KERNEL_DMPAC_DOF_NAME "com.ti.hwa.dmpac_dof" |
| dmpac_dof kernel name | |
| #define | TIVX_KERNEL_DOF_VISUALIZE_NAME "com.ti.hwa.dof_visualize" |
| dof_visualize kernel name | |
| #define | TIVX_DMPAC_DOF_CMD_SET_HTS_BW_LIMIT_PARAMS (0x10000000u) |
| Control Command to set DOF HTS Bandwidth limit parameters User data object tivx_dmpac_dof_hts_bw_limit_params_t is passed as argument with this control command. | |
| #define | TIVX_DMPAC_DOF_CMD_CS_PARAMS (0x10000001u) |
| Control Command to set DOF confidence score parameters User data object tivx_dmpac_dof_cs_tree_params_t is passed as argument with this control command. | |
| #define | TIVX_DMPAC_DOF_CMD_GET_ERR_STATUS (0x10000002u) |
| Control Command to get the combined error status Returns the combined error status of the last processed frame, incorporating error interrupts and watchdog timer error interrupt. A reference to vx_scalar is passed as an argument with this control command. The node returns a bit-mask of the error status in the U32 variable of vx_scalar. More... | |
| #define | TIVX_DMPAC_DOF_CMD_GET_PSA_STATUS (0x10000003u) |
| Control Command to retrieve the PSA signature values. | |
| #define | TIVX_DMPAC_DOF_CMD_SET_SOF_PARAMS (0x10000004u) |
| Control Command to update SOF parameters. More... | |
| #define | TIVX_DMPAC_DOF_CMD_SET_DOF_PARAMS (0x10000005u) |
| Control Command to update DOF parameters. More... | |
| #define | TIVX_DMPAC_DOF_CMD_ENABLE_DMPAC_SAFETY_MECHANISM (0x10000007u) |
| Control Command to enable DMPAC safety mechanism User data object tivx_dmpac_dof_safety_mechanism_params_t is passed as argument with this control command. | |
| #define | TIVX_DMPAC_DOF_CMD_ENABLE_ERROR_EVENTS (0x10000008u) |
| Control Command to enable/disable error events. | |
| #define | TIVX_DMPAC_DOF_PREDICTOR_NONE (0U) |
| No predictor used. | |
| #define | TIVX_DMPAC_DOF_PREDICTOR_DELAY_LEFT (1U) |
| Delayed left predictor. | |
| #define | TIVX_DMPAC_DOF_PREDICTOR_TEMPORAL (2U) |
| Temporal predictor, Need flow vector output from previous image pair as Temporal input, can only be set for base layer. | |
| #define | TIVX_DMPAC_DOF_PREDICTOR_PYR_LEFT (3U) |
| Pyramidal left predictor, can be set for base and intermediate layers. | |
| #define | TIVX_DMPAC_DOF_PREDICTOR_PYR_COLOCATED (4U) |
| Pyramidal colocated predictor, can be set for base and intermediate layers. | |
| #define | TIVX_DMPAC_DOF_MAX_FLOW_VECTOR_DELAY (4U) |
| Maximum value for the flow vector delay. | |
| #define | TIVX_DMPAC_DOF_RD_ERR (0x04U) |
| #define | TIVX_DMPAC_DOF_WR_ERR (0x08U) |
| #define | TIVX_DMPAC_DOF_MP0_RD_STATUS_ERR (0x10U) |
| #define | TIVX_DMPAC_DOF_FOCO0_SL2_WR_ERR (0x400000U) |
| #define | TIVX_DMPAC_DOF_FOCO0_VBUSM_RD_ERR (0x200000U) |
| #define | TIVX_DMPAC_DOF_WDTIMER_ERR (0x40000000U) |
| #define | TIVX_DMPAC_DOF_FOCO0_WDTIMER_ERR (0x80000000U) |
| #define | TIVX_DMPAC_DOF_ALL_ERR_EVENTS |
| #define | TIVX_DMPAC_DOF_WDTIMER_DISABLE (0u) |
| Disable Watchdog Timer (default) | |
| #define | TIVX_DMPAC_DOF_WDTIMER_ENABLE (1u) |
| Enable Watchdog Timer. | |
| #define | TIVX_DMPAC_DOF_WDTIMER_64K_CYCLES (0u) |
| Watchdog Timer timeout: 64K cycles (default) | |
| #define | TIVX_DMPAC_DOF_WDTIMER_128K_CYCLES (1u) |
| Watchdog Timer timeout: 128K cycles. | |
| #define | TIVX_DMPAC_DOF_REG_VALIDATE_FAILURE_STATUS_REG ((int32_t) 0x80000001U) |
| Bit indicating a StatusRegValidate failure detected by the register-validate safety mechanism (VHWA_M2M_IOCTL_DOF_VALIDATE_REG). | |
| #define | TIVX_DMPAC_DOF_REG_VALIDATE_FAILURE_CONFIG_REG ((int32_t) 0x80000002U) |
| Bit indicating a ConfigRegReadback/compare failure detected by the register-validate safety mechanism (VHWA_M2M_IOCTL_DOF_VALIDATE_REG). | |
Functions | |
| void | tivxRegisterHwaTargetDmpacDofKernels (void) |
| Function to register HWA Kernels on the dmpac_dof Target. | |
| void | tivxUnRegisterHwaTargetDmpacDofKernels (void) |
| Function to un-register HWA Kernels on the dmpac_dof Target. | |
| void | tivxRegisterHwaTargetArmKernels (void) |
| Function to register HWA Kernels on the arm Target. | |
| void | tivxUnRegisterHwaTargetArmKernels (void) |
| Function to un-register HWA Kernels on the arm Target. | |
| VX_API_ENTRY vx_node VX_API_CALL | tivxDmpacDofNode (vx_graph graph, vx_user_data_object configuration, vx_image input_current_base, vx_image input_reference_base, vx_pyramid input_current, vx_pyramid input_reference, vx_image flow_vector_in, vx_user_data_object sparse_of_config, vx_image sparse_of_map, vx_image flow_vector_out, vx_distribution confidence_histogram) |
| [Graph] Creates a DMPAC_DOF Node. More... | |
| VX_API_ENTRY vx_node VX_API_CALL | tivxDofVisualizeNode (vx_graph graph, vx_image flow_vector, vx_scalar confidence_threshold, vx_image flow_vector_rgb, vx_image confidence_image) |
| [Graph] Creates a DOF visualization node Node. More... | |
| void | tivx_dmpac_dof_params_init (tivx_dmpac_dof_params_t *prms) |
| Function to initialize DOF parameters with default value. More... | |
| void | tivx_dmpac_dof_sof_params_init (tivx_dmpac_dof_sof_params_t *prms) |
| Function to initialize DOF SOF parameters with default value. More... | |
| void | tivx_dmpac_dof_cs_tree_params_init (tivx_dmpac_dof_cs_tree_params_t *prms) |
| Function to initialize DOF CS tree parameters with default value. More... | |
| void | tivx_dmpac_dof_hts_bw_limit_prms_init (tivx_dmpac_dof_hts_bw_limit_params_t *prms) |
| Function to initialize DOF HTS bandwidth limit parameters with default value. More... | |
| void | tivx_dmpac_dof_safety_mech_prms_init (tivx_dmpac_dof_safety_mechanism_params_t *prms) |
| Function to initialize DOF safety mechanism parameters with default value. More... | |
The DOF kernels in this kernel extension.
Definition in file hwa_dmpac_dof.h.
| #define TIVX_DMPAC_DOF_CMD_GET_ERR_STATUS (0x10000002u) |
Control Command to get the combined error status Returns the combined error status of the last processed frame, incorporating error interrupts and watchdog timer error interrupt. A reference to vx_scalar is passed as an argument with this control command. The node returns a bit-mask of the error status in the U32 variable of vx_scalar.
Definition at line 124 of file hwa_dmpac_dof.h.