DScaler

Events: none

--------------------------------------------------------------
Actions:

DScaler( <Command>, <ID> [, <Value>] )

Commands:

"CONTROL"
"GET"
"SET"
"CHANGE"

-----------------------------
CONTROL IDs:

<IdemID> - IDM_XXX (see resource.h from DScaler source code)

or

"MUTE"
"SAVE_SETTINGS_NOW"
"CAPTURE_PAUSE"
"CHANNEL_LIST"
"VIDEOTEXT"
"TELETEXT_KEY1"
"TELETEXT_KEY2"
"TELETEXT_KEY3"
"TELETEXT_KEY4"
"TELETEXT_KEY5"
"TELETEXT_KEY6"
"VT_RESET"
"RESET"
"TAKESTILL"
"OVERLAY_STOP"
"OVERLAY_START"
"HIDE_OSD"
"SHOW_OSD"
"FAST_REPAINT"

Example:
DScaler( "CONTROL", "SHOW_OSD" )
DScaler( "CONTROL", 2033 ) # IDM_TSPLAY = 2033

-----------------------------
GET only IDs:

"HANDLE" - returns the HWND of the DScaler main window

h = DScaler( "GET", "HANDLE" )

-----------------------------
SET only IDs:

"ASPECT", 0 - FULLSCREEN
1 - LETTERBOX
2 - ANAMORPHIC

"TYPEFORMAT", 0 - PAL_BDGHI
1 - NTSC
2 - SECAM
3 - PAL_M
4 - PAL_N
5 - NTSC_J
6 - PAL60

"DEINTMETHOD", 0 - VIDEO_BOB
1 - VIDEO_WEAVE
2 - VIDEO_2FRAME
3 - WEAVE
4 - BOB
5 - SCALER_BOB
13 - EVEN_ONLY
14 - ODD_ONLY
15 - BLENDED_CLIP
16 - ADAPTIVE
17 - VIDEO_GREEDY
18 - VIDEO_GREEDY2FRAME
19 - VIDEO_GREEDYH
20 - OLD_GAME
21 - VIDEO_TOMSMOCOMP

Example:
DScaler( "SET", "TYPEFORMAT", 0 )

------------------------------------------------

CHANGE values:

"DISPLAY" - Only display OSD Value.
"ADJUSTUP" - Increase Value, with acceleration [display OSD]
"ADJUSTDOWN" - Decrease Value, with acceleration [display OSD]
"INCREMENT" - Increase Value by 1 [display OSD]
"DECREMENT" - Decrease Value by 1 [display OSD]
"RESET" - Reset Value to default [display OSD]
"TOGGLEBOOL" - Toggle a boolean setting [display OSD]
"ADJUSTUP_SILENT" - Same, but no OSD
"ADJUSTDOWN_SILENT" - Same, but no OSD
"INCREMENT_SILENT" - Same, but no OSD
"DECREMENT_SILENT" - Same, but no OSD
"RESET_SILENT" - Same, but no OSD
"TOGGLEBOOL_SILENT" - Same, but no OSD

------------------------------------------------
Other GET, SET, CHANGE IDs:

------- Aspect ratio --------

"SOURCE_ASPECT"
"CUSTOM_SOURCE_ASPECT"
"TARGET_ASPECT"
"CUSTOM_TARGET_ASPECT"
"ASPECT_MODE"
"LUMINANCETHRESHOLD"
"IGNORENONBLACKPIXELS"
"AUTODETECTASPECT"
"ZOOMINFRAMECOUNT"
"ASPECTHISTORYTIME"
"ASPECTCONSISTENCYTIME"
"VERTICALPOS"
"HORIZONTALPOS"
"CLIPPING"
"BOUNCE"
"BOUNCEPERIOD"
"DEFERSETOVERLAY"
"BOUNCETIMERPERIOD"
"BOUNCEAMPLITUDE"
"ORBIT"
"ORBITPERIODX"
"ORBITPERIODY"
"ORBITSIZE"
"ORBITTIMERPERIOD"
"AUTOSIZEWINDOW"
"SKIPPERCENT"
"XZOOMFACTOR"
"YZOOMFACTOR"
"XZOOMCENTER"
"YZOOMCENTER"
"CHROMARANGE"
"WAITFORVERTBLANKINDRAW"
"ZOOMOUTFRAMECOUNT"
"ALLOWGREATERTHANSCREEN"
"MASKGREYSHADE"
"USEONLYWSS"
"USEWSS"

------- bt8x8 chip --------

"VIDEOSOURCE", 0 - TUNER
1 - COMPOSITE
3 - SVIDEO
4 - OTHER1
5 - OTHER2
6 - COMPVIASVIDEO
7 - CCIR656_1
8 - CCIR656_2
9 - CCIR656_3
10 - CCIR656_4
"TVFORMAT"
"BRIGHTNESS"
"CONTRAST"
"HUE"
"SATURATION"
"SATURATIONU"
"SATURATIONV"
"BDELAY"
"BTAGCDISABLE"
"BTCRUSH"
"BTEVENCHROMAAGC"
"BTODDCHROMAAGC"
"BTEVENLUMAPEAK"
"BTODDLUMAPEAK"
"BTFULLLUMARANGE"
"BTEVENLUMADEC"
"BTODDLUMADEC"
"BTEVENCOMB"
"BTODDCOMB"
"BTCOLORBARS"
"BTGAMMACORRECTION"
"BTCORING"
"BTHORFILTER"
"BTVERTFILTER"
"BTCOLORKILL"
"BTWHITECRUSHUP"
"BTWHITECRUSHDOWN"
"CURRENTX"
"CUSTOMPIXELWIDTH"
"HDELAY"
"VDELAY"
"REVERSEPOLARITY"
"CURRENTCARDTYPE"
"CURRENTTUNERTYPE"
"AUDIOSOURCE1"
"MSPMODE"
"MSPMAJORMODE"
"MSPMINORMODE"
"MSPSTEREO"
"AUTOSTEREOSELECT"
"VOLUME"
"SPATIAL"
"LOUDNESS"
"BASS"
"TREBLE"
"BALANCE"
"SUPERBASS"
"MSPEQ1"
"MSPEQ2"
"MSPEQ3"
"MSPEQ4"
"MSPEQ5"
"BT848SAVEPERINPUT"
"BT848SAVEPERFORMAT"
"BT848SAVETVFORMATPERINPUT"
"AUDIOSOURCE2"
"AUDIOSOURCE3"
"AUDIOSOURCE4"
"AUDIOSOURCE5"
"AUDIOSOURCE6"
"USEINPUTPIN1"

------- Main DScaler settings --------

"STARTLEFT"
"STARTTOP"
"STARTWIDTH"
"STARTHEIGHT"
"ALWAYSONTOP"
"ISFULLSCREEN"
"FORCEFULLSCREEN"
"SHOWSTATUSBAR"
"SHOWMENU"
"WINDOWPROCESSOR"
"THREADPROCESSOR"
"WINDOWPRIORITY"
"THREADPRIORITY"
"AUTOSAVESETTINGS"
"ALWAYSONTOPFULL"
"SHOWCRASHDIALOG"
"DISPLAYSPLASHSCREEN"
"AUTOHIDECURSOR"
"LOCKKEYBOARD"
"SCREENSAVEROFF"
"AUTOCODEPAGE"
"VTANTIALIAS"
"INITIALSOURCE"
"CHANNELENTERTIME"
"PROCESSORSPEED"
"TRADEOFF"
"FULLCPU"
"VIDEOCARD"

------- Out Threads --------

"HURRYWHENLATE"
"WAITFORFLIP"
"DOVERTICALFLIP"
"TUNERSWITCHSCREENUPDATEDELAY"
"DOACCURATEFLIPS"
"AUTODETECT"
"WAITFORVSYNC"
"DOJUDDERTERMINATORONVIDEO"

------- Other settings --------

"BACKBUFFERS"
"OVERLAYCOLOR"
"USEOVERLAYCONTROLS"
"OVERLAYBRIGHTNESS"
"OVERLAYCONTRAST"
"OVERLAYHUE"
"OVERLAYSATURATION"
"OVERLAYGAMMA"
"OVERLAYSHARPNESS"

"COUNTRYCODE"
"CURRENTPROGRAM"
"CUSTOMCHANNELORDER"

"SYSTEMINMUTE"

"LOGOKILL_TOP"
"LOGOKILL_LEFT"
"LOGOKILL_WIDTH"
"LOGOKILL_HEIGHT"
"LOGOKILL_MODE"
"LOGOKILL_MAX"
"USELOGOKILL"
"SMOOTHLOGOKILL"

"VTCODEPAGE"

"SETTINGSPERCHANNEL_ENABLED"

"FORMATSAVING"
"SLIDESHOWDELAY"
"JPEGQUALITY"
"PATTERNHEIGTH"
"PATTERNWIDTH"
"DELAYBETWEENSTILLS"
"SAVEINSAMEFILE"

"CAPTURE_VBI"
"CLOSEDCAPTIONMODE"
"DOTELETEXT"
"DOVPS"
"DOWSS"
"SEARCHHIGHLIGHT"