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.
| 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.
| Return | Description |
|---|---|
| 0 | Success |
| Other values | Failure |
Requirement
The file libISPC.a is required for using this API.
