TIOVX User Guide
TI DMPAC SDE (Stereo Disparity Engine) Kernel APIs

Detailed Description

DMPAC Stereo Disparity Engine Kernels.

Data Structures

struct  tivx_dmpac_sde_params_t
 The configuration data structure used by the TIVX_KERNEL_DMPAC_SDE kernel. More...
 

Defines

#define TIVX_KERNEL_DMPAC_SDE_NAME   "com.ti.hwa.dmpac_sde"
 dmpac_sde kernel name
 

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...
 

Function Documentation

◆ tivxDmpacSdeNode()

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.

Parameters
[in]graphThe reference to the graph.
[in]configurationThe input object of a single params structure of type tivx_dmpac_sde_params_t.
[in]leftThe left input image in VX_DF_IMAGE_U8, VX_DF_IMAGE_NV12 (Y plane only), VX_DF_IMAGE_U16, or TIVX_DF_IMAGE_P12 format.
[in]rightThe right input image in VX_DF_IMAGE_U8, VX_DF_IMAGE_NV12 (Y plane only), VX_DF_IMAGE_U16, or TIVX_DF_IMAGE_P12 format.
[out]outputThe output image in VX_DF_IMAGE_S16 format. Bit packing format: Sign[15], Integer[14:7], Fractional[6:3], Confidence[2:0].
The 3 bit 'Confidence' value is the result of passing the 7-bit confidence score through the user configured tivx_dmpac_sde_params_t::confidence_score_map range table to produce a 3-bit mapping.
[out]confidence_histogram(optional) Histogram of the full 7-bit confidence scores. Must be configured to 128 bins.
See also
TIVX_KERNEL_DMPAC_SDE_NAME
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ tivx_dmpac_sde_params_init()

void tivx_dmpac_sde_params_init ( tivx_dmpac_sde_params_t prms)

Function to initialize SDE Parameters.

Parameters
prms[IN] Pointer to SDE parameters