VPAC Noise Filter Kernels.
◆ TIVX_KERNEL_VPAC_NF_GENERIC_NAME
| #define TIVX_KERNEL_VPAC_NF_GENERIC_NAME "com.ti.hwa.vpac_nf_generic" |
vpac_nf_generic kernel name
◆ TIVX_KERNEL_VPAC_NF_BILATERAL_NAME
| #define TIVX_KERNEL_VPAC_NF_BILATERAL_NAME "com.ti.hwa.vpac_nf_bilateral" |
vpac_nf_bilateral kernel name
◆ TIVX_VPAC_NF_CMD_GET_ERR_STATUS
| #define TIVX_VPAC_NF_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.
- Error interrupt status bits (0–29) are directly taken from the nf_obj->err_stat variable.
- If watchdog timer error is detected (bit 26 in wd_err_status), this is flagged by setting bit 30 in the returned error status.
◆ TIVX_VPAC_NF_CMD_GET_PSA_STATUS
| #define TIVX_VPAC_NF_CMD_GET_PSA_STATUS (0x10000003u) |
Control Command to retrieve PSA signature value.
◆ tivxRegisterHwaTargetVpacNfKernels()
| void tivxRegisterHwaTargetVpacNfKernels |
( |
void |
| ) |
|
Function to register HWA Kernels on the vpac_nf Target.
◆ tivxUnRegisterHwaTargetVpacNfKernels()
| void tivxUnRegisterHwaTargetVpacNfKernels |
( |
void |
| ) |
|
Function to un-register HWA Kernels on the vpac_nf Target.
◆ tivxVpacNfGenericNode()
| VX_API_ENTRY vx_node VX_API_CALL tivxVpacNfGenericNode |
( |
vx_graph |
graph, |
|
|
vx_user_data_object |
configuration, |
|
|
vx_image |
input, |
|
|
vx_convolution |
conv, |
|
|
vx_image |
output |
|
) |
| |
[Graph] Creates a VPAC_NF_GENERIC Node.
- Parameters
-
| [in] | graph | The reference to the graph. |
| [in] | configuration | The input object of a single params structure of type tivx_vpac_nf_common_params_t. |
| [in] | input | The input image in VX_DF_IMAGE_U8, VX_DF_IMAGE_U16, or TIVX_DF_IMAGE_P12 format. |
| [in] | conv | The input convolution matrix. Max columns or rows supported is 5. Scale value is ignored. Coefficients are 9-bit signed. |
| [out] | output | The output image in VX_DF_IMAGE_U8, VX_DF_IMAGE_U16, or TIVX_DF_IMAGE_P12 format. |
- See also
TIVX_KERNEL_VPAC_NF_GENERIC_NAME
- Returns
vx_node.
- Return values
-
| vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
◆ tivxVpacNfBilateralNode()
| VX_API_ENTRY vx_node VX_API_CALL tivxVpacNfBilateralNode |
( |
vx_graph |
graph, |
|
|
vx_user_data_object |
configuration, |
|
|
vx_image |
input, |
|
|
vx_user_data_object |
sigmas, |
|
|
vx_image |
output |
|
) |
| |
[Graph] Creates a VPAC_NF_BILATERAL Node.
- Parameters
-
| [in] | graph | The reference to the graph. |
| [in] | configuration | The input object of a single params structure of type tivx_vpac_nf_bilateral_params_t. |
| [in] | input | The input image in VX_DF_IMAGE_U8, VX_DF_IMAGE_U16, or TIVX_DF_IMAGE_P12 format. |
| [in] | sigmas | The input object of a single params structure of type tivx_vpac_nf_bilateral_sigmas_t. |
| [out] | output | The output image in VX_DF_IMAGE_U8, VX_DF_IMAGE_U16, or TIVX_DF_IMAGE_P12 format. |
- See also
TIVX_KERNEL_VPAC_NF_BILATERAL_NAME
- Returns
vx_node.
- Return values
-
| vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
◆ tivx_vpac_nf_common_params_init()
Function to initialize NF common Parameters.
- Parameters
-
| prms | [IN] Pointer to NF common parameters |
◆ tivx_vpac_nf_hts_bw_limit_params_init()
Function to initialize NF HTS bandwidth limit Parameters.
- Parameters
-
| prms | [IN] Pointer to NF HTS bandwidth limit parameters |
◆ tivx_vpac_nf_bilateral_params_init()
Function to initialize NF bilateral Parameters.
- Parameters
-
| prms | [IN] Pointer to NF bilateral parameters |
◆ tivx_vpac_nf_bilateral_sigmas_init()
Function to initialize NF bilateral Sigmas.
- Parameters
-
| sigmas | [IN] Pointer to NF bilateral sigmas |