STFLIB_ISP_PIPELINE_StructInitialize

The API is described in the following sections.

Description

Pipeline structure initialization function.

Syntax

The following code block shows the syntax of the API.
STFLIB_ISP_PIPELINE_StructInitialize (
    ST_PIPELINE *pstPipeline,
    STF_U8 u8IspIdx,
    CI_CONNECTION *pCIConnection,
    ST_SENSOR *pstSensor,
    EN_MEM_TYPE enMemType,
    ST_SIZE stCaptureSize,
    STF_BOOL8 bCheckSensorResolution
    );

Parameter

The API has the following parameters.
Table 1. STFLIB_ISP_PIPELINE_StructInitialize Parameter Description
Parameter Description Input/Output
pstPipeline Pipeline handle Input
u8IspIdx Indicated which ISP is used Input
pCIConnection Connection handle Input
pstSensor Sensor handle Input
enMemType Video buffer type Input
stCaptureSize Capture size Input
bCheckSensorResolution Check sensor output size Input

Return

The API has the following return values.
Table 2. STFLIB_ISP_PIPELINE_StructInitialize Return Description
Return Description
0 Success
Other values Failure

Requirement

The file libISPC.a is required for using this API.