63 #ifndef HWA_VPAC_NF_H_ 64 #define HWA_VPAC_NF_H_ 67 #include <VX/vx_kernels.h> 81 #define TIVX_KERNEL_VPAC_NF_GENERIC_NAME "com.ti.hwa.vpac_nf_generic" 86 #define TIVX_KERNEL_VPAC_NF_BILATERAL_NAME "com.ti.hwa.vpac_nf_bilateral" 97 #define TIVX_VPAC_NF_CMD_SET_HTS_LIMIT (0x10000000u) 103 #define TIVX_VPAC_NF_CMD_SET_COEFF (0x10000001u) 119 #define TIVX_VPAC_NF_CMD_GET_ERR_STATUS (0x10000002u) 124 #define TIVX_VPAC_NF_CMD_GET_PSA_STATUS (0x10000003u) 129 #define TIVX_VPAC_NF_CMD_ENABLE_ERROR_EVENTS (0x10000004u) 130 #define TIVX_VPAC_NF_CMD_ENABLE_VPAC_SAFETY_MECHANISM (0x10000005u) 143 #define TIVX_VPAC_NF_RD_ERR (0x400U) 145 #define TIVX_VPAC_NF_WR_ERR (0x200U) 147 #define TIVX_VPAC_NF_WDTIMER_ERR (0x40000000U) 149 #define TIVX_VPAC_NF_ALL_ERR_EVENTS ( \ 150 TIVX_VPAC_NF_RD_ERR | \ 151 TIVX_VPAC_NF_WR_ERR | \ 152 TIVX_VPAC_NF_WDTIMER_ERR \ 156 #define TIVX_VPAC_NF_WDTIMER_DISABLE (0u) 158 #define TIVX_VPAC_NF_WDTIMER_ENABLE (1u) 160 #define TIVX_VPAC_NF_WDTIMER_64K_CYCLES (0u) 162 #define TIVX_VPAC_NF_WDTIMER_128K_CYCLES (1u) 165 #define TIOVX_VPAC_NF_MAX_COMP (2u) 291 } tivx_vpac_nf_psa_timestamp_data_t;
319 uint32_t enable_reconfig_and_reinit_Reg;
322 uint32_t enable_status_reg_validation;
325 uint32_t enable_readback_config_registers;
335 #define TIVX_VPAC_NF_REG_VALIDATE_FAILURE_STATUS_REG ((int32_t) 0x80000001U) 341 #define TIVX_VPAC_NF_REG_VALIDATE_FAILURE_CONFIG_REG ((int32_t) 0x80000002U) struct _vx_image * vx_image
The configuration data structure used by the TIVX_KERNEL_VPAC_NF_BILATERAL kernel.
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.
void tivx_vpac_nf_safety_mech_prms_init(tivx_vpac_nf_safety_mechanism_params_t *prms)
Function to initialize NF safety mechanism parameters with default values.
uint16_t input_interleaved
void tivx_vpac_nf_common_params_init(tivx_vpac_nf_common_params_t *prms)
Function to initialize NF common Parameters.
Safety parameters structure for VPAC NF.
void tivx_vpac_nf_hts_bw_limit_prms_init(tivx_vpac_nf_hts_bw_limit_params_t *prms)
Function to initialize NF HTS bandwidth limit Parameters.
uint16_t output_pixel_skip_odd
int32_t safety_mechanism_failure_detected
void tivx_vpac_nf_bilateral_sigmas_init(tivx_vpac_nf_bilateral_sigmas_t *sigmas)
Function to initialize NF bilateral Sigmas.
tivx_vpac_nf_common_params_t params
void tivx_vpac_nf_bilateral_params_init(tivx_vpac_nf_bilateral_params_t *prms)
Function to initialize NF bilateral Parameters.
#define TIOVX_VPAC_NF_MAX_COMP
Maximum possible NF iteration for a simgle request (Luma + Chroma)
uint32_t wdtimer_timeout_cycles
void tivxUnRegisterHwaTargetVpacNfKernels(void)
Function to un-register HWA Kernels on the vpac_nf Target.
void tivxRegisterHwaTargetVpacNfKernels(void)
Function to register HWA Kernels on the vpac_nf Target.
Structure to hold error information attached to a node error event for the VPAC NF kernels...
uint32_t enable_error_events
The sigmas data structure used by the TIVX_KERNEL_VPAC_NF_BILATERAL kernel.
uint16_t output_pixel_skip
struct _vx_convolution * vx_convolution
struct _vx_user_data_object * vx_user_data_object
The User Data Object. User Data Object is a strongly-typed container for other data structures...
uint16_t sub_table_select
struct _vx_graph * vx_graph
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.
uint32_t enable_hts_bw_limit
struct _vx_node * vx_node
vx_status(* VX_API_CALL)(vx_reference *ref)
Callback type used to register release callbacks from object derived from references.
The configuration data structure used by the TIVX_KERNEL_VPAC_NF_GENERIC and TIVX_KERNEL_VPAC_NF_BILA...
Configuration parameters used to set HTS BW limit used by TIVX_KERNEL_VPAC_NF kernel.