forked from zillevdr/vdr-plugin-softhddevice-drm
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsofthdsetupmenu.h
More file actions
133 lines (114 loc) · 2.73 KB
/
Copy pathsofthdsetupmenu.h
File metadata and controls
133 lines (114 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// SPDX-License-Identifier: AGPL-3.0-or-later
/**
* @file softhdsetupmenu.h
* Plugin Setup Menu Header File
*
* @copyright 2011, 2014 by Johns. All Rights Reserved.
* @copyright 2018 - 2019 zille. All Rights Reserved.
* @copyright 2025 - 2026 by Andreas Baierl. All Rights Reserved.
*
* @license{AGPL-3.0-or-later}
*/
#ifndef __SOFTHDSETUPMENU_H
#define __SOFTHDSETUPMENU_H
#include <vdr/menuitems.h>
class cSoftHdAudio;
class cSoftHdConfig;
class cSoftHdDevice;
/**
* Plugin Setup Menu
*
* @ingroup menu
*/
class cMenuSetupSoft : public cMenuSetupPage {
public:
cMenuSetupSoft(cSoftHdDevice *);
virtual eOSState ProcessKey(eKeys);
protected:
// local copies of global setup variables:
// General
int m_cGeneralMenu;
int m_cHideMainMenuEntry;
// Video
int m_cVideoMenu;
int m_cVideoEnableHDR;
int m_cVideoDisplayMode;
int m_cVideoChannelSwitchMode;
// Audio
int m_cAudioMenu;
int m_cAudioSoftvol;
int m_cAudioDownmix;
int m_cAudioPassthroughDefault;
int m_cAudioPassthroughAC3;
int m_cAudioPassthroughEAC3;
int m_cAudioPassthroughDTS;
int m_cAudioAutoAES;
int m_cAudioDelay;
int m_cAudioNormalize;
int m_cAudioMaxNormalize;
int m_cAudioCompression;
int m_cAudioMaxCompression;
int m_cAudioStereoDescent;
// Audio equalizer
int m_cAudioFilterMenu;
int m_cAudioEq;
int m_cAudioEqBand[18];
// Picture-in-Picture
int m_cPipMenu;
int m_cPipScalePercent;
int m_cPipLeftPercent;
int m_cPipTopPercent;
int m_cPipUseAlt;
int m_cPipAltScalePercent;
int m_cPipAltLeftPercent;
int m_cPipAltTopPercent;
// Logging
int m_cLoggingMenu;
int m_cLogDefault;
int m_cLogDebug_;
int m_cLogDRM;
int m_cLogCodec;
int m_cLogAVSync;
int m_cLogSound;
int m_cLogFFmpeg;
int m_cLogPacket;
int m_cLogOSD;
int m_cLogGrab;
int m_cLogStill;
int m_cLogTrick;
int m_cLogMedia;
int m_cLogGL;
int m_cLogGLTime;
int m_cLogGLTimeAll;
// Statistics
int m_cStatisticsMenu;
// Expert settings
int m_cExpertMenu;
int m_cAdditionalBufferLengthMs;
int m_cDisableDeint;
int m_cDecoderNeedsIFrame;
int m_cParseH264Dimensions;
int m_cDecoderFallbackToSw;
int m_cDecoderFallbackToSwNumPkts;
int m_cParseH264StreamStart;
int m_cDropInvalidH264PFrames;
#ifdef USE_GLES
int m_cMaxSizeGPUImageCache;
#endif
int m_cShowChannelSwitchDurationMessage;
private:
cSoftHdDevice *m_pDevice;
cSoftHdConfig *m_pConfig;
cSoftHdAudio *m_pAudioDevice;
std::vector<std::string> m_displayMode;
std::vector<const char *> m_displayModePtrs;
std::vector<std::string> m_channelSwitchMode;
std::vector<const char *> m_channelSwitchModePtrs;
inline cOsdItem * CollapsedItem(const char *, int &, const char * = NULL);
void Create(void);
void BuildDisplayModeList(void);
void BuildChannelSwitchModeList(void);
protected:
virtual void Store(void);
};
#endif