hi_isp_ctrl_cmd

Description

Defines 3A control commands.

Definition

typedef enum {
    HI_ISP_WDR_MODE_SET = 8000,
    HI_ISP_PROC_WRITE,
    HI_ISP_AE_FPS_BASE_SET,
    HI_ISP_AE_BLC_SET,
    HI_ISP_AE_RC_SET,
    HI_ISP_AE_BAYER_FORMAT_SET,
    HI_ISP_AE_INIT_INFO_GET,
    HI_ISP_AWB_ISO_SET,
    HI_ISP_CHANGE_IMAGE_MODE_SET,
    HI_ISP_UPDATE_INFO_GET,
    HI_ISP_FRAMEINFO_GET,
    HI_ISP_ATTACHINFO_GET,
    HI_ISP_COLORGAMUTINFO_GET,
    HI_ISP_AWB_INTTIME_SET,
    HI_ISP_BAS_MODE_SET,
    HI_ISP_PROTRIGGER_SET,
    HI_ISP_AWB_PIRIS_SET,
    HI_ISP_AWB_SNAP_MODE_SET,
    HI_ISP_AWB_ZONE_ROW_SET,
    HI_ISP_AWB_ZONE_COL_SET,
    HI_ISP_AWB_ZONE_BIN_SET,
    HI_ISP_AWB_ERR_GET,
    HI_ISP_CTRL_CMD_BUTT,
} hi_isp_ctrl_cmd;

Members

Member

Description

HI_ISP_WDR_MODE_SET

WDR mode configuration command. It is used to configure the WDR mode of the ISP control unit to the algorithm module. The parameter data structure corresponding to this command is hi_wdr_mode.

HI_ISP_PROC_WRITE

RPOC write information configuration command. It is used to configure the PROC information of the algorithm module to the ISP control unit. The parameter data structure corresponding to this command is hi_isp_ctrl_proc_write.

HI_ISP_AE_FPS_BASE_SET

Frame rate configuration command. It is used to configure the frame rate of the ISP control unit to the AE algorithm module. The parameter in this command is the same as frame_rate in hi_isp_pub_attr.

HI_ISP_AE_BLC_SET

Black level configuration command. It is used to configure the black level information into the AE algorithm module.

HI_ISP_AE_RC_SET

Radial Crop (RC) module enable configuration command. It is used to enable the RC module and send the enabling information to the AE algorithm module.

HI_ISP_AE_BAYER_FORMAT_SET

Bayer image data format configuration command. It is used to send the Bayer image data format to the AE algorithm module.

HI_ISP_AWB_ISO_SET

ISO value configuration command. It is used to configure the current ISO value of the AE module to the AWB module for automatically adjusting the saturation. The parameter in this command is the same as iso in hi_isp_ae_result.

HI_ISP_CHANGE_IMAGE_MODE_ SET

Image resolution switching identifier configuration command. It is used to configure the image resolution identifier to the algorithm module. The parameter data type corresponding to the command is hi_u8. The value 0 indicates that the image resolution is not switched, and other values indicate that the image resolution has been switched.

HI_ISP_UPDATE_INFO_GET

AE and AWB status information obtaining. This command is used to obtain the AE and AWB status information when the algorithms are running.

HI_ISP_FRAMEINFO_GET

This command is used with the VENC module to obtain ISP frame information, including the ISO and NR strength.

HI_ISP_ATTACHINFO_GET

This command is used to obtain additional ISP frame information, including the algorithms and parameters of ISO and each module.

HI_ISP_COLORGAMUTINFO_GET

This command is used to obtain the color gamut attribute of the channel.

HI_ISP_AWB_INTTIME_SET

Exposure configuration command. It is used to configure the current exposure value of the AE module to the AWB module for outdoor and indoor detection. The parameter in this command is the same as int_time in hi_isp_ae_result.

HI_ISP_BAS_MODE_SET

BAS mode configuration command

HI_ISP_PROTRIGGER_SET

This command is used to set the signal for triggering professional photographing. When the user triggers professional photographing once, the ISP sends the signal configuration to the AE and the AE starts professional exposure control.

HI_ISP_AWB_PIRIS_SET

This command is used to configure the gain information when the P-iris is running and obtain the actual status information of the P-iris.

HI_ISP_AWB_SNAP_MODE_SET

This command is used to set the snapshot mode. The configuration will be set to the AWB module.

HI_ISP_AWB_ZONE_ROW_SET

This command is used to set the number of rows in the AWB zone statistics. The number of rows in the AWB statistics is not fixed due to stitching and cropping. Therefore, it needs to be configured in the AWB module.

HI_ISP_AWB_ZONE_COL_SET

This command is used to set the number of columns in the AWB zone statistics. The number of columns in the AWB statistics is not fixed due to stitching and cropping. Therefore, it needs to be configured in the AWB module.

HI_ISP_AWB_ZONE_BIN_SET

This command is used to set the number of luminance bins in the AWB zone statistics.

HI_ISP_AWB_ERR_GET

This command is used to obtain the AWB error information.

HI_ISP_CTRL_CMD_BUTT

Reserved