25#include <vdr/menuitems.h>
45 return new cOsdItem(cString::sprintf(
"%s:", label), osUnknown,
false);
59 item =
new cMenuEditBoolItem(cString::sprintf(
"* %s", label), &flag,
60 msg ? msg : tr(
"show"), tr(
"hide"));
80 Add(
new cMenuEditBoolItem(tr(
" Hide main menu entry"), &
m_cHideMainMenuEntry, trVDR(
"no"), trVDR(
"yes")));
88 Add(
new cMenuEditBoolItem(tr(
" Volume control"), &
m_cAudioSoftvol, tr(
"hardware"), tr(
"software")));
89 Add(
new cMenuEditBoolItem(tr(
" Enable stereo downmix"), &
m_cAudioDownmix, trVDR(
"no"), trVDR(
"yes")));
95 Add(
new cMenuEditBoolItem(tr(
" Enable automatic AES"), &
m_cAudioAutoAES, trVDR(
"no"), trVDR(
"yes")));
97 Add(
new cMenuEditIntItem(tr(
" Audio/Video delay (ms)"), &
m_cAudioDelay, -1000, 1000));
98 Add(
new cMenuEditBoolItem(tr(
" Enable normalize volume"), &
m_cAudioNormalize, trVDR(
"no"), trVDR(
"yes")));
100 Add(
new cMenuEditIntItem(tr(
" Max normalize factor (/1000)"), &
m_cAudioMaxNormalize, 0, 10000));
101 Add(
new cMenuEditBoolItem(tr(
" Enable volume compression"), &
m_cAudioCompression, trVDR(
"no"), trVDR(
"yes")));
112 Add(
new cMenuEditBoolItem(tr(
" Enable audio equalizer"), &
m_cAudioEq, trVDR(
"no"), trVDR(
"yes")));
114 Add(
new cMenuEditIntItem(tr(
" 60 Hz band gain"), &
m_cAudioEqBand[0], -15, 1));
115 Add(
new cMenuEditIntItem(tr(
" 72 Hz band gain"), &
m_cAudioEqBand[1], -15, 1));
116 Add(
new cMenuEditIntItem(tr(
" 107 Hz band gain"), &
m_cAudioEqBand[2], -15, 1));
117 Add(
new cMenuEditIntItem(tr(
" 150 Hz band gain"), &
m_cAudioEqBand[3], -15, 1));
118 Add(
new cMenuEditIntItem(tr(
" 220 Hz band gain"), &
m_cAudioEqBand[4], -15, 1));
119 Add(
new cMenuEditIntItem(tr(
" 310 Hz band gain"), &
m_cAudioEqBand[5], -15, 1));
120 Add(
new cMenuEditIntItem(tr(
" 430 Hz band gain"), &
m_cAudioEqBand[6], -15, 1));
121 Add(
new cMenuEditIntItem(tr(
" 620 Hz band gain"), &
m_cAudioEqBand[7], -15, 1));
122 Add(
new cMenuEditIntItem(tr(
" 860 Hz band gain"), &
m_cAudioEqBand[8], -15, 1));
123 Add(
new cMenuEditIntItem(tr(
" 1200 Hz band gain"), &
m_cAudioEqBand[9], -15, 1));
124 Add(
new cMenuEditIntItem(tr(
" 1700 Hz band gain"), &
m_cAudioEqBand[10], -15, 1));
125 Add(
new cMenuEditIntItem(tr(
" 2500 Hz band gain"), &
m_cAudioEqBand[11], -15, 1));
126 Add(
new cMenuEditIntItem(tr(
" 3500 Hz band gain"), &
m_cAudioEqBand[12], -15, 1));
127 Add(
new cMenuEditIntItem(tr(
" 4800 Hz band gain"), &
m_cAudioEqBand[13], -15, 1));
128 Add(
new cMenuEditIntItem(tr(
" 7000 Hz band gain"), &
m_cAudioEqBand[14], -15, 1));
129 Add(
new cMenuEditIntItem(tr(
" 9500 Hz band gain"), &
m_cAudioEqBand[15], -15, 1));
130 Add(
new cMenuEditIntItem(tr(
" 13500 Hz band gain"), &
m_cAudioEqBand[16], -15, 1));
131 Add(
new cMenuEditIntItem(tr(
" 17200 Hz band gain"), &
m_cAudioEqBand[17], -15, 1));
141 Add(
new cMenuEditIntItem(tr(
" video scaling factor (%)"), &
m_cPipScalePercent, 10, 100));
144 Add(
new cMenuEditBoolItem(tr(
" use alternative position as default"), &
m_cPipUseAlt, trVDR(
"no"), trVDR(
"yes")));
145 Add(
new cMenuEditIntItem(tr(
" alternative video scaling factor (%)"), &
m_cPipAltScalePercent, 10, 100));
156 Add(
new cMenuEditBoolItem(tr(
" Enable logging"), &
m_cLogDefault, trVDR(
"off"), trVDR(
"on")));
158 Add(
new cMenuEditBoolItem(tr(
" Standard debug logs"), &
m_cLogDebug_, trVDR(
"no"), trVDR(
"yes")));
159 Add(
new cMenuEditBoolItem(tr(
" DRM debug logs"), &
m_cLogDRM, trVDR(
"no"), trVDR(
"yes")));
160 Add(
new cMenuEditBoolItem(tr(
" Codec debug logs"), &
m_cLogCodec, trVDR(
"no"), trVDR(
"yes")));
161 Add(
new cMenuEditBoolItem(tr(
" AV Sync debug logs"), &
m_cLogAVSync, trVDR(
"no"), trVDR(
"yes")));
162 Add(
new cMenuEditBoolItem(tr(
" Sound debug logs"), &
m_cLogSound, trVDR(
"no"), trVDR(
"yes")));
163 Add(
new cMenuEditBoolItem(tr(
" FFmpeg debug logs"), &
m_cLogFFmpeg, trVDR(
"no"), trVDR(
"yes")));
164 Add(
new cMenuEditBoolItem(tr(
" Packet tracking logs"), &
m_cLogPacket, trVDR(
"no"), trVDR(
"yes")));
165 Add(
new cMenuEditBoolItem(tr(
" OSD debug logs"), &
m_cLogOSD, trVDR(
"no"), trVDR(
"yes")));
166 Add(
new cMenuEditBoolItem(tr(
" Grabbing debug logs"), &
m_cLogGrab, trVDR(
"no"), trVDR(
"yes")));
167 Add(
new cMenuEditBoolItem(tr(
" Stillpicture debug logs"), &
m_cLogStill, trVDR(
"no"), trVDR(
"yes")));
168 Add(
new cMenuEditBoolItem(tr(
" Trickspeed debug logs"), &
m_cLogTrick, trVDR(
"no"), trVDR(
"yes")));
169 Add(
new cMenuEditBoolItem(tr(
" Mediaplayer debug logs"), &
m_cLogMedia, trVDR(
"no"), trVDR(
"yes")));
170 Add(
new cMenuEditBoolItem(tr(
" OpenGL OSD debug logs"), &
m_cLogGL, trVDR(
"no"), trVDR(
"yes")));
171 Add(
new cMenuEditBoolItem(tr(
" OpenGL OSD time measurement"), &
m_cLogGLTime, trVDR(
"no"), trVDR(
"yes")));
172 Add(
new cMenuEditBoolItem(tr(
" OpenGL OSD time measurement (extensive)"), &
m_cLogGLTimeAll, trVDR(
"no"), trVDR(
"yes")));
185 Add(
new cOsdItem(cString::sprintf(tr(
" Frames duped(%d) dropped(%d) total(%d)"), duped, dropped, counter), osUnknown,
false));
187 Add(
new cOsdItem(cString::sprintf(tr(
" OSD: Using %s rendering"),
m_pConfig->ConfigDisableOglOsd ?
"software" :
"hardware"), osUnknown,
false));
189 Add(
new cOsdItem(cString::sprintf(tr(
" OSD: Using software rendering")), osUnknown,
false));
203 Add(
new cMenuEditBoolItem(tr(
" Disable deinterlacer"), &
m_cDisableDeint, trVDR(
"no"), trVDR(
"yes")));
204 Add(
new cMenuEditBoolItem(tr(
" H.264 HW dec needs I-Frame"), &
m_cDecoderNeedsIFrame, trVDR(
"no"), trVDR(
"yes")));
205 Add(
new cMenuEditBoolItem(tr(
" H.264 HW dec needs width and height"), &
m_cParseH264Dimensions, trVDR(
"no"), trVDR(
"yes")));
206 Add(
new cMenuEditBoolItem(tr(
" Enable SW decoder fallback"), &
m_cDecoderFallbackToSw, trVDR(
"no"), trVDR(
"yes")));
214 Add(
new cMenuEditIntItem(tr(
" GPU mem used for image caching (MB)"), &m_cMaxSizeGPUImageCache, 0, 4000));
219 SetCurrent(Get(current));
244 eOSState state = cMenuSetupPage::ProcessKey(key);
277 m_pConfig(m_pDevice->Config()),
278 m_pAudioDevice(m_pDevice->Audio())
309 for (
int i = 0; i < 18; i++) {
362 m_cMaxSizeGPUImageCache =
m_pConfig->ConfigMaxSizeGPUImageCache;
496 SetupStore(
"MaxSizeGPUImageCache",
m_pConfig->ConfigMaxSizeGPUImageCache = m_cMaxSizeGPUImageCache);
Audio and alsa module header file.
void SetStereoDescent(int)
Set stereo loudness descent.
void SetAutoAES(bool appendAes)
void SetCompression(bool, int)
Set volume compression parameters.
void SetSoftvol(bool softVolume)
void SetEq(int[18], int)
Set equalizer bands.
void SetDownmix(int downMix)
void SetNormalize(bool, int)
Set normalize volume parameters.
bool ConfigParseH264Dimensions
parse h264 stream for width and height for decoder init
int ConfigVideoAudioDelayMs
config audio delay
bool ConfigLogState
flag logging on/off
bool ConfigAudioNormalize
config use normalize volume
int ConfigAudioAutoAES
config automatic AES handling
int ConfigAudioStereoDescent
config reduce stereo loudness
int ConfigDecoderFallbackToSwNumPkts
maximum number of packets sent before fallback to sw decoder
bool ConfigAudioCompression
config use volume compression
bool ConfigAudioPassthroughState
flag audio-passthrough on/off
bool ConfigAudioSoftvol
config use software volume
bool ConfigDisableDeint
disable deinterlacer
int ConfigPipAltTopPercent
0 = aligned to top, 100 = aligned to bottom
const char * CurrentDecoderType
int ConfigAudioEqBand[18]
config equalizer filter bands
int ConfigPipLeftPercent
0 = aligned to left, 100 = aligned to right
int ConfigAdditionalBufferLengthMs
config size ms of a/v buffer
int ConfigAudioMaxCompression
config max volume compression
int ConfigPipAltLeftPercent
0 = aligned to left, 100 = aligned to right
int ConfigLogLevels
loglevel config
int ConfigPipAltScalePercent
alternative scale factor of pip video
int ConfigPipTopPercent
0 = aligned to top, 100 = aligned to bottom
bool ConfigDecoderNeedsIFrame
start h264 decoder only when an I-Frame arrives
const char * CurrentDecoderName
bool ConfigDecoderFallbackToSw
fallback to software decoder if the hardware decoder fails
int GetDecoderNeedsMaxPackets(void)
int ConfigAudioEq
config equalizer filter
int ConfigPipScalePercent
scale factor of pip video
int ConfigAudioPassthroughMask
config audio pass-through mask
bool ConfigHideMainMenuEntry
config hide main menu entry
bool ConfigAudioDownmix
config ffmpeg audio downmix
int ConfigAudioMaxNormalize
config max normalize factor
void SetDecoderFallbackToSw(bool enable)
Force the decoder to fallback to software if the hardware decoder fails after the configured amount o...
void GetStats(int *, int *, int *)
Get statistics from the renderer.
void ResetChannelId(void)
Reset the channel ID (restarts audio)
void SetDecoderNeedsIFrame(void)
Forces the h264 decoder to wait for an I-Frame to start.
void SetPassthrough(int)
Set the passthrough mask (called from setup menu or conf)
void SetParseH264Dimensions(void)
Parse the h264 stream width and height before starting the decoder.
void SetDisableDeint(void)
Disables deinterlacer (called from setup menu or conf)
static std::shared_ptr< cSoftHdLogger > GetLogger()
Get an instance to the global logger.
Audio decoder header file.
#define CODEC_EAC3
E-AC-3 bit mask.
#define CODEC_AC3
bits used for the passthrough mask
#define CODEC_DTS
DTS bit mask.
SoftHdDevice config header file.
Logger class header file.
#define L_OPENGL_TIME_ALL
#define L_DEBUG
Logger flags.
Device class header file.