STFLIB_ISP_DEVICE_DRM_ConvertV4l2FormatToDrmFormat

The API is described in the following sections.

Description

Convert the V4L2 pixel format to DRM device pixel format.

Syntax

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

Parameter

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

Return

The API has the following return values.
Table 2. STFLIB_ISP_DEVICE_DRM_ConvertV4l2FormatToDrmFormat Return Description
Return Description
STF_U32 DRM device pixel format

Requirement

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