hi_vi_vpss_mode_type

Description

Defines the operating modes of the VI pipes and VPSS groups.

Prototype

typedef enum {
    HI_VI_OFFLINE_VPSS_OFFLINE = 0,
    HI_VI_OFFLINE_VPSS_ONLINE,
    HI_VI_ONLINE_VPSS_OFFLINE,
    HI_VI_ONLINE_VPSS_ONLINE,
    HI_VI_PARALLEL_VPSS_OFFLINE,
    HI_VI_PARALLEL_VPSS_PARALLEL,
    HI_VI_VPSS_MODE_BUTT
} hi_vi_vpss_mode_type;

Members

Member

Description

HI_VI_OFFLINE_VPSS_OFFLINE

VI is offline, and VPSS is offline.

In this mode, if video streams need to be automatically transferred to the VPSS for further processing, you need to call hi_mpi_sys_bind to bind the VI channel to the VPSS and initialize the VI pipe and bound VPSS group.

HI_VI_OFFLINE_VPSS_ONLINE

VI is offline, and VPSS is online.

This mode applies to all VI pipes. In this mode, one VI pipe ID matches one VPSS group ID. Data flows from the VI pipe to the VPSS group. The binding relationship between the VI pipe and VPSS group does not need to be set by calling hi_mpi_sys_bind. The binding relationship is automatically maintained as VPSS GROUP ID = VI PIPE ID + 256.

You need to initialize the VI pipe and the VPSS group that is automatically bound in this mode. Otherwise, images cannot be properly output.

HI_VI_ONLINE_VPSS_OFFLINE

VI is online, and VPSS is offline. It is not supported by the current version.

HI_VI_ONLINE_VPSS_ONLINE

VI is online, and VPSS is online. It is not supported by the current version.

HI_VI_PARALLEL_VPSS_OFFLINE

VI is parallel, and VPSS is offline. It is not supported by the current version.

HI_VI_PARALLEL_VPSS_PARALLEL

VI is parallel, and VPSS is parallel. It is not supported by the current version.