STFLIB_ISP_GetVideoDevice

The API is described in the following sections.

Description

Get a specific video device handle from the ISP context.

Syntax

The following code block shows the syntax of the API.
STFLIB_ISP_GetVideoDevice(
    STF_VOID *pIspCtx,
    EN_ISP_PORT_ID enIspPortId
    );

Parameter

The API has the following parameters.
Table 1. STFLIB_ISP_GetVideoDevice Parameter Description
Parameter Description Input/Output
pIspCtx ISP context handle Input
enIspPortId Video device ID Input

Return

The API has the following return values.
Table 2. STFLIB_ISP_GetVideoDevice Return Description
Return Description
STF_S8 Return positive identifier or negative number if sensor cannot be found

Requirement

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