ISP Context
The following code block shows the data structure for the ISP context structure.
typedef struct _ST_ISP_CTX {
STF_VOID *pPipeline;
STF_U8 u8IspIdx;
ST_SIZE stImgSize;
STF_U8 *pu8BinParamBuf;
ST_ISP_BIN_PARAM *pstIspBinParam;
STF_BOOL8 m_bIqTuningDebugInfoEnable;
ST_ISP_MOD *pstIspModCtx[EN_MODULE_ID_MAX];
ST_ISP_CTL *pstIspCtlCtx[EN_CONTROL_ID_MAX];
STF_BOOL8 m_bUserConfigIsp;
ST_CI_DEVICE stVideoDevice[EN_ISP_PORT_ID_MAX];
} ST_ISP_CTX, *PST_ISP_CTX;
The following table describes the fields in the above code block.
| Field | Description |
|---|---|
| pPipeline | Pipeline handle |
| u8IspIdx | Indicated which ISP is used |
| stImgSize | Capture size |
| pu8BinParamBuf | Store binary parameters data |
| pstIspBinParam | Pointer to binary parameters header |
| bIqTuningDebugInfoEnable | Debug information output flag |
| pstIspModCtx | Module table |
| pstIspCtlCtx | Control table |
| bUserConfigIsp | Enable/Disable ISP initialization from V4L2 driver |
| stVideoDevice | Video device table |
