hi_vi_intf_mode

Description

Defines the interface mode of a VI device.

Prototype

typedef enum {
    HI_VI_MODE_MIPI = 4,
    HI_VI_MODE_MIPI_YUV420_NORM,
    HI_VI_MODE_MIPI_YUV420_LEGACY,
    HI_VI_MODE_MIPI_YUV422,
    HI_VI_MODE_LVDS,
    HI_VI_MODE_HISPI,
    HI_VI_MODE_SLVS,
    HI_VI_MODE_BUTT
} hi_vi_intf_mode;

Members

Table 1 Interface mode of the video device

Member

Description

HI_VI_INTF_MODE_MIPI

The data input protocol is the MIPI protocol for transmitting raw data.

HI_VI_INTF_MODE_MIPI_YUV420_NORM

The data input protocol is the MIPI protocol for transmitting YUV420 normal data.

HI_VI_INTF_MODE_MIPI_YUV420_LEGACY

The data input protocol is the MIPI protocol for transmitting YUV420 legacy data. This mode is not supported in the current version.

HI_VI_INTF_MODE_MIPI_YUV422

The data input protocol is the MIPI protocol for transmitting YUV422 data.

HI_VI_MODE_LVDS

The input data complies with the LVDS protocol. This mode is not supported in the current version.

HI_VI_MODE_HISPI

The input data complies with the HISPI protocol. This mode is not supported in the current version.

HI_VI_MODE_SLVS

The input data complies with the SLVS-EC protocol.

HI_VI_MODE_BUTT

Reserved