STFLIB_ISP_DEVICE_StructInitialize

The API is described in the following sections.

Description

Device structure initialization function.

Syntax

The following code block shows the syntax of the API.
STFLIB_ISP_DEVICE_StructInitialize(
    ST_CI_DEVICE *pstDevice,
    EN_DEV_ID enDevId,
    STF_BOOL8 bForceGenDev,
    EN_MEM_TYPE enMemType,
    STF_U16 u16Width,
    STF_U16 u16Height
    );

Parameter

The API has the following parameters.
Table 1. STFLIB_ISP_DEVICE_StructInitialize Parameter Description
Parameter Description Input/Output
pstDevice Device handle Input
enDevId Device ID Input
bForceGenDev Indicate whether to open the video device using the “fopen” function Input
enMemType Video buffer type Input
u16Width Image width Input
u16Height Image height Input

Return

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

Requirement

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