Interface file for NF M2M FVID2 driver
|
file | vhwa_m2mNf.h |
| Defines the structures / control operations that could be used to configure / control NF M2M driver.
|
|
#define VHWA_M2M_NF_DRV_INST_ID (0U) |
< Instance ID for the NF M2m driver
#define VHWA_M2M_NF_MAX_HANDLES (4u) |
Max Number of handles supported by NF M2M Driver.
#define VHWA_M2M_NF_MIN_RD_BUFFER_DEPTH (6U) |
Minimum supported depth value for read buffer in VHWA memory.
#define VHWA_M2M_NF_MIN_WR_BUFFER_DEPTH (2U) |
Minimum supported depth value for write buffer in VHWA memory.
#define VHWA_M2M_NF_MAX_COMP (2u) |
Maximum possible NF iteration for a simgle request (Luma + Chroma)
#define VHWA_NF_DEF_WIDTH (1920U) |
Default width - Used to initialize configuration parameters.
#define VHWA_NF_DEF_HEIGHT (1080U) |
Default Height - Used to initialize configuration parameters.
IOCTL for setting NF configuration. This IOCTL takes NF Configuration Nf_Config as input.
- Returns
- FVID2_SOK on success, else error code.
IOCTL for setting the filter coefficients.
- Returns
- FVID2_SOK on success, else error code.
#define IOCTL_VHWA_M2M_NF_GET_PERFORMANCE |
Value:#define IOCTL_VHWA_M2M_NF_SET_FILTER_COEFF
IOCTL for setting the filter coefficients.
Definition: vhwa_m2mNf.h:134
IOCTL for getting module's performance numbers for the last frame submitted.
- Returns
- FVID2_SOK on success, else error code.
#define IOCTL_VHWA_M2M_NF_GET_PSA_SIGN |
Value:#define IOCTL_VHWA_M2M_NF_GET_PERFORMANCE
IOCTL for getting module's performance numbers for the last frame submitted.
Definition: vhwa_m2mNf.h:142
IOCTL for getting LSE PSA Signature.
- Returns
- FVID2_SOK on success, else error code.
#define IOCTL_VHWA_M2M_NF_REGISTER_ERR_CB |
Value: 1U)
#define IOCTL_VHWA_M2M_NF_GET_PSA_SIGN
IOCTL for getting LSE PSA Signature.
Definition: vhwa_m2mNf.h:150
IOCTL for enabling error events and registering callbacks for the same. This IOCTL pointer to Nf_ErrEventParams as input.
- Returns
- FVID2_SOK on success, else error code.
#define IOCTL_VHWA_M2M_NF_SET_HTS_LIMIT |
Value:#define IOCTL_VHWA_M2M_NF_REGISTER_ERR_CB
IOCTL for enabling error events and registering callbacks for the same. This IOCTL pointer to Nf_ErrE...
Definition: vhwa_m2mNf.h:160
IOCTL for enabling and setting HTS limiter. This is used to slowed down the HTS by introducing clock cycles between internal start signals. This IOCTL takes pointer to Vhwa_HtsLimiter as input.
- Returns
- FVID2_SOK on success, else error code.
#define IOCTL_VHWA_M2M_NF_SYNC_START |
Value:#define IOCTL_VHWA_M2M_NF_SET_HTS_LIMIT
IOCTL for enabling and setting HTS limiter. This is used to slowed down the HTS by introducing clock ...
Definition: vhwa_m2mNf.h:171
IOCTL to sync start each module This IOCTL doesn't configure any register and only enable pipeline to start processing.
- Returns
- FVID2_SOK on success, else error code.
Initializes NF Init Parameters.
- Parameters
-
nfInitPrms | Pointer to NF initialization structure Vhwa_M2mNfInitPrms. This parameter should not be 0. |
- Returns
- Returns 0 on success else returns error value
void Vhwa_m2mNfDeInit |
( |
void |
| ) |
|
DeInitializes NF Init Parameters.
Function to allocate Sl2 memory for the output buffers.
- Parameters
-
- Returns
- FVID2_SOK if successful, else suitable error code
void Vhwa_m2mNfFreeSl2 |
( |
void |
| ) |
|
Function to free allocated SL2.
This function should be used to initialize variable of type Vhwa_M2mNfInitPrms.
- Parameters
-
- Returns
- None
This function should be used to initialize variable of type Vhwa_M2mNfCreatePrms.
- Parameters
-
- Returns
- None
This function should be used to initialize variable of type Vhwa_M2mNfConfig.
- Parameters
-
- Returns
- None