PDK API Guide for J721E
|
This is DOF Configuration file
Files | |
file | dof_cfg.h |
Defines the structures / control operations that could be used to configure / control DOF of DMPAC. | |
Data Structures | |
struct | Dof_Config |
Connfiguration parameters of DMPAC DOF. More... | |
struct | Dof_DecisionTree |
Decision Tree Connfiguration parameters of DOF. More... | |
struct | Dof_ConfScoreParam |
Confidance Score parameters of DMPAC DOF. More... | |
struct | Dof_ErrEventParams |
Structure for error event parameters Used to register callback for the given set of events. More... | |
Functions | |
static void | DofCfg_init (Dof_Config *dofCfg) |
This function should be used to initialize variable of type Dof_Config. More... | |
static void | Dof_DecisionTreesInit (Dof_ConfScoreParam *dofCfg) |
This function should be used to initialize variable of type Dof_ConfScoreParam. More... | |
Typedefs | |
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... | |
Macros | |
#define | DOF_NUM_DECISION_TREES (16U) |
Number of decesion tree parameters for DOF. More... | |
#define | DOF_MAX_PYR_LVL_SUPPORTED (7U) |
Number of decesion tree parameters for DOF. More... | |
DOF Supported Resolution | |
#define | DOF_MINIMUM_WIDTH (32U) |
#define | DOF_MINIMUM_HEIGHT (16U) |
#define | DOF_MAXIMUM_WIDTH (2048U) |
#define | DOF_MAXIMUM_HEIGHT (1024U) |
DOF Supported Search range | |
#define | DOF_MAXIMUM_HSR (191U) |
#define | DOF_MAXIMUM_VSR (62U) |
#define | DOF_MAXIMUM_TVSR_WTIH_191_HSR (112U) |
#define | DOF_MAXIMUM_HSR_WTIH_124_VSR (170U) |
DOF Predictors | |
#define | DOF_PREDICTOR_NONE (0U) |
No Predictor used. More... | |
#define | DOF_PREDICTOR_DELEY_LEFT (1U) |
Delayed left predictor. More... | |
#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. More... | |
#define | DOF_PREDICTOR_PYR_LEFT (3U) |
Pyramidal left predictor, can be set for base and intermediate layers. More... | |
#define | DOF_PREDICTOR_PYR_COLOCATED (4U) |
Pyramidal colocated predictor, can be set for base and intermediate layers. More... | |
DOF Error Events | |
Macro's to define DOF Error events, for which DOF callback could be registered. Caution: These macro values are directly used by driver for enabling events. | |
#define | VHWA_DOF_RD_ERR (0x04U) |
Error on DOF VBUSM Read interface. More... | |
#define | VHWA_DOF_WR_ERR (0x08U) |
Error on DOF MP0 Read Status Error. More... | |
#define | VHWA_DOF_MP0_RD_STATUS_ERR (0x10U) |
Error on FOCO0 SL2 VBSUM Write interface. More... | |
#define | VHWA_DOF_FOCO0_SL2_WR_ERR (0x400000U) |
Error on FOCO0 VBUSM Read interface. More... | |
#define | VHWA_DOF_FOCO0_VBUSM_RD_ERR (0x200000U) |
#define DOF_NUM_DECISION_TREES (16U) |
Number of decesion tree parameters for DOF.
#define DOF_MAX_PYR_LVL_SUPPORTED (7U) |
Number of decesion tree parameters for DOF.
#define DOF_MINIMUM_WIDTH (32U) |
#define DOF_MINIMUM_HEIGHT (16U) |
#define DOF_MAXIMUM_WIDTH (2048U) |
#define DOF_MAXIMUM_HEIGHT (1024U) |
#define DOF_MAXIMUM_HSR (191U) |
#define DOF_MAXIMUM_VSR (62U) |
#define DOF_MAXIMUM_TVSR_WTIH_191_HSR (112U) |
#define DOF_MAXIMUM_HSR_WTIH_124_VSR (170U) |
#define DOF_PREDICTOR_NONE (0U) |
No Predictor used.
#define DOF_PREDICTOR_DELEY_LEFT (1U) |
Delayed left predictor.
#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.
#define DOF_PREDICTOR_PYR_LEFT (3U) |
Pyramidal left predictor, can be set for base and intermediate layers.
#define DOF_PREDICTOR_PYR_COLOCATED (4U) |
Pyramidal colocated predictor, can be set for base and intermediate layers.
#define VHWA_DOF_RD_ERR (0x04U) |
Error on DOF VBUSM Read interface.
<Error on DOF SL2 VBSUM Write interface
#define VHWA_DOF_WR_ERR (0x08U) |
Error on DOF MP0 Read Status Error.
#define VHWA_DOF_MP0_RD_STATUS_ERR (0x10U) |
Error on FOCO0 SL2 VBSUM Write interface.
#define VHWA_DOF_FOCO0_SL2_WR_ERR (0x400000U) |
Error on FOCO0 VBUSM Read interface.
#define VHWA_DOF_FOCO0_VBUSM_RD_ERR (0x200000U) |
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.
handle | FVID2 driver handle, for which error has occurred. |
errEvents | Error Events occured, Refer to Dof_ErrorEvents for valid values. |
|
inlinestatic |
This function should be used to initialize variable of type Dof_Config.
dofCfg | A pointer of type Dof_Config |
|
inlinestatic |
This function should be used to initialize variable of type Dof_ConfScoreParam.
dofCfg | A pointer of type Dof_ConfScoreParam |