STFLIB_ISP_DEVICE_FB_ConvertV4l2FormatToFbFormat

The API is described in the following sections.

Description

Convert the V4L2 pixel format to Frame buffer pixel format.

Syntax

The following code block shows the syntax of the API.
STFLIB_ISP_DEVICE_FB_ConvertV4l2FormatToFbFormat(
    STF_U32 u32V4l2Format
    );

Parameter

The API has the following parameters.
Table 1. STFLIB_ISP_DEVICE_FB_ConvertV4l2FormatToFbFormat Parameter Description
Parameter Description Input/Output
u32V4l2Format V4L2 pixel format Input

Return

The API has the following return values.
Table 2. STFLIB_ISP_DEVICE_FB_ConvertV4l2FormatToFbFormat Return Description
Return Description
STF_U32 Frame buffer pixel format

Requirement

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