NET_DVR_INPUTSTREAMCFG_V40

Structure about input stream parameters.

Structure Definition

struct{
  DWORD                        dwSize;
  BYTE                         byValid;
  BYTE                         byCamMode;
  WORD                         wInputNo;
  BYTE                         sCamName[NAME_LEN/*32*/];
  NET_DVR_VIDEOEFFECT          struVideoEffect;
  NET_DVR_PU_STREAM_CFG_V41    struPuStream;
  WORD                         wBoardNum;
  WORD                         wInputIdxOnBoard; 
  WORD                         dwResolution;
  BYTE                         byVideoFormat;
  BYTE                         byStatus;
  BYTE                         sGroupName[NAME_LEN];
  BYTE                         byJointMatrix;
  BYTE                         byJointNo;
  BYTE                         byColorMode;
  BYTE                         byScreenServer;
  BYTE                         byRes1[2];
  DWORD                        dwInputSignalNo;
  BYTE                         byRes[120];
}NET_DVR_INPUTSTREAMCFG,*LPNET_DVR_INPUTSTREAMCFG;

Members

dwSize

Structure size

byValid

Valid: 0-no, 1-yes

byCamMode

Signal source types, see the structure NET_DVR_CAM_MODE for details.

wInputNo

Signal source No., this field is extended, so dwInputSignalNo is suggested.

sCamName

Signal source name

struVideoEffect

Video parameters, it is valid only when byColorMode is 0, see details in the structure NET_DVR_VIDEOEFFECT.

struPuStream

Input stream parameters, it is valid when entering IP address, see the structure NET_DVR_PU_STREAM_CFG_V41 for details.

wBoardNum

Decoding board No., which with signal source, it can only be obtained.

wInputIdxOnBoard

Signal source position on the decoding board, it can only be obtained.

dwResolution

Resolution

byVideoFormat

Video standards, see the structure VIDEO_STANDARD for details.

byStatus

Signal source status: 0-invalid, 1-with signal, 2-no signal, 3-exception

sGroupName

Network signal source group name

byJointMatrix

Link to matrix: 0-not link, 1-link. It is invalid when the byCamMode is NET_DVR_CAM_BNC, NET_DVR_CAM_VGA, NET_DVR_CAM_DVI, or NET_DVR_CAM_HDMI.

byJointNo

Jointing No. of jointed signal source: 0-normal signal source, value larger than 0-jointed signal source.

byColorMode

Color mode: 0-custom, 1-sharp, 2-normal, 3-soft. If it is set to 0, you should set the color mode by the structure NET_DVR_VIDEOEFFECT.

byScreenServer

Link to screen server: 0-not link, 1-link

byRes1

Reserved, set to 0

dwInputSignalNo

Signal source No., it is compatible with wInputNo.

byRes

Reserved, set to 0