VIDEO_WDR

 

Description

Get or set the Wide Dynamic Range configurations.

The WDR function and configurations are vary with sensor/ISP platforms. Two ISP platforms are addressed in this document. The first one is the PlatformT video encoders/camera which they have the DNP DT018054 image processor. The other one is the camera with ISP C3.

WDR in DNP DT018054 image processor

There are two WDR levels in DNP DT018054 image processor. One is for day time mode and the other one is for night time mode. However, the DNP DT018054 has only one level in runtime. The firmware has to load one of them to the device based on the day/night state in camera if the WDR mode is AUTO.

When WDR mode is ON, the WDR is enable all the time and the day time level is loaded to the device. The night time level will not be used in this mode. But, the WDR night level has to be set with this URL.

When WDR mode is OFF, the WDR is disable. The day/night time levels are not used.

The WDR day/time level is in the range of 0 and 255. The 0 means the WDR is disable. The lower level, less image adaptation in WDR.

For the devices which do not have Day/Night Control function like video server, the WDR should work at ON or OFF mode. By default, WDR in video server is OFF. However, consider the flexible usage of this URL, it accepts the AUTO mode in these devices and set to ON mode then. No error message will be returned when the AUTO mode is set to the device.

XDR in ISP C3 image processor

In ISP C3, it uses XDR instead of WDR. There are 4 levels from 1 to 4 for XDR levels. And, set the XDR level to 0 will disable the XDR function.
Not like DNP DT018054, it does not have two XDR levels for day and night time modes. Therefore, we just use the day time XDR level with this URL. The night time XDR level is fixed to 0.

Input Argument

mode,DayLevel,NightLevel
where
mode could be AUTO, ON or OFF
DayLevel : the level of WDR for day time and is from 0~255. 0 means disable
NightLevel : the level of WDR for night time mode and is from 0~255. 0 means disable
The available values in these arguments depend on the ISP platforms. The following table gives the proper settings of them with ISP platforms.

ISP Platform mode DayLevel NightLevel Description
DNP DT018054 AUTO, ON, OFF 0~255 0~255 The DayLevel and NightLevel could be ignored in this URL. The firmware will use its current WDR level settings to perform WDR function if the input argument of this URL does not have DayLevel and NightLevel.
C3 ISP AUTO, ON, OFF 0~255 0 When mode is AUTO or ON, the XDR level was set based on DayLevel.
When mode is OFF, the XDR level is 0 no matter what DayLevel is.
The firmware uses following mapping algorithm to convert DatLevel to ISP XDR level when mode is AUTO or ON.
XDR level to ISP = (DayLevel>0) ? (DayLevel/64)+1 : 0

Attribute

Return of Message

VIDEO_WDR='AUTO,120,0'
OK: VIDEO_WDR='AUTO,120,0'
or
ERROR: VIDEO_WDR='AUTO,120,0'

Applicability

Status

Valid

See Also

VIDEO_BLACKLEVEL, VIDEO_DEINTERLACE, VIDEO_DNR, VIDEO_SKINTONE, V2_SHARPNESS

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&VIDEO_WDR
or
http://ip:port/cgi-bin/cmd/encoder?VIDEO_WDR

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&VIDEO_WDR=AUTO,120,0
or
http://ip:port/cgi-bin/cmd/encoder?VIDEO_WDR=AUTO,120,0
or
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&VIDEO_WDR=AUTO
or
http://ip:port/cgi-bin/cmd/encoder?VIDEO_WDR=OFF
or
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&VIDEO_WDR=ON,120,0
or
http://ip:port/cgi-bin/cmd/encoder?VIDEO_WDR=ON

Back to

HOME, ENCODER CGI