Technical Manual
© 2006-2010 by HIKVISION. All rights reserved. 44
Parameter:
hChannel channel handler
5.1.40. int SetDisplayStandard (UINT nDisplayChannel,VideoStandard_t VideoStandard)
Parameter:
UINT nDisplayChannel the index for the display channel
VideoStandard_t VideoStandard video standard
Explanation:
Set the video standard for the video out
5.1.41. int SetDisplayRegion (UINT nDisplayChannel,UINT nRegionCount,
REGION_PARAM *pParam,UINT nReserved)
Parameter:
UINT nDisplayChannel the index for the display channel
UINT nRegionCount the count of the areas
REGION_PARAM *pParam parameter of the areas
UINT nReserved reserved
typedef struct
{
UINT left; the left of the area, align with 16
UINT top; the top of the area, align with 8
UINT width; the width of the area, align with 16
UINT height; the height of the area, align with 8
UINT r; the red weight of the background
UINT g the green weight of the background
UINT b; the blue weight of the background
UINT param; expand parameter
}REGION_PARAM;
#define MAX_DISPLAY_REGION 16 //The max count of the area that could
display
Explanation:
There could partition the display to some area.
Return:
ErrorCodeNotSupport:the resource of the DSP is limited. The dsp could not partition
more area. That must shrink the area. Every display channel could support one 4CIF
size area + 2 QCIF areas
ErrorCodeInvalidDevice:nDisplayChannel is overflow
ErrorCodeInvalidArgument:nRegionCount is overflow,or pParam is error or the area
overstep the limit.
5.1.42. int ClearDisplayRegion (UINT nDisplayChannel,UINT nRegionFlag)
Parameter:
UINT nDisplayChannel the index for the display channel