TIOVX User Guide
hwa_dmpac_sde.h File Reference

The SDE 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_sde_params_t
 The configuration data structure used by the TIVX_KERNEL_DMPAC_SDE kernel. More...
 
struct  tivx_dmpac_sde_psa_timestamp_data_t
 Structure to hold PSA timestamp data. More...
 
struct  tivx_dmpac_sde_safety_mechanism_params_t
 Safety parameters structure for DMPAC SDE. More...
 
struct  tivx_dmpac_sde_node_error_info_t
 Structure to hold error information attached to a node error event for the DMPAC SDE kernel. More...
 

Macros

#define TIVX_KERNEL_DMPAC_SDE_NAME   "com.ti.hwa.dmpac_sde"
 dmpac_sde kernel name
 
#define TIVX_DMPAC_SDE_CMD_SET_HTS_LIMIT   (0x10000000u)
 Control Command to set TODO. More...
 
#define TIVX_DMPAC_SDE_CMD_GET_ERR_STATUS   (0x10000001u)
 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_SDE_CMD_GET_PSA_STATUS   (0x10000002u)
 Control Command to retrieve the PSA signature values.
 
#define TIVX_DMPAC_SDE_CMD_ENABLE_ERROR_EVENTS   (0x10000004u)
 Control Command to enable/disable error events.
 
#define TIVX_DMPAC_SDE_RD_ERR   (0x40000U)
 
#define TIVX_DMPAC_SDE_WR_ERR   (0x80000U)
 
#define TIVX_DMPAC_SDE_FOCO0_SL2_WR_ERR   (0x2000000U)
 
#define TIVX_DMPAC_SDE_FOCO0_VBUSM_RD_ERR   (0x1000000U)
 
#define TIVX_DMPAC_SDE_WDTIMER_ERR   (0x40000000U)
 
#define TIVX_DMPAC_SDE_FOCO1_WDTIMER_ERR   (0x80000000U)
 
#define TIVX_DMPAC_SDE_ALL_ERR_EVENTS
 
#define TIVX_DMPAC_SDE_WDTIMER_DISABLE   (0u)
 Disable Watchdog Timer (default)
 
#define TIVX_DMPAC_SDE_WDTIMER_ENABLE   (1u)
 Enable Watchdog Timer.
 
#define TIVX_DMPAC_SDE_WDTIMER_64K_CYCLES   (0u)
 Watchdog Timer timeout: 64K cycles (default)
 
#define TIVX_DMPAC_SDE_WDTIMER_128K_CYCLES   (1u)
 Watchdog Timer timeout: 128K cycles.
 
#define TIVX_DMPAC_SDE_REG_VALIDATE_FAILURE_STATUS_REG   ((int32_t) 0x80000001U)
 Bit indicating a StatusRegValidate failure detected by the register-validate safety mechanism (VHWA_M2M_IOCTL_SDE_VALIDATE_REG).
 
#define TIVX_DMPAC_SDE_REG_VALIDATE_FAILURE_CONFIG_REG   ((int32_t) 0x80000002U)
 Bit indicating a ConfigRegReadback/compare failure detected by the register-validate safety mechanism (VHWA_M2M_IOCTL_SDE_VALIDATE_REG).
 

Functions

void tivxRegisterHwaTargetDmpacSdeKernels (void)
 Function to register HWA Kernels on the dmpac_sde Target.
 
void tivxUnRegisterHwaTargetDmpacSdeKernels (void)
 Function to un-register HWA Kernels on the dmpac_sde Target.
 
VX_API_ENTRY vx_node VX_API_CALL tivxDmpacSdeNode (vx_graph graph, vx_user_data_object configuration, vx_image left, vx_image right, vx_image output, vx_distribution confidence_histogram)
 [Graph] Creates a DMPAC_SDE Node. More...
 
void tivx_dmpac_sde_params_init (tivx_dmpac_sde_params_t *prms)
 Function to initialize SDE Parameters. More...
 
void tivx_dmpac_sde_safety_mech_prms_init (tivx_dmpac_sde_safety_mechanism_params_t *prms)
 Function to initialize SDE safety mechanism parameters with default values. More...
 

Detailed Description

The SDE kernels in this kernel extension.

Definition in file hwa_dmpac_sde.h.

Macro Definition Documentation

◆ TIVX_DMPAC_SDE_CMD_SET_HTS_LIMIT

#define TIVX_DMPAC_SDE_CMD_SET_HTS_LIMIT   (0x10000000u)

Control Command to set TODO.

Definition at line 92 of file hwa_dmpac_sde.h.