This is DOF Configuration file
|
file | dof_cfg.h |
| Defines the structures / control operations that could be used to configure / control DOF of DMPAC.
|
|
|
typedef void(* | Dof_ErrEventCbFxn) (Fvid2_Handle handle, uint32_t errEvents, void *appData) |
| Prototype for the Error Event for DOF. The callback for the DOF error events can be registered using Dof_ErrEventParams. One of the parameter in this is call back. Driver calls this callback when error occurs. More...
|
|
◆ DOF_NUM_DECISION_TREES
#define DOF_NUM_DECISION_TREES (16U) |
Number of decesion tree parameters for DOF.
◆ DOF_MAX_PYR_LVL_SUPPORTED
#define DOF_MAX_PYR_LVL_SUPPORTED (7U) |
Number of decesion tree parameters for DOF.
◆ DOF_MINIMUM_WIDTH
#define DOF_MINIMUM_WIDTH (32U) |
◆ DOF_MINIMUM_HEIGHT
#define DOF_MINIMUM_HEIGHT (16U) |
◆ DOF_MAXIMUM_WIDTH
#define DOF_MAXIMUM_WIDTH (2048U) |
◆ DOF_MAXIMUM_HEIGHT
#define DOF_MAXIMUM_HEIGHT (1024U) |
◆ DOF_MAXIMUM_HSR
#define DOF_MAXIMUM_HSR (191U) |
◆ DOF_MAXIMUM_VSR
#define DOF_MAXIMUM_VSR (62U) |
◆ DOF_MAXIMUM_TVSR_WTIH_191_HSR
#define DOF_MAXIMUM_TVSR_WTIH_191_HSR (112U) |
◆ DOF_MAXIMUM_HSR_WTIH_124_VSR
#define DOF_MAXIMUM_HSR_WTIH_124_VSR (170U) |
◆ DOF_PREDICTOR_NONE
#define DOF_PREDICTOR_NONE (0U) |
◆ DOF_PREDICTOR_DELEY_LEFT
#define DOF_PREDICTOR_DELEY_LEFT (1U) |
◆ DOF_PREDICTOR_TEMPORAL
#define DOF_PREDICTOR_TEMPORAL (2U) |
Temporal predictor, Need flow vector output from previous image pair as Temporal input, can only be set for base layer.
◆ DOF_PREDICTOR_PYR_LEFT
#define DOF_PREDICTOR_PYR_LEFT (3U) |
Pyramidal left predictor, can be set for base and intermediate layers.
◆ DOF_PREDICTOR_PYR_COLOCATED
#define DOF_PREDICTOR_PYR_COLOCATED (4U) |
Pyramidal colocated predictor, can be set for base and intermediate layers.
◆ VHWA_DOF_RD_ERR
#define VHWA_DOF_RD_ERR (0x04U) |
Error on DOF VBUSM Read interface.
<Error on DOF SL2 VBSUM Write interface
◆ VHWA_DOF_WR_ERR
#define VHWA_DOF_WR_ERR (0x08U) |
Error on DOF MP0 Read Status Error.
◆ VHWA_DOF_MP0_RD_STATUS_ERR
#define VHWA_DOF_MP0_RD_STATUS_ERR (0x10U) |
Error on FOCO0 SL2 VBSUM Write interface.
◆ VHWA_DOF_FOCO0_SL2_WR_ERR
#define VHWA_DOF_FOCO0_SL2_WR_ERR (0x400000U) |
Error on FOCO0 VBUSM Read interface.
◆ VHWA_DOF_FOCO0_VBUSM_RD_ERR
#define VHWA_DOF_FOCO0_VBUSM_RD_ERR (0x200000U) |
◆ Dof_ErrEventCbFxn
typedef void(* Dof_ErrEventCbFxn) (Fvid2_Handle handle, uint32_t errEvents, void *appData) |
Prototype for the Error Event for DOF. The callback for the DOF error events can be registered using Dof_ErrEventParams. One of the parameter in this is call back. Driver calls this callback when error occurs.
- Parameters
-
handle | FVID2 driver handle, for which error has occurred. |
errEvents | Error Events occured, Refer to Dof_ErrorEvents for valid values. |
- Returns
- None.
◆ DofCfg_init()
This function should be used to initialize variable of type Dof_Config.
- Parameters
-
- Returns
- None
◆ Dof_DecisionTreesInit()
This function should be used to initialize variable of type Dof_ConfScoreParam.
- Parameters
-
- Returns
- None