|
vdr-plugin-drmdevice 2.0.0-46418f1
|
Plugin Setup Menu. More...
#include <setupmenu.h>
Public Member Functions | |
| cDeviceSetupMenu (cOutputDevice *) | |
| Init the setup menu parameters and build the menu. | |
| virtual eOSState | ProcessKey (eKeys) |
| Process key for setup menu. | |
Protected Member Functions | |
| virtual void | Store (void) |
| Store settings. | |
Private Member Functions | |
| cOsdItem * | CollapsedItem (const char *, int &, const char *=NULL) |
| Create a collapsed item. | |
| void | Create (void) |
| Build setup menu. | |
| void | BuildDisplayModeList (void) |
| void | BuildChannelSwitchModeList (void) |
Private Attributes | |
| cOutputDevice * | m_pDevice |
| cDeviceConfig * | m_pConfig |
| cAudioStream * | 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 |
Plugin Setup Menu.
Definition at line 28 of file setupmenu.h.
| cDeviceSetupMenu::cDeviceSetupMenu | ( | cOutputDevice * | device | ) |
Init the setup menu parameters and build the menu.
Import global config variables into setup
Definition at line 287 of file setupmenu.cpp.
References BuildChannelSwitchModeList(), BuildDisplayModeList(), CODEC_AC3, CODEC_DTS, CODEC_EAC3, cDeviceConfig::ConfigAdditionalBufferLengthMs, cDeviceConfig::ConfigAudioAutoAES, cDeviceConfig::ConfigAudioCompression, cDeviceConfig::ConfigAudioDownmix, cDeviceConfig::ConfigAudioEq, cDeviceConfig::ConfigAudioEqBand, cDeviceConfig::ConfigAudioMaxCompression, cDeviceConfig::ConfigAudioMaxNormalize, cDeviceConfig::ConfigAudioNormalize, cDeviceConfig::ConfigAudioPassthroughMask, cDeviceConfig::ConfigAudioPassthroughState, cDeviceConfig::ConfigAudioSoftvol, cDeviceConfig::ConfigAudioStereoDescent, cDeviceConfig::ConfigDecoderFallbackToSw, cDeviceConfig::ConfigDecoderFallbackToSwNumPkts, cDeviceConfig::ConfigDisableDeint, cDeviceConfig::ConfigDropInvalidH264PFrames, cDeviceConfig::ConfigHideMainMenuEntry, cDeviceConfig::ConfigLogLevels, cDeviceConfig::ConfigLogState, cDeviceConfig::ConfigMaxSizeGPUImageCache, cDeviceConfig::ConfigParseH264StreamStart, cDeviceConfig::ConfigPipAltLeftPercent, cDeviceConfig::ConfigPipAltScalePercent, cDeviceConfig::ConfigPipAltTopPercent, cDeviceConfig::ConfigPipLeftPercent, cDeviceConfig::ConfigPipScalePercent, cDeviceConfig::ConfigPipTopPercent, cDeviceConfig::ConfigPipUseAlt, cDeviceConfig::ConfigShowChannelSwitchDurationMessage, cDeviceConfig::ConfigVideoAudioDelayMs, cDeviceConfig::ConfigVideoChannelSwitchMode, cDeviceConfig::ConfigVideoDisplayMode, cDeviceConfig::ConfigVideoEnableHDR, Create(), L_AV_SYNC, L_CODEC, L_DEBUG, L_DRM, L_FFMPEG, L_GRAB, L_MEDIA, L_OPENGL, L_OPENGL_TIME, L_OPENGL_TIME_ALL, L_OSD, L_PACKET, L_SOUND, L_STILL, L_TRICK, m_cAdditionalBufferLengthMs, m_cAudioAutoAES, m_cAudioCompression, m_cAudioDelay, m_cAudioDownmix, m_cAudioEq, m_cAudioEqBand, m_cAudioFilterMenu, m_cAudioMaxCompression, m_cAudioMaxNormalize, m_cAudioMenu, m_cAudioNormalize, m_cAudioPassthroughAC3, m_cAudioPassthroughDefault, m_cAudioPassthroughDTS, m_cAudioPassthroughEAC3, m_cAudioSoftvol, m_cAudioStereoDescent, m_cDecoderFallbackToSw, m_cDecoderFallbackToSwNumPkts, m_cDisableDeint, m_cDropInvalidH264PFrames, m_cExpertMenu, m_cGeneralMenu, m_cHideMainMenuEntry, m_cLogAVSync, m_cLogCodec, m_cLogDebug_, m_cLogDefault, m_cLogDRM, m_cLogFFmpeg, m_cLoggingMenu, m_cLogGL, m_cLogGLTime, m_cLogGLTimeAll, m_cLogGrab, m_cLogMedia, m_cLogOSD, m_cLogPacket, m_cLogSound, m_cLogStill, m_cLogTrick, m_cMaxSizeGPUImageCache, m_cParseH264StreamStart, m_cPipAltLeftPercent, m_cPipAltScalePercent, m_cPipAltTopPercent, m_cPipLeftPercent, m_cPipMenu, m_cPipScalePercent, m_cPipTopPercent, m_cPipUseAlt, m_cShowChannelSwitchDurationMessage, m_cStatisticsMenu, m_cVideoChannelSwitchMode, m_cVideoDisplayMode, m_cVideoEnableHDR, m_cVideoMenu, and m_pConfig.
Definition at line 437 of file setupmenu.cpp.
References m_channelSwitchMode, and m_channelSwitchModePtrs.
Referenced by cDeviceSetupMenu().
Definition at line 392 of file setupmenu.cpp.
References cDeviceConfig::AutoDetectedDrmMode, cDeviceConfig::CollectedDrmModes, CONFIG_DISPLAY_MODE_FOLLOW_VIDEO, CONFIG_DISPLAY_MODE_FOLLOW_VIDEO_INTERLACED, CONFIG_DISPLAY_MODE_MANUAL, cDeviceConfig::ConfigVideoDisplayMode, cDeviceConfig::CurrentDrmMode, sDrmMode::height, sDrmMode::interlaced, m_displayMode, m_displayModePtrs, m_pConfig, sDrmMode::refreshRateHz, and sDrmMode::width.
Referenced by cDeviceSetupMenu().
|
inlineprivate |
Create a collapsed item.
| label | text inside collapsed |
| flag | flag handling collapsed or opened |
| msg | open message |
Definition at line 45 of file setupmenu.cpp.
Referenced by Create().
Build setup menu.
Definition at line 58 of file setupmenu.cpp.
References CollapsedItem(), cDeviceConfig::ConfigDisableOglOsd, cDeviceConfig::CurrentDecoderName, cDeviceConfig::CurrentDecoderType, cDeviceConfig::GetDecoderNeedsMaxPackets(), cOutputDevice::GetMinBufferFillLevelThresholdMs(), cOutputDevice::GetStats(), m_cAdditionalBufferLengthMs, m_cAudioAutoAES, m_cAudioCompression, m_cAudioDelay, m_cAudioDownmix, m_cAudioEq, m_cAudioEqBand, m_cAudioFilterMenu, m_cAudioMaxCompression, m_cAudioMaxNormalize, m_cAudioMenu, m_cAudioNormalize, m_cAudioPassthroughAC3, m_cAudioPassthroughDefault, m_cAudioPassthroughDTS, m_cAudioPassthroughEAC3, m_cAudioSoftvol, m_cAudioStereoDescent, m_cDecoderFallbackToSw, m_cDecoderFallbackToSwNumPkts, m_cDisableDeint, m_cDropInvalidH264PFrames, m_cExpertMenu, m_cGeneralMenu, m_channelSwitchModePtrs, m_cHideMainMenuEntry, m_cLogAVSync, m_cLogCodec, m_cLogDebug_, m_cLogDefault, m_cLogDRM, m_cLogFFmpeg, m_cLoggingMenu, m_cLogGL, m_cLogGLTime, m_cLogGLTimeAll, m_cLogGrab, m_cLogMedia, m_cLogOSD, m_cLogPacket, m_cLogSound, m_cLogStill, m_cLogTrick, m_cMaxSizeGPUImageCache, m_cParseH264StreamStart, m_cPipAltLeftPercent, m_cPipAltScalePercent, m_cPipAltTopPercent, m_cPipLeftPercent, m_cPipMenu, m_cPipScalePercent, m_cPipTopPercent, m_cPipUseAlt, m_cShowChannelSwitchDurationMessage, m_cStatisticsMenu, m_cVideoChannelSwitchMode, m_cVideoDisplayMode, m_cVideoEnableHDR, m_cVideoMenu, m_displayModePtrs, m_pConfig, m_pDevice, SeparatorName(), cDeviceConfig::StatMaxLongTermAudioJitterMs, cDeviceConfig::StatMaxLongTermVideoJitterMs, cDeviceConfig::StatMaxShortTermAudioJitterMs, cDeviceConfig::StatMaxShortTermVideoJitterMs, and cOutputDevice::UsePip().
Referenced by cDeviceSetupMenu(), and ProcessKey().
Process key for setup menu.
| key | pressed key |
Definition at line 238 of file setupmenu.cpp.
References Create(), m_cAudioCompression, m_cAudioEq, m_cAudioFilterMenu, m_cAudioMenu, m_cAudioNormalize, m_cAudioPassthroughDefault, m_cDecoderFallbackToSw, m_cExpertMenu, m_cGeneralMenu, m_cLogDefault, m_cLoggingMenu, m_cPipMenu, m_cStatisticsMenu, and m_cVideoMenu.
Store settings.
Definition at line 452 of file setupmenu.cpp.
References CODEC_AC3, CODEC_DTS, CODEC_EAC3, CONFIG_DISPLAY_MODE_MANUAL, cDeviceConfig::ConfigAdditionalBufferLengthMs, cDeviceConfig::ConfigAudioAutoAES, cDeviceConfig::ConfigAudioCompression, cDeviceConfig::ConfigAudioDownmix, cDeviceConfig::ConfigAudioEq, cDeviceConfig::ConfigAudioEqBand, cDeviceConfig::ConfigAudioMaxCompression, cDeviceConfig::ConfigAudioMaxNormalize, cDeviceConfig::ConfigAudioNormalize, cDeviceConfig::ConfigAudioPassthroughMask, cDeviceConfig::ConfigAudioPassthroughState, cDeviceConfig::ConfigAudioSoftvol, cDeviceConfig::ConfigAudioStereoDescent, cDeviceConfig::ConfigDecoderFallbackToSw, cDeviceConfig::ConfigDecoderFallbackToSwNumPkts, cDeviceConfig::ConfigDisableDeint, cDeviceConfig::ConfigDropInvalidH264PFrames, cDeviceConfig::ConfigHideMainMenuEntry, cDeviceConfig::ConfigLogLevels, cDeviceConfig::ConfigLogState, cDeviceConfig::ConfigMaxSizeGPUImageCache, cDeviceConfig::ConfigParseH264StreamStart, cDeviceConfig::ConfigPipAltLeftPercent, cDeviceConfig::ConfigPipAltScalePercent, cDeviceConfig::ConfigPipAltTopPercent, cDeviceConfig::ConfigPipLeftPercent, cDeviceConfig::ConfigPipScalePercent, cDeviceConfig::ConfigPipTopPercent, cDeviceConfig::ConfigPipUseAlt, cDeviceConfig::ConfigShowChannelSwitchDurationMessage, cDeviceConfig::ConfigVideoAudioDelayMs, cDeviceConfig::ConfigVideoChannelSwitchMode, cDeviceConfig::ConfigVideoDisplayMode, cDeviceConfig::ConfigVideoEnableHDR, L_AV_SYNC, L_CODEC, L_DEBUG, L_DRM, L_FFMPEG, L_GRAB, L_MEDIA, L_OPENGL, L_OPENGL_TIME, L_OPENGL_TIME_ALL, L_OSD, L_PACKET, L_SOUND, L_STILL, L_TRICK, LOGDEBUG, LOGGER, m_cAdditionalBufferLengthMs, m_cAudioAutoAES, m_cAudioCompression, m_cAudioDelay, m_cAudioDownmix, m_cAudioEq, m_cAudioEqBand, m_cAudioMaxCompression, m_cAudioMaxNormalize, m_cAudioNormalize, m_cAudioPassthroughAC3, m_cAudioPassthroughDefault, m_cAudioPassthroughDTS, m_cAudioPassthroughEAC3, m_cAudioSoftvol, m_cAudioStereoDescent, m_cDecoderFallbackToSw, m_cDecoderFallbackToSwNumPkts, m_cDisableDeint, m_cDropInvalidH264PFrames, m_cHideMainMenuEntry, m_cLogAVSync, m_cLogCodec, m_cLogDebug_, m_cLogDefault, m_cLogDRM, m_cLogFFmpeg, m_cLogGL, m_cLogGLTime, m_cLogGLTimeAll, m_cLogGrab, m_cLogMedia, m_cLogOSD, m_cLogPacket, m_cLogSound, m_cLogStill, m_cLogTrick, m_cMaxSizeGPUImageCache, m_cParseH264StreamStart, m_cPipAltLeftPercent, m_cPipAltScalePercent, m_cPipAltTopPercent, m_cPipLeftPercent, m_cPipScalePercent, m_cPipTopPercent, m_cPipUseAlt, m_cShowChannelSwitchDurationMessage, m_cVideoChannelSwitchMode, m_cVideoDisplayMode, m_cVideoEnableHDR, m_pAudioDevice, m_pConfig, m_pDevice, cOutputDevice::PipSetSize(), cDeviceConfig::PrintLogLevel(), cOutputDevice::ResetChannelId(), cAudioStream::SetAutoAES(), cOutputDevice::SetChannelSwitchMode(), cAudioStream::SetCompression(), cOutputDevice::SetDecoderFallbackToSw(), cOutputDevice::SetDisableDeint(), cOutputDevice::SetDisplayMode(), cAudioStream::SetDownmix(), cOutputDevice::SetEnableHdr(), cAudioStream::SetEqualizer(), cAudioStream::SetNormalize(), cOutputDevice::SetPassthroughMask(), cAudioStream::SetSoftvol(), cAudioStream::SetStereoDescent(), and cOutputDevice::UsePip().
|
protected |
Definition at line 101 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 54 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 58 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), ProcessKey(), and Store().
|
protected |
Definition at line 55 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 49 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 64 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), ProcessKey(), and Store().
|
protected |
Definition at line 65 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 63 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and ProcessKey().
|
protected |
Definition at line 59 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 57 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 47 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and ProcessKey().
|
protected |
Definition at line 56 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), ProcessKey(), and Store().
|
protected |
Definition at line 51 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 50 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), ProcessKey(), and Store().
|
protected |
Definition at line 53 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 52 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 48 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 60 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 103 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), ProcessKey(), and Store().
|
protected |
Definition at line 104 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 102 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 106 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 100 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and ProcessKey().
|
protected |
Definition at line 37 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and ProcessKey().
|
private |
Definition at line 119 of file setupmenu.h.
Referenced by BuildChannelSwitchModeList().
Definition at line 120 of file setupmenu.h.
Referenced by BuildChannelSwitchModeList(), and Create().
|
protected |
Definition at line 38 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 83 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 82 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 80 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 79 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), ProcessKey(), and Store().
|
protected |
Definition at line 81 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 85 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 78 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and ProcessKey().
|
protected |
Definition at line 92 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 93 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 94 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 88 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 91 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 87 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 86 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 84 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 89 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 90 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 108 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 105 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 74 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 73 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 75 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 70 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 68 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and ProcessKey().
|
protected |
Definition at line 69 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 71 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 72 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 110 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 97 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and ProcessKey().
|
protected |
Definition at line 44 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 43 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 42 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and Store().
|
protected |
Definition at line 41 of file setupmenu.h.
Referenced by cDeviceSetupMenu(), Create(), and ProcessKey().
|
private |
Definition at line 117 of file setupmenu.h.
Referenced by BuildDisplayModeList().
Definition at line 118 of file setupmenu.h.
Referenced by BuildDisplayModeList(), and Create().
|
private |
Definition at line 115 of file setupmenu.h.
Referenced by Store().
|
private |
Definition at line 114 of file setupmenu.h.
Referenced by BuildDisplayModeList(), cDeviceSetupMenu(), Create(), and Store().
|
private |
Definition at line 113 of file setupmenu.h.