设备网络SDK开发使用手册

NET_DVR_ISP_CAMERAPARAMCFG

ISP前端参数配置结构体。

struct{
  DWORD                        dwSize;
  BYTE                         byWorkType;
  BYTE                         byRes[3];
  NET_DVR_SCHEDULE_DAYTIME     struDayNightScheduleTime;
  NET_DVR_CAMERAPARAMCFG_EX    struSelfAdaptiveParam;
  NET_DVR_CAMERAPARAMCFG_EX    struDayIspAdvanceParam;
  NET_DVR_CAMERAPARAMCFG_EX    struNightIspAdvanceParam;
  BYTE                         byRes1[512];
}NET_DVR_ISP_CAMERAPARAMCFG, *LPNET_DVR_ISP_CAMERAPARAMCFG;

Members

dwSize
结构体大小
byWorkType
工作模式:0- 自适应(Auto),1- 定时模式(Scheduled)
byRes
保留,置为0
struDayNightScheduleTime
定时切换时间,byWorkType==1时有效,时间段内为白天,时间段外为夜晚
struSelfAdaptiveParam
自适应参数,byWorkType==0时有效,或者byWorkType==1时不支持定时模式的参数
struDayIspAdvanceParam
白天参数,byWorkType==1时有效
struNightIspAdvanceParam
夜晚参数,byWorkType==1时有效
byRes1
保留,置为0

Remarks

byWorkType设置成定时模式时,NET_DVR_CAMERAPARAMCFG_EX结构体中只有部分参数支持白天和夜晚两套参数(struDayIspAdvanceParam和struNightIspAdvanceParam)切换,支持的参数通过设备前端参数能力集(IPC_FRONT_PARAMETER_V20)获取:字段<ISPAdvanceCfg>的子节点<ISPCfgSupport>;其他参数采用自适应参数(struSelfAdaptiveParam),struDayIspAdvanceParam和struNightIspAdvanceParam中的这些参数都无效。

See Also

NET_DVR_GetDVRConfig   NET_DVR_SetDVRConfig

NET_DVR_GetDeviceAbility