Logo Search packages:      
Sourcecode: zapping version File versions  Download package

DS_Control.h

/////////////////////////////////////////////////////////////////////////////
// $Id: DS_Control.h,v 1.2 2005/06/28 00:51:57 mschimek Exp $
/////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2000 John Adcock.  All rights reserved.
/////////////////////////////////////////////////////////////////////////////
// This header file is free software; you can redistribute it and/or modify it
// under the terms of the GNU Library General Public License as published by
// the Free Software Foundation; either version 2 of the License, or (at your
// option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Library General Public License for more details
/////////////////////////////////////////////////////////////////////////////
//
// Notes for writers of external apps
//
// To use control DScaler using an external app you can use SendMessage to
// perform both commands and to get/set all the settings
//
// To perform commands use the WM_COMMAND message
// e.g. SendMessage(hWndDScaler, WM_COMMAND, IDM_OSD_SHOW, 0);
//
// To get settings use the appropriate WM_XXX_GETVALUE
// e.g. Brightness = SendMessage(hWndDScaler, WM_BT848_GETVALUE, BRIGHTNESS, 0);
//
// To set settings use the appropriate WM_XXX_SETVALUE
// e.g. SendMessage(hWndDScaler, WM_BT848_SETVALUE, HUE, NewHueValue);
//
// To up settings use the appropriate WM_XXX_CHANGEVALUE
// e.g. SendMessage(hWndDScaler, WM_BT848_CHANGEVALUE, HUE, INCREMENTVALUE);
//
// To down settings use the appropriate WM_XXX_CHANGEVALUE
// e.g. SendMessage(hWndDScaler, WM_BT848_CHANGEVALUE, HUE, DECREMENTVALUE);
//
// To show settings use the appropriate WM_XXX_CHANGEVALUE
// e.g. SendMessage(hWndDScaler, WM_BT848_CHANGEVALUE, HUE, DISPLAYVALUE);
//
// To reset settings to default use the appropriate WM_XXX_CHANGEVALUE
// e.g. SendMessage(hWndDScaler, WM_BT848_CHANGEVALUE, HUE, RESETVALUE);
//
// To do the above operation without using the OSD use the ????VALUE_SILENT
// e.g. SendMessage(hWndDScaler, WM_BT848_CHANGEVALUE, HUE, INCREMENTVALUE_SILENT);
//
// The DScaler window handle can be obtained using
// hWndDScaler = FindWindow(DSCALER_APPNAME, NULL);
//
/////////////////////////////////////////////////////////////////////////////
//
// Notes for DScaler developers
//
// This is the place to add settings for any new file you create
// You should also update the LoadSettingsFromIni & SaveSettingsToIni
// functions in Settings.h so that your setttings get loaded
//
/////////////////////////////////////////////////////////////////////////////
// Change Log
//
// Date          Developer             Changes
//
// 16 Jan 2001   John Adcock           Moved all parts that could be used to
//                                     Control DScaler externally to this file
//
// 20 Feb 2001   Michael Samblanet     Added new values for Aspect Control
//                                     (bounce & clipping Modes)
//
// 08 Jun 2001   Eric Schmidt          Added bounce amplitude to ini
//
/////////////////////////////////////////////////////////////////////////////
// CVS Log
//
// $Log: DS_Control.h,v $
// Revision 1.2  2005/06/28 00:51:57  mschimek
// Removed unused DScaler code.
//
// Revision 1.1.2.1  2005/06/17 02:54:20  mschimek
// *** empty log message ***
//
// Revision 1.1  2005/01/08 14:54:22  mschimek
// *** empty log message ***
//
// Revision 1.2  2005/01/08 10:03:12  michael
// *** empty log message ***
//
// Revision 1.1  2004/11/14 15:35:15  michael
// *** empty log message ***
//
// Revision 1.158  2004/07/12 20:17:21  to_see
// Some minor fixes
//
// Revision 1.157  2004/04/24 08:54:18  atnak
// reverted part of last change because there was no need for a new setting
// variable for input timeout, used ChannelEnterTime instead
//
// Revision 1.156  2004/04/24 08:36:28  atnak
// new: user customizable teletext page number input timeout
//
// Revision 1.155  2004/02/06 08:01:20  adcockj
// Fixed a couple of minor issues with Torsten's changes
//
// Revision 1.154  2003/12/29 01:27:53  robmuller
// Added AVI file splitting.
//
// Revision 1.153  2003/11/18 16:36:33  robmuller
// Added option to disable the keyboard lock for dialog boxes.
//
// Revision 1.152  2003/11/11 22:16:30  robmuller
// Add ability to include the performance statistics in a release build.
//
// Revision 1.151  2003/09/13 13:47:44  laurentg
// New timeshift setting to enable/disable the warning message
//
// Revision 1.150  2003/08/02 12:01:43  laurentg
// Two new settings to define how many channels to display in preview mode
//
// Revision 1.149  2003/07/30 03:24:34  atnak
// Added NOHARDWAREMUTE to list of saved settings
//
// Revision 1.148  2003/07/18 09:39:53  adcockj
// Added option to release processor during JT
//
// Revision 1.147  2003/07/02 21:43:16  laurentg
// TimeShift settings
//
// Revision 1.146  2003/04/26 19:37:15  laurentg
// New character string settings
//
// Revision 1.145  2003/04/26 16:04:13  laurentg
// Character string settings
//
// Revision 1.144  2003/04/14 12:14:44  adcockj
// Added new Colorimetry Filter
//
// Revision 1.143  2003/03/29 22:36:17  laurentg
// New filter
//
// Revision 1.142  2003/03/25 13:07:18  laurentg
// New settings for stills
//
// Revision 1.141  2003/03/22 13:10:23  laurentg
// New filter from Michael Joubert
//
// Revision 1.140  2003/03/13 00:41:45  laurentg
// New filter black & white
//
// Revision 1.139  2003/03/08 19:57:11  laurentg
// New setting "always sleep"
//
// Revision 1.138  2003/02/26 20:52:03  laurentg
// New timing setting MaxFieldShift
//
// Revision 1.137  2003/02/06 10:00:14  laurentg
// Change resolution in full screen
//
// Revision 1.136  2003/02/05 16:39:29  laurentg
// New option to stop capture when DScaler is minimized
//
// Revision 1.135  2003/02/05 14:40:07  laurentg
// DScaler in Windows system tray (patch from Kristian Trenskow)
//
// Revision 1.134  2003/01/24 08:08:43  atnak
// Changes to OSDB
//
// Revision 1.133  2003/01/18 10:53:57  laurentg
// Overscan setting specific to calibration deleted
//
// Revision 1.132  2003/01/16 13:30:48  adcockj
// Fixes for various settings problems reported by Laurent 15/Jan/2003
//
// Revision 1.131  2003/01/13 13:56:28  adcockj
// First attemp at SAA7134 setting groups
//
// Revision 1.130  2003/01/12 20:10:47  adcockj
// Put analogue blanking setting in properly
//
// Revision 1.129  2003/01/10 17:37:40  adcockj
// Interrim Check in of Settings rewrite
//  - Removed SETTINGSEX structures and flags
//  - Removed Seperate settings per channel code
//  - Removed Settings flags
//  - Cut away some unused features
//
// Revision 1.128  2003/01/08 19:57:40  laurentg
// Analogue Blanking setting by source
//
// Revision 1.127  2003/01/08 00:23:09  atnak
// Put back VBI upscale divisor
//
// Revision 1.126  2003/01/07 23:23:40  laurentg
// New overscan settings
//
// Revision 1.125  2003/01/07 23:01:26  atnak
// Removed an element from SAA7134_SETTINGS
//
// Revision 1.124  2003/01/04 13:34:27  laurentg
// Settings for AR detection updated
//
// Revision 1.123  2003/01/02 16:24:14  adcockj
// Corrected MoComp2 settings
//
// Revision 1.122  2003/01/02 13:14:59  adcockj
// Added new plug-ins ready for developement by copying TomsMoComp and Gamma
//
// Revision 1.121  2003/01/01 21:07:10  atnak
// Updated VT_SETTING
//
// Revision 1.120  2002/12/10 14:53:14  adcockj
// Sound fixes for cx2388x
//
// Revision 1.119  2002/12/02 13:47:01  adcockj
// Allow fine control over white crush settings
//
// Revision 1.118  2002/11/26 21:32:14  adcockj
// Made new strange bob method optional
//
// Revision 1.117  2002/11/12 15:22:44  adcockj
// Made new flag settings have default setting
// Added pixel width for CX2388x cards
//
// Revision 1.116  2002/11/10 09:39:48  laurentg
// Settings "Use OSD screen..."
//
// Revision 1.115  2002/11/10 05:12:19  atnak
// Updated SAA7134SETTINGS
//
// Revision 1.114  2002/11/09 20:56:46  laurentg
// New CX2388x settings
//
// Revision 1.113  2002/11/09 01:11:09  laurentg
// New settings for the CX2388x chip
//
// Revision 1.112  2002/11/06 11:11:22  adcockj
// Added new Settings and applied Laurent's filter setup suggestions
//
// Revision 1.111  2002/11/05 13:07:08  adcockj
// Logo Killer Smoothing patch from Jochen Trenner
//
// Revision 1.110  2002/11/02 01:36:40  lindsey
// Added new settings for adaptive noise; Changed a name for histogram filter
//
// Revision 1.109  2002/11/01 16:17:14  laurentg
// New option to keep ratio when taking a still and saving it in a file
//
// Revision 1.108  2002/10/31 14:47:19  adcockj
// Added Sharpness
//
// Revision 1.107  2002/10/31 14:03:32  adcockj
// Added Analogue blanking option to aspect code
//
// Revision 1.106  2002/10/30 13:41:02  atnak
// Added SINGLEKEYTELETEXTTOGGLE to DSCALER_SETTING
//
// Revision 1.105  2002/10/29 22:00:30  adcockj
// Added EatlLinesAtTop setting for SDI on holo3d
//
// Revision 1.104  2002/10/29 15:24:22  robmuller
// Remove smoothing setting from logo killer since it is not used anymore.
//
// Revision 1.103  2002/10/29 11:05:27  adcockj
// Renamed CT2388x to CX2388x
//
// Revision 1.102  2002/10/29 03:07:56  atnak
// Updated SAA7134_SETTING
//
// Revision 1.101  2002/10/28 17:50:01  adcockj
// Fixes for channels combo
// Reorganized scanning
//
// Revision 1.100  2002/10/28 12:04:56  atnak
// Updated SAA7134_SETTING
//
// Revision 1.99  2002/10/27 12:08:50  laurentg
// New setting to define the number of consecutive stills
//
// Revision 1.98  2002/10/26 17:46:01  laurentg
// New option to take stills in memory
//
// Revision 1.97  2002/10/26 16:17:24  atnak
// Updated SAA7134_SETTING
//
// Revision 1.96  2002/10/26 15:48:59  adcockj
// Updated format enum to be consistent with DScaler
//
// Revision 1.95  2002/10/21 19:47:43  adcockj
// Corrected settings list for cx2388x
//
// Revision 1.94  2002/10/21 16:07:26  adcockj
// Added H & V delay options for CX2388x cards
//
// Revision 1.93  2002/10/21 07:29:21  adcockj
// Added new option for reversing scroll wheel intent
//
// Revision 1.92  2002/10/15 18:32:01  kooiman
// Added stereo detect interval for continuous scanning for stereo mode.
//
// Revision 1.91  2002/10/15 15:46:49  kooiman
// Updated BT848_SETTING
//
// Revision 1.90  2002/09/26 06:05:21  kooiman
// Added toolbar settings
//
// Revision 1.89  2002/09/16 19:34:18  adcockj
// Fix for auto format change
//
// Revision 1.88  2002/09/11 18:19:35  adcockj
// Prelimainary support for CX2388X based cards
//
// Revision 1.87  2002/09/06 15:08:10  kooiman
// Mixer lines now source dependent.
//
// Revision 1.86  2002/08/29 23:53:40  lindsey
// Added video mode setting to temporal comb filter
//
// Revision 1.85  2002/08/17 11:42:06  kooiman
// Applied LogoKiller Filter Smoothing option from Jochen Trenner.
//
// Revision 1.84  2002/08/16 18:46:34  kooiman
// Added setting entry for optional screen update delay during tuner frequency switch.
//
// Revision 1.83  2002/08/12 19:52:14  laurentg
// Selection of video card to adjust DScaler settings
//
// Revision 1.82  2002/08/11 16:08:20  laurentg
// New setting to choose between keep CPU for other applications or use full CPU for best results
//
// Revision 1.81  2002/08/09 13:27:54  laurentg
// Processor speed and trade off settings moved from BT source settings to DScaler settings
//
// Revision 1.80  2002/08/07 19:13:23  adcockj
// Added Colour Inversion Filter
//
// Revision 1.79  2002/08/07 09:42:12  kooiman
// Add settings for 'save per channel'
//
// Revision 1.78  2002/08/07 00:47:30  lindsey
// Added a switch for the use of prefetching in the temporal noise filter.
//
// Revision 1.77  2002/08/06 22:18:08  lindsey
// Added constants for a prefetch option with many of the filters
//
// Revision 1.76  2002/08/03 00:16:01  laurentg
// Value for WM_DI_TOMSMOCOMP_SETVALUE and WM_DI_TOMSMOCOMP_CHANGEVALUE updated to avoid conflicts
//
// Revision 1.75  2002/07/25 20:41:46  laurentg
// Setting added to take still always in the same file
//
// Revision 1.74  2002/07/24 21:37:00  laurentg
// Take cyclic stills
//
// Revision 1.73  2002/07/20 13:01:06  laurentg
// New setting for vertical mirror
//
// Revision 1.72  2002/07/20 10:26:34  laurentg
// New settings to select the wished OSD screens
//
// Revision 1.71  2002/07/19 15:25:09  laurentg
// New settings (other settings) added in the tree settings + related menu items deleted
//
// Revision 1.70  2002/07/08 17:44:58  adcockj
// Corrected Settings messages
//
// Revision 1.69  2002/07/08 13:53:35  trbarry
// First cut at motion compensated deinterlace
//
// Revision 1.68  2002/07/02 20:00:05  adcockj
// New setting for MSP input pin selection
//
// Revision 1.67  2002/06/24 21:45:42  laurentg
// New option to use or not WSS data when doing AR detection
//
// Revision 1.66  2002/06/20 20:00:42  robmuller
// Implemented videotext search highlighting.
//
// Revision 1.65  2002/06/18 19:46:05  adcockj
// Changed appliaction Messages to use WM_APP instead of WM_USER
//
// Revision 1.64  2002/06/13 11:24:32  robmuller
// Channel enter time is now configurable.
//
// Revision 1.63  2002/06/13 10:40:37  robmuller
// Made anti plop mute delay configurable.
//
// Revision 1.62  2002/06/06 12:48:18  robmuller
// Added settings for the Mirror filter.
//
// Revision 1.61  2002/06/05 20:53:49  adcockj
// Default changes and settings fixes
//
// Revision 1.60  2002/05/29 18:44:56  robmuller
// Added option to disable font anti-aliasing in Teletext.
//
// Revision 1.59  2002/05/27 20:17:05  robmuller
// Patch #561180  by PietOO:
// Autodetection of teletext code page.
//
// Revision 1.58  2002/05/26 09:21:48  robmuller
// Patch #560680 by PietOO:
// Added option to disable screensaver.
//
// Revision 1.57  2002/05/03 11:15:46  laurentg
// New settings added to define the size of the pattern
//
// Revision 1.56  2002/05/02 20:13:35  laurentg
// JPEG quality setting added
//
// Revision 1.55  2002/04/28 16:41:16  laurentg
// New setting for aspect ratio detect
//
// Revision 1.54  2002/04/27 16:06:15  laurentg
// Initial source
//
// Revision 1.53  2002/04/07 10:37:53  adcockj
// Made audio source work per input
//
// Revision 1.52  2002/02/27 20:41:08  laurentg
// Still settings
//
// Revision 1.51  2002/02/16 00:20:20  lindsey
// Added constants for FLT_Histogram
//
// Revision 1.50  2002/02/09 02:48:14  laurentg
// Overscan now stored in a setting of the source
//
// Revision 1.49  2002/02/01 20:25:24  robmuller
// Added new option to FLT_TNoise.
//
// Revision 1.48  2002/01/22 14:50:10  robmuller
// Added keyboard lock option.
//
// Revision 1.47  2002/01/05 23:05:39  lindsey
// Consolidated two settings into one from FLT_TemporalComb
//
// Revision 1.46  2001/12/31 00:55:55  lindsey
// Added settings for FLT_AdaptiveNoise
//
// Revision 1.45  2001/12/23 00:51:55  lindsey
// Added constants for Gradual Noise filter
//
// Revision 1.44  2001/12/16 17:04:37  adcockj
// Debug Log improvements
//
// Revision 1.43  2001/11/26 12:26:07  trbarry
// Missed update first commit?
//
// Revision 1.42  2001/11/02 10:45:29  adcockj
// Merge in code from Multiple card branch
//
// Revision 1.41  2001/10/18 16:20:39  adcockj
// Made Color of blanking adjustable
//
// Revision 1.40  2001/09/25 22:24:04  laurentg
// New control settings for calibration
//
// Revision 1.39  2001/09/12 14:32:45  tobbej
// fix for invalid DEINTERLACE_METHOD.nSettings (nSettings was more that the real number of settings)
//
// Revision 1.38  2001/08/30 10:06:29  adcockj
// Added support for extra settings in DI_OldGamne and FLT_TemporalComb
//
// Revision 1.37  2001/08/23 06:48:57  adcockj
// Fixed control header for TemporalComb filter
//
// Revision 1.36  2001/08/15 17:45:41  laurentg
// UseRGB ini parameter suppressed
//
// Revision 1.35  2001/08/14 11:36:03  adcockj
// Mixer change to allow restore of initial mixer settings
//
// Revision 1.34.2.3  2001/08/21 16:42:15  adcockj
// Per format/input settings and ini file fixes
//
// Revision 1.34.2.2  2001/08/20 16:14:18  adcockj
// Massive tidy up of code to new structure
//
// Revision 1.34.2.1  2001/08/17 16:35:13  adcockj
// Another interim check-in still doesn't compile. Getting closer ...
//
// Revision 1.34  2001/08/09 21:34:59  adcockj
// Fixed bugs raise by Timo and Keld
//
// Revision 1.33  2001/08/08 08:54:31  adcockj
// Added Delay option to film modes
// Switched comb modes to use greedy (low) on bad cadence instead of doings it's own thing
//
// Revision 1.32  2001/08/06 22:33:48  laurentg
// Little improvments for AR autodetection
//
// Revision 1.31  2001/08/03 12:27:41  adcockj
// Added sharpness filter
//
// Revision 1.30  2001/08/02 16:43:05  adcockj
// Added Debug level to LOG function
//
// Revision 1.29  2001/07/30 12:18:14  adcockj
// Added new OldGame plug-in
//
// Revision 1.28  2001/07/27 16:11:31  adcockj
// Added support for new Crash dialog
//
// Revision 1.27  2001/07/27 12:30:09  adcockj
// Added Overlay Color controls (Thanks to Muljadi Budiman)
//
// Revision 1.26  2001/07/26 21:59:15  laurentg
// New entry in OSD section of ini file
//
// Revision 1.25  2001/07/25 12:04:31  adcockj
// Moved Control stuff into DS_Control.h
// Added $Id and $Log to comment blocks as per standards
//
// Revision 1.24  2001/07/13 18:13:24  adcockj
// Changed Mute to not be persisted and to work properly
//
// Revision 1.23  2001/07/13 16:15:43  adcockj
// Changed lots of variables to match Coding standards
//
/////////////////////////////////////////////////////////////////////////////

#ifndef __DS_CONTROL_H___
#define __DS_CONTROL_H___

#define DSCALER_APPNAME "DScaler"

/////////////////////////////////////////////////////////////////////////////
// Control Messages passed using WM_COMMAND
/////////////////////////////////////////////////////////////////////////////
#ifdef DSCALER_EXTERNAL

#define IDM_SAVE_SETTINGS_NOW           100

#define IDM_VT_RESET                    261
#define IDM_RESET                       280
#define IDM_TAKESTILL                   485
#define IDM_OVERLAY_STOP                590
#define IDM_OVERLAY_START               591
#define IDM_HIDE_OSD                    592
#define IDM_SHOW_OSD                    593
// IDM_SET_OSD_TEXT the lParam must be the handle of a global atom
#define IDM_SET_OSD_TEXT                594
#define IDM_FAST_REPAINT                599
#define IDM_ASPECT_FULLSCREEN           701
#define IDM_ASPECT_LETTERBOX            702
#define IDM_ASPECT_ANAMORPHIC           703

// Messages for the Video Format Menu
#define IDM_TYPEFORMAT_PAL              1120
#define IDM_TYPEFORMAT_NTSC             1121
#define IDM_TYPEFORMAT_SECAM            1122
#define IDM_TYPEFORMAT_PAL_M            1123
#define IDM_TYPEFORMAT_PAL_N            1124
#define IDM_TYPEFORMAT_NTSC_JAPAN       1125
#define IDM_TYPEFORMAT_PAL60            1126

// Indexes for the Video Deinterlace Algorithms
// to select a deinterlace method send a WM_COMMAND message
// with the relevant index added to this message
// e.g. To switch to adaptive
// SendMessage(hWndDScaler, WM_COMMAND, IDM_FIRST_DEINTMETHOD + INDEX_ADAPTIVE, 0);
#define IDM_FIRST_DEINTMETHOD             1900

/////////////////////////////////////////////////////////////////////////////
// For setting of certain values
//

enum eVideoFormat
{
    VIDEOFORMAT_PAL_B = 0,
    VIDEOFORMAT_PAL_D,
    VIDEOFORMAT_PAL_G,
    VIDEOFORMAT_PAL_H,
    VIDEOFORMAT_PAL_I,
    VIDEOFORMAT_PAL_M,
    VIDEOFORMAT_PAL_N,
    VIDEOFORMAT_PAL_60,
    VIDEOFORMAT_PAL_N_COMBO,

    VIDEOFORMAT_SECAM_B,
    VIDEOFORMAT_SECAM_D,
    VIDEOFORMAT_SECAM_G,
    VIDEOFORMAT_SECAM_H,
    VIDEOFORMAT_SECAM_K,
    VIDEOFORMAT_SECAM_K1,
    VIDEOFORMAT_SECAM_L,
    VIDEOFORMAT_SECAM_L1,

    VIDEOFORMAT_NTSC_M,
    VIDEOFORMAT_NTSC_M_Japan,
    VIDEOFORMAT_NTSC_50,

    VIDEOFORMAT_LASTONE
};

#endif

// Indexes for the Video Deinterlace Algorithms
#define INDEX_VIDEO_BOB                   0
#define INDEX_VIDEO_WEAVE                 1
#define INDEX_VIDEO_2FRAME                2
#define INDEX_WEAVE                       3
#define INDEX_BOB                         4
#define INDEX_SCALER_BOB                  5
#define INDEX_EVEN_ONLY                   13
#define INDEX_ODD_ONLY                    14
#define INDEX_BLENDED_CLIP                15
#define INDEX_ADAPTIVE                    16
#define INDEX_VIDEO_GREEDY                17
#define INDEX_VIDEO_GREEDY2FRAME          18
#define INDEX_VIDEO_GREEDYH               19
#define INDEX_OLD_GAME                    20
#define INDEX_VIDEO_TOMSMOCOMP            21
#define INDEX_VIDEO_MOCOMP2               22

/////////////////////////////////////////////////////////////////////////////
// Allow callers to convert a WM code to do other operations
/////////////////////////////////////////////////////////////////////////////

#define WM_CONVERT_TO_GETVALUE(x)     (((x - WM_APP) % 100) + WM_APP)
#define WM_CONVERT_TO_SETVALUE(x)    ((((x - WM_APP) % 100) + 100) + WM_APP)
#define WM_CONVERT_TO_CHANGEVALUE(x) ((((x - WM_APP) % 100) + 200) + WM_APP)


/////////////////////////////////////////////////////////////////////////////
// Constants for WM_????_CHANGEVALUE messages
/////////////////////////////////////////////////////////////////////////////
typedef enum
{
    DISPLAY = 0,          // 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
} eCHANGEVALUE;

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in AspectRatio.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    SOURCE_ASPECT = 0,
    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,
    USEWSS,
    DEFAULTSOURCEASPECT,
      DEFAULTASPECTMODE,
    ASPECT_SETTING_LASTONE,
} ASPECT_SETTING;

#define WM_ASPECT_GETVALUE          (WM_APP + 1)
#define WM_ASPECT_SETVALUE          (WM_APP + 101)
#define WM_ASPECT_CHANGEVALUE       (WM_APP + 201)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in Bt848.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    BRIGHTNESS = 0,
    CONTRAST,
    HUE,
    SATURATION,
    SATURATIONU,
    SATURATIONV,
    TOPOVERSCAN,
    BDELAY,
    BTAGCDISABLE,
    BTCRUSH,
    BTEVENCHROMAAGC,
    BTODDCHROMAAGC,
    BTEVENLUMAPEAK,
    BTODDLUMAPEAK,
    BTFULLLUMARANGE,
    BTEVENLUMADEC,
    BTODDLUMADEC,
    BTEVENCOMB,
    BTODDCOMB,
    BTCOLORBARS,
    BTGAMMACORRECTION,
    BTCORING,
    BTHORFILTER,
    BTVERTFILTER,
    BTCOLORKILL,
    BTWHITECRUSHUP,
    BTWHITECRUSHDOWN,
    CURRENTX,
    CUSTOMPIXELWIDTH,
    VIDEOSOURCE,
    TVFORMAT,
    HDELAY,
    VDELAY,
    REVERSEPOLARITY,
    CURRENTCARDTYPE,
    CURRENTTUNERTYPE,
    AUDIOSOURCE1,    
    AUDIOCHANNEL,
    AUTOSTEREOSELECT,
    VOLUME,
    BASS,
    TREBLE,
    BALANCE,
    BT848SAVEPERINPUT_DISABLED,
    BT848SAVEPERFORMAT_DISABLED,    
    AUDIOSOURCE2,
    AUDIOSOURCE3,
    AUDIOSOURCE4,
    AUDIOSOURCE5,
    AUDIOSOURCE6,
    USEINPUTPIN1,
    USEEQUALIZER,
    EQUALIZERBAND1,
    EQUALIZERBAND2,
    EQUALIZERBAND3,
    EQUALIZERBAND4,
    EQUALIZERBAND5,
    LOUDNESS,    
    SUPERBASS,
    SPATIAL,
    AUTOVOLUMECORRECTION,
    AUDIOSTANDARDDETECT,
    AUDIOSTANDARDDETECTINTERVAL,
    AUDIOSTANDARDMANUAL,
    AUDIOSTANDARDMAJORCARRIER,
    AUDIOSTANDARDMINORCARRIER,
    AUDIOSTANDARDINSTATUSBAR,
    MSP34XXFLAGS,
    AUTOSTEREODETECTINTERVAL,
    BOTTOMOVERSCAN,
    LEFTOVERSCAN,
    RIGHTOVERSCAN,
    BT848_SETTING_LASTONE,
} BT848_SETTING;

#define WM_BT848_GETVALUE           (WM_APP + 2)
#define WM_BT848_SETVALUE           (WM_APP + 102)
#define WM_BT848_CHANGEVALUE        (WM_APP + 202)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in DScaler.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    STARTLEFT = 0,
    STARTTOP,
    STARTWIDTH,
    STARTHEIGHT,
    ALWAYSONTOP,
    ISFULLSCREEN,
    FORCEFULLSCREEN,
    SHOWSTATUSBAR,
    SHOWMENU,
    WINDOWPROCESSOR,
    THREADPROCESSOR,
    WINDOWPRIORITY,
    THREADPRIORITY,
    AUTOSAVESETTINGS,
    ALWAYSONTOPFULL,
    SHOWCRASHDIALOG,
    DISPLAYSPLASHSCREEN,
    AUTOHIDECURSOR,
    LOCKKEYBOARD,
      LOCKKEYBOARDMAINWINDOWONLY,
    SCREENSAVEROFF,
    AUTOCODEPAGE,
    VTANTIALIAS,
    INITIALSOURCE,
    CHANNELENTERTIME,
    PROCESSORSPEED,
    TRADEOFF,
    FULLCPU,
    VIDEOCARD,
      REVERSECHANNELSCROLLING,
    SINGLEKEYTELETEXTTOGGLE,
      MINTOTRAY,
      MINIMIZEHANDLING,
      RESOFULLSCREEN,
      PSTRIPRESO576I,
      PSTRIPRESO480I,
      SKINNAME,
      CHANNELPREVIEWWNBCOLS,
      CHANNELPREVIEWNBROWS,
    DSCALER_SETTING_LASTONE,
} DSCALER_SETTING;

#define WM_DSCALER_GETVALUE             (WM_APP + 3)
#define WM_DSCALER_SETVALUE             (WM_APP + 103)
#define WM_DSCALER_CHANGEVALUE          (WM_APP + 203)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in OutThreads.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    HURRYWHENLATE = 0,
    WAITFORFLIP,
    DOVERTICALFLIP,
    TUNERSWITCHSCREENUPDATEDELAY,
    DOACCURATEFLIPS,
    AUTODETECT,
    WAITFORVSYNC,
    DOJUDDERTERMINATORONVIDEO,
    OUTTHREADS_SETTING_LASTONE,
} OUTTHREADS_SETTING;

#define WM_OUTTHREADS_GETVALUE      (WM_APP + 4)
#define WM_OUTTHREADS_SETVALUE      (WM_APP + 104)
#define WM_OUTTHREADS_CHANGEVALUE   (WM_APP + 204)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in Other.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    BACKBUFFERS = 0,
    OVERLAYCOLOR,
    USEOVERLAYCONTROLS,
    OVERLAYBRIGHTNESS,
    OVERLAYCONTRAST,
    OVERLAYHUE,
    OVERLAYSATURATION,
    OVERLAYGAMMA,
    OVERLAYSHARPNESS,
    OTHER_SETTING_LASTONE,
} OTHER_SETTING;

#define WM_OTHER_GETVALUE           (WM_APP + 5)
#define WM_OTHER_SETVALUE           (WM_APP + 105)
#define WM_OTHER_CHANGEVALUE        (WM_APP + 205)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FD_50Hz.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    PULLDOWNTHRESHHOLDLOW = 0,
    PULLDOWNTHRESHHOLDHIGH,
    PALFILMFALLBACKMODE,
    PALFILMREPEATCOUNT,
    PALFILMREPEATCOUNT2,
    MAXCALLSTOPALCOMB,
    PALBADCADENCEMODE,
    FD50_SETTING_LASTONE,
} FD50_SETTING;

#define WM_FD50_GETVALUE            (WM_APP + 6)
#define WM_FD50_SETVALUE            (WM_APP + 106)
#define WM_FD50_CHANGEVALUE         (WM_APP + 206)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FD_50Hz.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    NTSCFILMFALLBACKMODE = 0,
    NTSCPULLDOWNREPEATCOUNT,
    NTSCPULLDOWNREPEATCOUNT2,
    THRESHOLD32PULLDOWN,
    THRESHOLDPULLDOWNMISMATCH,
    THRESHOLDPULLDOWNCOMB,
    FALLBACKTOVIDEO,
    PULLDOWNSWITCHINTERVAL,
    PULLDOWNSWITCHMAX,
    MAXCALLSTOCOMB,
    NTSCBADCADENCEMODE,
    FD60_SETTING_LASTONE,
} FD60_SETTING;

#define WM_FD60_GETVALUE            (WM_APP + 7)
#define WM_FD60_SETVALUE            (WM_APP + 107)
#define WM_FD60_CHANGEVALUE         (WM_APP + 207)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FD_Common.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    BITSHIFT = 0,
    EDGEDETECT,
    JAGGIETHRESHOLD,
    DIFFTHRESHOLD,
    USECHROMA,
    FILMFLIPDELAY,
    FD_COMMON_SETTING_LASTONE,
} FD_COMMON_SETTING;

#define WM_FD_COMMON_GETVALUE       (WM_APP + 8)
#define WM_FD_COMMON_SETVALUE       (WM_APP + 108)
#define WM_FD_COMMON_CHANGEVALUE    (WM_APP + 208)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_TNoise.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    TEMPORALLUMINANCETHRESHOLD = 0,
    TEMPORALCHROMATHRESHOLD,
    TEMPORALNOISEPREFETCH,
    LOCKTHRESHOLDSTOGETHER,
    USETEMPORALNOISEFILTER,
    FLT_TNOISE_SETTING_LASTONE,
} FLT_TNOISE_SETTING;

#define WM_FLT_TNOISE_GETVALUE      (WM_APP + 14)
#define WM_FLT_TNOISE_SETVALUE      (WM_APP + 114)
#define WM_FLT_TNOISE_CHANGEVALUE   (WM_APP + 214)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in OSD.c
/////////////////////////////////////////////////////////////////////////////
typedef enum
{
    OSDB_USERDEFINED    = -1,
    OSDB_TRANSPARENT    = 0,
    OSDB_BLOCK,
    OSDB_SHADED,
    OSDB_LASTONE,
} eOSDBackground;

typedef enum
{
    OSD_OUTLINECOLOR = 0,
    OSD_TEXTCOLOR,
    OSD_PERCENTAGESIZE,
    OSD_PERCENTAGESMALLSIZE,
    OSD_ANTIALIAS,
    OSD_BACKGROUND,
    OSD_OUTLINE,
    OSD_AUTOHIDE_SCREEN,
    OSD_USE_GENERAL_SCREEN,
    OSD_USE_STATISTICS_SCREEN,
    OSD_USE_WSS_SCREEN,
    OSD_USE_DEVELOPER_SCREEN,
      OSD_FONT,
    OSD_SETTING_LASTONE,
} OSD_SETTING;
#define WM_OSD_GETVALUE     (WM_APP + 18)
#define WM_OSD_SETVALUE     (WM_APP + 118)
#define WM_OSD_CHANGEVALUE  (WM_APP + 218)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_Gamma.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    GAMMAVALUE = 0,
    USESTOREDTABLE,
    USEGAMMAFILTER,
    BLACKLEVEL,
    WHITELEVEL,
    FLT_GAMMA_SETTING_LASTONE,
} FLT_GAMMA_SETTING;

#define WM_FLT_GAMMA_GETVALUE       (WM_APP + 20)
#define WM_FLT_GAMMA_SETVALUE       (WM_APP + 120)
#define WM_FLT_GAMMA_CHANGEVALUE    (WM_APP + 220)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in VBI.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    CAPTURE_VBI = 0,
    CLOSEDCAPTIONMODE,
    DOTELETEXT,
    DOVPS,
    DOWSS,
    SEARCHHIGHLIGHT,
    VBI_SETTING_LASTONE,
} VBI_SETTING;

#define WM_VBI_GETVALUE     (WM_APP + 21)
#define WM_VBI_SETVALUE     (WM_APP + 121)
#define WM_VBI_CHANGEVALUE  (WM_APP + 221)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_LinearCorrection.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    USELINEARCORRFILTER = 0,
    DOONLYMASKING,
    MASKTYPE,
    MASKPARAM1,
    MASKPARAM2,
    MASKPARAM3,
    MASKPARAM4,
    FLT_LINEAR_CORR_SETTING_LASTONE,
} FLT_LINEAR_CORR_SETTING;

#define WM_FLT_LINEAR_CORR_GETVALUE     (WM_APP + 24)
#define WM_FLT_LINEAR_CORR_SETVALUE     (WM_APP + 124)
#define WM_FLT_LINEAR_CORR_CHANGEVALUE  (WM_APP + 224)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in MixerDev.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    USEMIXER = 0,
    DESTINDEX,
    INPUT1INDEX,
    INPUT2INDEX,
    INPUT3INDEX,
    INPUT4INDEX,
    MIXERRESETONEXIT,
    INPUT5INDEX,
    INPUT6INDEX,    
      MIXERNAME,
    NOHARDWAREMUTE,
    MIXERDEV_SETTING_LASTONE,
} MIXERDEV_SETTING;

#define WM_MIXERDEV_GETVALUE        (WM_APP + 25)
#define WM_MIXERDEV_SETVALUE        (WM_APP + 125)
#define WM_MIXERDEV_CHANGEVALUE     (WM_APP + 225)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FieldTiming.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    AUTOFORMATDETECT = 0,
    FIFTY_HZ_FORMAT,
    SIXTY_HZ_FORMAT,
    FORMATCHANGETHRESHOLD,
    SLEEPINTERVAL,
    SLEEPSKIPFIELDS,
    SLEEPSKIPFIELDSLATE,
      MAXFIELDSHIFT,
      ALWAYSSLEEP,
    GIVEUPPROCDURINGJT,
    TIMING_SETTING_LASTONE,
} TIMING_SETTING;

#define WM_TIMING_GETVALUE          (WM_APP + 26)
#define WM_TIMING_SETVALUE          (WM_APP + 126)
#define WM_TIMING_CHANGEVALUE       (WM_APP + 226)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in Program.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    COUNTRYCODE = 0,
    CURRENTPROGRAM,
    SCANMODE,
    USEAFCWHILESCANNING,
    CHANNELS_SETTING_LASTONE,
} CHANNELS_SETTING;

#define WM_CHANNELS_GETVALUE            (WM_APP + 27)
#define WM_CHANNELS_SETVALUE            (WM_APP + 127)
#define WM_CHANNELS_CHANGEVALUE         (WM_APP + 227)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in Audio.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
      SYSTEMINMUTE = 0,
    AUDIO_SETTING_LASTONE,
} AUDIO_SETTING;
  
#define WM_AUDIO_GETVALUE               (WM_APP + 28)
#define WM_AUDIO_SETVALUE               (WM_APP + 128)
#define WM_AUDIO_CHANGEVALUE            (WM_APP + 228)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in Debug.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    DEBUGLOG = 0,
    DEBUGLEVEL,
    DEBUGFLUSHAFTERWRITE,
      DEBUGLOGFILE,
    DEBUG_SETTING_LASTONE,
} DEBUG_SETTING;

#define WM_DEBUG_GETVALUE               (WM_APP + 29)
#define WM_DEBUG_SETVALUE               (WM_APP + 129)
#define WM_DEBUG_CHANGEVALUE            (WM_APP + 229)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_LogoKill.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    LOGOKILL_TOP = 0,
    LOGOKILL_LEFT,
    LOGOKILL_WIDTH,
    LOGOKILL_HEIGHT,
    LOGOKILL_MODE,
    LOGOKILL_MAX,
      LOGOKILL_USE_SMOOTHING,
      LOGOKILL_SMOOTHING_AMOUNT,
    USELOGOKILL,
    FLT_LOGOKILL_SETTING_LASTONE,
} FLT_LOGOKILL_SETTING;

#define WM_FLT_LOGOKILL_GETVALUE        (WM_APP + 30)
#define WM_FLT_LOGOKILL_SETVALUE        (WM_APP + 130)
#define WM_FLT_LOGOKILL_CHANGEVALUE     (WM_APP + 230)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in VT.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    VT_CODEPAGE = 0,
    VT_LANGUAGE_REGION,
    VT_SHOW_SUBCODE_OSD,
    VT_LINES_CACHINGCONTROL,
    VT_HIGH_GRANULARITY_CACHING,
    VT_SUBSTITUTE_ERROR_SPACES,
    VT_SUBTITLE_DUPLICATION_FILTER,
    VT_DOUBLEHEIGHT_SUBTITLES_FILTER,
    VT_SETTING_LASTONE,
} VT_SETTING;

#define WM_VT_GETVALUE     (WM_APP + 31)
#define WM_VT_SETVALUE     (WM_APP + 131)
#define WM_VT_CHANGEVALUE  (WM_APP + 231)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_Sharpness.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    SHARPNESS = 0,
    SHARPNESS_PREFETCH,
    USESHARPNESS,
    FLT_SHARPNESS_SETTING_LASTONE,
} FLT_SHARPNESS_SETTING;

#define WM_FLT_SHARPNESS_GETVALUE     (WM_APP + 34)
#define WM_FLT_SHARPNESS_SETVALUE     (WM_APP + 134)
#define WM_FLT_SHARPNESS_CHANGEVALUE  (WM_APP + 234)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_TemporalComb.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    TCOMB_MAX_PHASE_COLOR_DIFF = 0,
    TCOMB_PREFETCH,
    TCOMB_SHIMMER_HIST_PERCENT,
    TCOMB_SHIMMER_PERCENT,
    TCOMB_ACTIVATE,
    TCOMB_TRADE_SPEED_FOR_ACCURACY,
      TCOMB_VIDOE_MODE,
    FLT_TCOMB_SETTING_LASTONE,
} FLT_TCOMB_SETTING;

#define WM_FLT_TCOMB_GETVALUE     (WM_APP + 35)
#define WM_FLT_TCOMB_SETVALUE     (WM_APP + 135)
#define WM_FLT_TCOMB_CHANGEVALUE  (WM_APP + 235)


/////////////////////////////////////////////////////////////////////////////
// Control settings contained in Calibration.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    LEFT_SOURCE_CROPPING = 0,
    RIGHT_SOURCE_CROPPING,
    SHOW_RGB_DELTA,
    SHOW_YUV_DELTA,
    CALIBR_SETTING_LASTONE,
} CALIBR_SETTING;

#define WM_CALIBR_GETVALUE     (WM_APP + 36)
#define WM_CALIBR_SETVALUE     (WM_APP + 136)
#define WM_CALIBR_CHANGEVALUE  (WM_APP + 236)


/////////////////////////////////////////////////////////////////////////////
// Control settings contained in DVBT.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    DVBT_SETTING_LASTONE = 0,
} DVBT_SETTING;

#define WM_DVBT_GETVALUE     (WM_APP + 37)
#define WM_DVBT_SETVALUE     (WM_APP + 137)
#define WM_DVBT_CHANGEVALUE  (WM_APP + 237)


/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_GradualNoise.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    NOISE_REDUCTION = 0,
    GNOISE_PREFETCH,
    GNOISE_ACTIVATE,
    FLT_GNOISE_SETTING_LASTONE,
} FLT_GNOISE_SETTING;

#define WM_FLT_GNOISE_GETVALUE      (WM_APP + 38)
#define WM_FLT_GNOISE_SETVALUE      (WM_APP + 138)
#define WM_FLT_GNOISE_CHANGEVALUE   (WM_APP + 238)


/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_AdaptiveNoise.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    ANOISE_STABILITY = 0,
    ANOISE_PREFETCH,
    ANOISE_REDUCTION,
    ANOISE_LOCK_DOT,
    ANOISE_READOUT,
    ANOISE_ACTIVATE,
    ANOISE_INDICATOR,
    ANOISE_MOTION_MEMORY,
    ANOISE_DO_SPATIAL,
    ANOISE_SPATIAL,
    FLT_ANOISE_SETTING_LASTONE,
} FLT_ANOISE_SETTING;

#define WM_FLT_ANOISE_GETVALUE      (WM_APP + 39)
#define WM_FLT_ANOISE_SETVALUE      (WM_APP + 139)
#define WM_FLT_ANOISE_CHANGEVALUE   (WM_APP + 239)


/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_Histogram.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    HISTOGRAM_DISPLAY_MODE = 0,
    HISTOGRAM_PREFETCH,
    HISTOGRAM_ACTIVATE,
    HISTOGRAM_COMB_MODE,
    FLT_HISTOGRAM_SETTING_LASTONE,
} FLT_HISTOGRAM_SETTING;

#define WM_FLT_HISTOGRAM_GETVALUE      (WM_APP + 40)
#define WM_FLT_HISTOGRAM_SETVALUE      (WM_APP + 140)
#define WM_FLT_HISTOGRAM_CHANGEVALUE   (WM_APP + 240)


/////////////////////////////////////////////////////////////////////////////
// Control settings contained in StillSource.cpp
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    FORMATSAVING = 0,
    SLIDESHOWDELAY,
    JPEGQUALITY,
    PATTERNHEIGTH,
    PATTERNWIDTH,
    DELAYBETWEENSTILLS,
    SAVEINSAMEFILE,
    STILLSINMEMORY,
    NBCONSECUTIVESTILLS,
      KEEPORIGINALRATIO,
      OSDFORSTILLS,
      STILLPREVIEWWNBCOLS,
      STILLPREVIEWNBROWS,
      MAXMEMFORSTILLS,
      SAVINGPATH,
    STILL_SETTING_LASTONE,
} STILL_SETTING;

#define WM_STILL_GETVALUE     (WM_APP + 41)
#define WM_STILL_SETVALUE     (WM_APP + 141)
#define WM_STILL_CHANGEVALUE  (WM_APP + 241)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_Mirror.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    USEMIRROR,
    FLT_MIRROR_SETTING_LASTONE,
} FLT_MIRROR_SETTING;

#define WM_FLT_MIRROR_GETVALUE     (WM_APP + 42)
#define WM_FLT_MIRROR_SETVALUE     (WM_APP + 142)
#define WM_FLT_MIRROR_CHANGEVALUE  (WM_APP + 242)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in ProgramList.cpp
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    PRESWITCHMUTEDELAY,
    POSTSWITCHMUTEDELAY,
    ANTIPLOP_SETTING_LASTONE,
} ANTIPLOP_SETTING;

#define WM_ANTIPLOP_GETVALUE     (WM_APP + 43)
#define WM_ANTIPLOP_SETVALUE     (WM_APP + 143)
#define WM_ANTIPLOP_CHANGEVALUE  (WM_APP + 243)

/////////////////////////////////////////////////////////////////////////////
// Control settings for save per channel option
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    SETTINGSPERCHANNEL_BYCHANNEL = 0,
    SETTINGSPERCHANNEL_BYINPUT,
    SETTINGSPERCHANNEL_BYFORMAT,
    SETTINGSPERCHANNEL_SETTING_LASTONE,
} SETTINGSPERCHANNEL_SETTING;

#define WM_SETTINGSPERCHANNEL_GETVALUE     (WM_APP + 45)
#define WM_SETTINGSPERCHANNEL_SETVALUE     (WM_APP + 145)
#define WM_SETTINGSPERCHANNEL_CHANGEVALUE  (WM_APP + 245)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_Mirror.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    USEINVERSION,
    FLT_INVERSION_SETTING_LASTONE,
} FLT_INVERSION_SETTING;

#define WM_FLT_INVERSION_GETVALUE     (WM_APP + 46)
#define WM_FLT_INVERSION_SETVALUE     (WM_APP + 146)
#define WM_FLT_INVERSION_CHANGEVALUE  (WM_APP + 246)


/////////////////////////////////////////////////////////////////////////////
// Control settings contained in CX2388XSource.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    CX2388XBRIGHTNESS = 0,
    CX2388XCONTRAST,
    CX2388XHUE,
    CX2388XSATURATION,
    CX2388XSATURATIONU,
    CX2388XSATURATIONV,
    CX2388XTOPOVERSCAN,
    CX2388XVIDEOSOURCE,
    CX2388XTVFORMAT,
    CX2388XCARDTYPE,
    CX2388XTUNERTYPE,
    CX2388XSAVEPERINPUT_DISABLED,
    CX2388XSAVEPERFORMAT_DISABLED,
    CX2388XSAVETVFORMATPERINPUT_DISABLED,
    CX2388XISINPUTPROGRESSIVE,
    CX2388XFLIFILMDETECT,
    CX2388XHDELAY,
    CX2388XVDELAY,
    CX2388XEATLINESATTOP,
    CX2388XSHARPNESS,
    CX2388XLUMAAGC,
    CX2388XCHROMAAGC,
    CX2388XFASTSUBCARRIERLOCK,
    CX2388XWHITECRUSH,
    CX2388XLOWCOLORREMOVAL,
    CX2388XCOMBFILTER,
    CX2388XFULLLUMARANGE,
    CX2388XREMODULATION,
    CX2388XCHROMA2HCOMB,
    CX2388XFORCEREMODEXCESSCHROMA,
    CX2388XIFXINTERPOLATION,
    CX2388XCOMBRANGE,
    CX2388XSECONDCHROMADEMOD,
    CX2388XTHIRDCHROMADEMOD,
    CX2388XPIXELWIDTH,
    CX2388XCUSTOMPIXELWIDTH,
    CX2388XWHITECRUSHUP,
    CX2388XWHITECRUSHDOWN,
    CX2388XWHITECRUSHMAJSEL,
    CX2388XWHITECRUSHPERFRAME,
    CX2388XVOLUME,
    CX2388XBALANCE,
    CX2388XAUDIOTYPE,
    CX2388XSTEREOTYPE,
    CX2388XBOTTOMOVERSCAN,
    CX2388XLEFTOVERSCAN,
    CX2388XRIGHTOVERSCAN,
    CX2388XANALOGUEBLANKING,
    CX2388XSTARTSTOPDRIVER,
    CX2388XAUTOMUTEIFNOTUNERSIGNAL,
    CX2388X_SETTING_LASTONE,
} CX2388X_SETTING;

#define WM_CX2388X_GETVALUE           (WM_APP + 47)
#define WM_CX2388X_SETVALUE           (WM_APP + 147)
#define WM_CX2388X_CHANGEVALUE        (WM_APP + 247)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FD_Prog.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    PROGTHRESHHOLDSTILL = 0,
    PROGTHRESHHOLDMOTION,
    PROGREPEATCOUNT,
    FDPROG_SETTING_LASTONE,
} FDPROG_SETTING;

#define WM_FDPROG_GETVALUE            (WM_APP + 48)
#define WM_FDPROG_SETVALUE            (WM_APP + 148)
#define WM_FDPROG_CHANGEVALUE         (WM_APP + 248)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in SAA7134Source.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    SAA7134BRIGHTNESS = 0,
    SAA7134CONTRAST,
    SAA7134SATURATION,
    SAA7134HUE,
    SAA7134TOPOVERSCAN,
    SAA7134PIXELWIDTH,
    SAA7134CUSTOMPIXELWIDTH,
    SAA7134VIDEOSOURCE,
    SAA7134TVFORMAT,
    SAA7134REVERSEPOLARITY,
    SAA7134CARDTYPE,
    SAA7134TUNERTYPE,
    SAA7134HPLLMODE,
    SAA7134WHITEPEAK,
    SAA7134COLORPEAK,
    SAA7134ADAPTIVECOMBFILTER,
    SAA7134HDELAY,
    SAA7134VDELAY,
    SAA7134AUDIOSTANDARD,
    SAA7134AUDIOCHANNEL,
    SAA7134AUDIOSAMPLERATE,
    SAA7134AUTOSTEREOSELECT,
    SAA7134VOLUME,
    SAA7134BASS,
    SAA7134TREBLE,
    SAA7134BALANCE,
    SAA7134AUDIOSOURCE,
    SAA7134CUSTOMAUDIOSTANDARD,
    SAA7134AUDIOSTANDARDCARRIER1,
    SAA7134AUDIOSTANDARDCARRIER2,
    SAA7134AUDIOSTANDARDCARRIER1MODE,
    SAA7134AUDIOSTANDARDCARRIER2MODE,
    SAA7134AUDIOSTANDARDCH1FMDEEMPH,
    SAA7134AUDIOSTANDARDCH2FMDEEMPH,
    SAA7134AUTOMATICVOLUMELEVEL,
    SAA7134VBIUPSCALEDIVISOR,
    SAA7134VBIDEBUGOVERLAY,
    SAA7134AUTOMATICGAINCONTROL,
    SAA7134GAINCONTROLLEVEL,
    SAA7134VIDEOMIRROR,
    SAA7134AUDIOLINE1VOLTAGE,
    SAA7134AUDIOLINE2VOLTAGE,
    SAA7134BOTTOMOVERSCAN,
    SAA7134LEFTOVERSCAN,
    SAA7134RIGHTOVERSCAN,
    SAA7134_SETTING_LASTONE,
} SAA7134_SETTING;

#define WM_SAA7134_GETVALUE           (WM_APP + 49)
#define WM_SAA7134_SETVALUE           (WM_APP + 149)
#define WM_SAA7134_CHANGEVALUE        (WM_APP + 249)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in ToolbarControl.cpp
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    TOOLBARS_SHOWTOOLBAR1 = 0,
    TOOLBARS_TOOLBAR1POSITION = 1,
    TOOLBARS_TOOLBARCHILD_POSITION = 2,
    TOOLBARS_TOOLBARCHILD_LASTONE  = 42,    
    TOOLBARS_SETTING_LASTONE,
} TOOLBARS_SETTING;

#define WM_TOOLBARS_GETVALUE            (WM_APP + 50)
#define WM_TOOLBARS_SETVALUE            (WM_APP + 150)
#define WM_TOOLBARS_CHANGEVALUE         (WM_APP + 250)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_Chroma.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    CHROMAHORZSHIFT = 0,
    CHROMAVERTSHIFT,
    LOWPASSCHROMAFILTER,
    USECHROMAFILTER,
    FLT_CHROMA_SETTING_LASTONE,
} FLT_CHROMA_SETTING;

#define WM_FLT_CHROMA_GETVALUE       (WM_APP + 52)
#define WM_FLT_CHROMA_SETVALUE       (WM_APP + 152)
#define WM_FLT_CHROMA_CHANGEVALUE    (WM_APP + 252)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_BlackWhite.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    USEBLACKWHITEFILTER = 0,
    FLT_BLACKWHITE_SETTING_LASTONE,
} FLT_BLACKWHITE_SETTING;

#define WM_FLT_BLACKWHITE_GETVALUE       (WM_APP + 53)
#define WM_FLT_BLACKWHITE_SETVALUE       (WM_APP + 153)
#define WM_FLT_BLACKWHITE_CHANGEVALUE    (WM_APP + 253)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_DScopeVIDEO.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    USE_DSVIDEO = 0,
      DSV_LINE,
    DSV_PLOTIINTENSITYINVERT,
    DSV_Y_SCALE,
    DSV_Y1_BASELINE,
    USE_GRID,
    DSV_GRIDCOLOR,
    DSV_GRIDINTENSITY,
    USE_BACKGROUND,
    USE_LINEMARKER,
    USE_PICTUREFILL,
    FLT_DSV_SETTING_LASTONE,
} FLT_DSV_SETTING;

#define WM_FLT_DSV_GETVALUE     (WM_APP + 54)
#define WM_FLT_DSV_SETVALUE     (WM_APP + 154)
#define WM_FLT_DSV_CHANGEVALUE  (WM_APP + 254)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_LuminChromaShift.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    USELUMINCHROMASHIFT = 0,
      SHIFTVALUE,
    FLT_LUMINCHROMASHIFT_SETTING_LASTONE,
} FLT_LUMINCHROMASHIFT_SETTING;

#define WM_FLT_LUMINCHROMASHIFT_GETVALUE     (WM_APP + 55)
#define WM_FLT_LUMINCHROMASHIFT_SETVALUE     (WM_APP + 155)
#define WM_FLT_LUMINCHROMASHIFT_CHANGEVALUE  (WM_APP + 255)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in FLT_Colorimetry.c
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
    USECOLORIMETRY = 0,
    COLORIMETRYTYPE,
    FLT_COLORIMETRY_SETTING_LASTONE,
} FLT_COLORIMETRY_SETTING;

#define WM_FLT_COLORIMETRY_GETVALUE       (WM_APP + 56)
#define WM_FLT_COLORIMETRY_SETVALUE       (WM_APP + 156)
#define WM_FLT_COLORIMETRY_CHANGEVALUE    (WM_APP + 256)

/////////////////////////////////////////////////////////////////////////////
// Control settings contained in TimeShift.cpp
/////////////////////////////////////////////////////////////////////////////

typedef enum
{
      TIMESHIFTSAVINGPATH,
      TIMESHIFTSHOWWARNING,
      TIMESHIFTFILELIMIT,
    TIMESHIFT_SETTING_LASTONE,
} TIMESHIFT_SETTING;

#define WM_TIMESHIFT_GETVALUE       (WM_APP + 57)
#define WM_TIMESHIFT_SETVALUE       (WM_APP + 157)
#define WM_TIMESHIFT_CHANGEVALUE    (WM_APP + 257)

#endif

Generated by  Doxygen 1.6.0   Back to index