
Technical Manual
© 2006-2010 by HIKVISION. All rights reserved.
45
UINT RegionFlag
the area that want to clead
Explanation:
To clean the display area and display the background color. Bit0
-
Bit15
:
just as area1
-
area16
,
If bitn is 1
,
then relevant area be clear
Note: If the current area is just displaying, this api is invalid
5.1.43.
int SetDisplayRegionPosition (UINT nDisplayChannel,UINT nRegion,
UINT nLeft,UINT nTop)
Parameter:
UINT
nDisplayChannel
the index for the display channel
UINT nRegion
the area that want to adjust
UINT
nLeft,UINT nTop
the position that want to put
Explanation:
Adjust the position that display
5.1.44.
int FillDisplayRegion (UINT nDisplayChannel,UINT nRegion,
unsigned char *pImage)
Parameter:
UINT
nDisplayChannel
the index for the display channel
UINT
nRegion
the area that want to fill
unsigned char *
pImage
the point that YUV420 image
Explanation:
Fill the area by YUV420 image. The size of the Image must equal to the area.
Note: If the current area is just displaying, this api is invalid
5.1.45.
int SetDecoderAudioOutput(UINT nDecodeChannel,UINT bOpen,
UINT nOutputChannel)
Parameter:
UINT
nDecodeChannel
the index for the decode channel
UINT
bOpen
1 – open; 0-- close
UINT
nOutputChannel
the index for the display channel
Explanation:
Set the decoding audio output. Put the nDecodeChannel decoding audio to
nOutputChannel output. There have 2 audio output channel in the DS-4002MDI.So the
nOutputChannel must be 0 or 1
,
There have 4 audio output channel in the 4004MDI. So
the nOutputChannel must be 0
,
1
,
2 or 3.The Sdk will close the former audio output
before start new data output
5.1.46.
int SetDecoderVideoOutput(UINT nDecodeChannel,UINT nPort,UINT bOpen,UINT
nDisplayChannel,UINT nDisplayRegion,UINT nReserved)
Parameter:
UINT
nDecodeChannel
the index for the decode channel
UINT
nPort
the output port for the decode