hi_vpss_chn_mode

Description

Defines the VPSS channel working modes.

Prototype

typedef enum {
    HI_VPSS_CHN_MODE_AUTO = 0,
    HI_VPSS_CHN_MODE_USER,
    HI_VPSS_CHN_MODE_BUTT
} hi_vpss_chn_mode;

Members

Member

Description

HI_VPSS_CHN_MODE_USER

User setting mode.

If the processed picture data needs to be obtained from the VPSS channel, the mode must be set to HI_VPSS_CHN_MODE_USER.

If the fisheye correction function is used, the mode must be set to HI_VPSS_CHN_MODE_USER.

HI_VPSS_CHN_MODE_AUTO

Auto mode.

  • In auto mode, the settings of the width, height, aspect_ratio, compress_mode, pixel_format, frame_rate, video_format and depth parameters in hi_vpss_chn_attr do not take effect. The settings are determined by the backend module.
  • In auto mode, users cannot obtain images.
  • In auto mode, each channel can be bound to only one receiver, which is used for playing control in preview and playback scenarios.

HI_VPSS_CHN_MODE_BUTT

Reserved