GetModeIdx

The function is described in the following sections.

Description

Get the sensor mode index.

Syntax

The following code block shows the syntax of the function.
GetModeIdx(
    SENSOR_HANDLE *pstHandle,
    STF_U16 u16Width,
    STF_U16 u16Height
    );

Parameter

The function has the following parameters.
Table 1. GetModeIdx Parameter Description
Parameter Description Input/Output
pstHandle Sensor handle Input
u16Width Image width Input
u16Height Image height Input

Return

The function has the following return values.
Table 2. GetModeIdx Return Description
Return Description
STF_S8 Sensor mode index

Requirement

None