DMPAC Stereo Disparity Engine Kernels.
◆ TIVX_KERNEL_DMPAC_SDE_NAME
#define TIVX_KERNEL_DMPAC_SDE_NAME "com.ti.hwa.dmpac_sde" |
◆ tivxRegisterHwaTargetDmpacSdeKernels()
void tivxRegisterHwaTargetDmpacSdeKernels |
( |
void |
| ) |
|
Function to register HWA Kernels on the dmpac_sde Target.
◆ tivxUnRegisterHwaTargetDmpacSdeKernels()
void tivxUnRegisterHwaTargetDmpacSdeKernels |
( |
void |
| ) |
|
Function to un-register HWA Kernels on the dmpac_sde Target.
◆ 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] | graph | The reference to the graph. |
[in] | configuration | The input object of a single params structure of type tivx_dmpac_sde_params_t . |
[in] | left | The 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] | right | The 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] | output | The 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_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
◆ tivx_dmpac_sde_params_init()
Function to initialize SDE Parameters.
- Parameters
-
prms | [IN] Pointer to SDE parameters |