vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
cMenuSetupSoft Class Reference

cMenuSetupSoft - SoftHdDevice plugin menu setup page class More...

#include <softhdsetupmenu.h>

Public Member Functions

 cMenuSetupSoft (cSoftHdDevice *)
 cMenuSetupSoft constructor
 
virtual eOSState ProcessKey (eKeys)
 Process key for setup menu.
 

Protected Member Functions

virtual void Store (void)
 Store setup.
 

Protected Attributes

int m_cGeneralMenu
 
int m_cHideMainMenuEntry
 
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
 
int m_cAudioFilterMenu
 
int m_cAudioEq
 
int m_cAudioEqBand [18]
 
int m_cPipMenu
 
int m_cPipScalePercent
 
int m_cPipLeftPercent
 
int m_cPipTopPercent
 
int m_cPipUseAlt
 
int m_cPipAltScalePercent
 
int m_cPipAltLeftPercent
 
int m_cPipAltTopPercent
 
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
 
int m_cStatisticsMenu
 
int m_cExpertMenu
 
int m_cAdditionalBufferLengthMs
 
int m_cDisableDeint
 
int m_cDecoderNeedsIFrame
 
int m_cParseH264Dimensions
 
int m_cDecoderFallbackToSw
 
int m_cDecoderFallbackToSwNumPkts
 

Private Member Functions

cOsdItem * CollapsedItem (const char *, int &, const char *=NULL)
 Create a collapsed item.
 
void Create (void)
 Create setup menu.
 

Private Attributes

cSoftHdDevicem_pDevice
 
cSoftHdConfigm_pConfig
 
cSoftHdAudiom_pAudioDevice
 

Detailed Description

cMenuSetupSoft - SoftHdDevice plugin menu setup page class

Definition at line 38 of file softhdsetupmenu.h.

Constructor & Destructor Documentation

◆ cMenuSetupSoft()

cMenuSetupSoft::cMenuSetupSoft ( cSoftHdDevice device)

cMenuSetupSoft constructor

Import global config variables into setup

Definition at line 275 of file softhdsetupmenu.cpp.

References CODEC_AC3, CODEC_DTS, CODEC_EAC3, cSoftHdConfig::ConfigAdditionalBufferLengthMs, cSoftHdConfig::ConfigAudioAutoAES, cSoftHdConfig::ConfigAudioCompression, cSoftHdConfig::ConfigAudioDownmix, cSoftHdConfig::ConfigAudioEq, cSoftHdConfig::ConfigAudioEqBand, cSoftHdConfig::ConfigAudioMaxCompression, cSoftHdConfig::ConfigAudioMaxNormalize, cSoftHdConfig::ConfigAudioNormalize, cSoftHdConfig::ConfigAudioPassthroughMask, cSoftHdConfig::ConfigAudioPassthroughState, cSoftHdConfig::ConfigAudioSoftvol, cSoftHdConfig::ConfigAudioStereoDescent, cSoftHdConfig::ConfigDecoderFallbackToSw, cSoftHdConfig::ConfigDecoderFallbackToSwNumPkts, cSoftHdConfig::ConfigDecoderNeedsIFrame, cSoftHdConfig::ConfigDisableDeint, cSoftHdConfig::ConfigHideMainMenuEntry, cSoftHdConfig::ConfigLogLevels, cSoftHdConfig::ConfigLogState, cSoftHdConfig::ConfigParseH264Dimensions, cSoftHdConfig::ConfigPipAltLeftPercent, cSoftHdConfig::ConfigPipAltScalePercent, cSoftHdConfig::ConfigPipAltTopPercent, cSoftHdConfig::ConfigPipLeftPercent, cSoftHdConfig::ConfigPipScalePercent, cSoftHdConfig::ConfigPipTopPercent, cSoftHdConfig::ConfigPipUseAlt, cSoftHdConfig::ConfigVideoAudioDelayMs, 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_cDecoderNeedsIFrame, m_cDisableDeint, 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_cParseH264Dimensions, m_cPipAltLeftPercent, m_cPipAltScalePercent, m_cPipAltTopPercent, m_cPipLeftPercent, m_cPipMenu, m_cPipScalePercent, m_cPipTopPercent, m_cPipUseAlt, m_cStatisticsMenu, and m_pConfig.

Member Function Documentation

◆ CollapsedItem()

cOsdItem * cMenuSetupSoft::CollapsedItem ( const char *  label,
int &  flag,
const char *  msg = NULL 
)
inlineprivate

Create a collapsed item.

Parameters
labeltext inside collapsed
flagflag handling collapsed or opened
msgopen message

Definition at line 55 of file softhdsetupmenu.cpp.

Referenced by Create().

◆ Create()

◆ ProcessKey()

eOSState cMenuSetupSoft::ProcessKey ( eKeys  key)
virtual

◆ Store()

void cMenuSetupSoft::Store ( void  )
protectedvirtual

Store setup.

Definition at line 371 of file softhdsetupmenu.cpp.

References CODEC_AC3, CODEC_DTS, CODEC_EAC3, cSoftHdConfig::ConfigAdditionalBufferLengthMs, cSoftHdConfig::ConfigAudioAutoAES, cSoftHdConfig::ConfigAudioCompression, cSoftHdConfig::ConfigAudioDownmix, cSoftHdConfig::ConfigAudioEq, cSoftHdConfig::ConfigAudioEqBand, cSoftHdConfig::ConfigAudioMaxCompression, cSoftHdConfig::ConfigAudioMaxNormalize, cSoftHdConfig::ConfigAudioNormalize, cSoftHdConfig::ConfigAudioPassthroughMask, cSoftHdConfig::ConfigAudioPassthroughState, cSoftHdConfig::ConfigAudioSoftvol, cSoftHdConfig::ConfigAudioStereoDescent, cSoftHdConfig::ConfigDecoderFallbackToSw, cSoftHdConfig::ConfigDecoderFallbackToSwNumPkts, cSoftHdConfig::ConfigDecoderNeedsIFrame, cSoftHdConfig::ConfigDisableDeint, cSoftHdConfig::ConfigHideMainMenuEntry, cSoftHdConfig::ConfigLogLevels, cSoftHdConfig::ConfigLogState, cSoftHdConfig::ConfigParseH264Dimensions, cSoftHdConfig::ConfigPipAltLeftPercent, cSoftHdConfig::ConfigPipAltScalePercent, cSoftHdConfig::ConfigPipAltTopPercent, cSoftHdConfig::ConfigPipLeftPercent, cSoftHdConfig::ConfigPipScalePercent, cSoftHdConfig::ConfigPipTopPercent, cSoftHdConfig::ConfigPipUseAlt, cSoftHdConfig::ConfigVideoAudioDelayMs, cSoftHdLogger::GetLogger(), 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, 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_cDecoderNeedsIFrame, m_cDisableDeint, 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_cParseH264Dimensions, m_cPipAltLeftPercent, m_cPipAltScalePercent, m_cPipAltTopPercent, m_cPipLeftPercent, m_cPipScalePercent, m_cPipTopPercent, m_cPipUseAlt, m_pAudioDevice, m_pConfig, m_pDevice, cSoftHdDevice::PipSetSize(), cSoftHdConfig::PrintLogLevel(), cSoftHdDevice::ResetChannelId(), cSoftHdAudio::SetAutoAES(), cSoftHdAudio::SetCompression(), cSoftHdDevice::SetDecoderFallbackToSw(), cSoftHdDevice::SetDecoderNeedsIFrame(), cSoftHdDevice::SetDisableDeint(), cSoftHdAudio::SetDownmix(), cSoftHdAudio::SetEq(), cSoftHdAudio::SetNormalize(), cSoftHdDevice::SetParseH264Dimensions(), cSoftHdDevice::SetPassthrough(), cSoftHdAudio::SetSoftvol(), cSoftHdAudio::SetStereoDescent(), and cSoftHdDevice::UsePip().

Member Data Documentation

◆ m_cAdditionalBufferLengthMs

int cMenuSetupSoft::m_cAdditionalBufferLengthMs
protected

Definition at line 106 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioAutoAES

int cMenuSetupSoft::m_cAudioAutoAES
protected

Definition at line 59 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioCompression

int cMenuSetupSoft::m_cAudioCompression
protected

Definition at line 63 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), ProcessKey(), and Store().

◆ m_cAudioDelay

int cMenuSetupSoft::m_cAudioDelay
protected

Definition at line 60 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioDownmix

int cMenuSetupSoft::m_cAudioDownmix
protected

Definition at line 54 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioEq

int cMenuSetupSoft::m_cAudioEq
protected

Definition at line 69 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), ProcessKey(), and Store().

◆ m_cAudioEqBand

int cMenuSetupSoft::m_cAudioEqBand[18]
protected

Definition at line 70 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioFilterMenu

int cMenuSetupSoft::m_cAudioFilterMenu
protected

Definition at line 68 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and ProcessKey().

◆ m_cAudioMaxCompression

int cMenuSetupSoft::m_cAudioMaxCompression
protected

Definition at line 64 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioMaxNormalize

int cMenuSetupSoft::m_cAudioMaxNormalize
protected

Definition at line 62 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioMenu

int cMenuSetupSoft::m_cAudioMenu
protected

Definition at line 52 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and ProcessKey().

◆ m_cAudioNormalize

int cMenuSetupSoft::m_cAudioNormalize
protected

Definition at line 61 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), ProcessKey(), and Store().

◆ m_cAudioPassthroughAC3

int cMenuSetupSoft::m_cAudioPassthroughAC3
protected

Definition at line 56 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioPassthroughDefault

int cMenuSetupSoft::m_cAudioPassthroughDefault
protected

Definition at line 55 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), ProcessKey(), and Store().

◆ m_cAudioPassthroughDTS

int cMenuSetupSoft::m_cAudioPassthroughDTS
protected

Definition at line 58 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioPassthroughEAC3

int cMenuSetupSoft::m_cAudioPassthroughEAC3
protected

Definition at line 57 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioSoftvol

int cMenuSetupSoft::m_cAudioSoftvol
protected

Definition at line 53 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cAudioStereoDescent

int cMenuSetupSoft::m_cAudioStereoDescent
protected

Definition at line 65 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cDecoderFallbackToSw

int cMenuSetupSoft::m_cDecoderFallbackToSw
protected

Definition at line 110 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), ProcessKey(), and Store().

◆ m_cDecoderFallbackToSwNumPkts

int cMenuSetupSoft::m_cDecoderFallbackToSwNumPkts
protected

Definition at line 111 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cDecoderNeedsIFrame

int cMenuSetupSoft::m_cDecoderNeedsIFrame
protected

Definition at line 108 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cDisableDeint

int cMenuSetupSoft::m_cDisableDeint
protected

Definition at line 107 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cExpertMenu

int cMenuSetupSoft::m_cExpertMenu
protected

Definition at line 105 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and ProcessKey().

◆ m_cGeneralMenu

int cMenuSetupSoft::m_cGeneralMenu
protected

Definition at line 48 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and ProcessKey().

◆ m_cHideMainMenuEntry

int cMenuSetupSoft::m_cHideMainMenuEntry
protected

Definition at line 49 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogAVSync

int cMenuSetupSoft::m_cLogAVSync
protected

Definition at line 88 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogCodec

int cMenuSetupSoft::m_cLogCodec
protected

Definition at line 87 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogDebug_

int cMenuSetupSoft::m_cLogDebug_
protected

Definition at line 85 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogDefault

int cMenuSetupSoft::m_cLogDefault
protected

Definition at line 84 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), ProcessKey(), and Store().

◆ m_cLogDRM

int cMenuSetupSoft::m_cLogDRM
protected

Definition at line 86 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogFFmpeg

int cMenuSetupSoft::m_cLogFFmpeg
protected

Definition at line 90 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLoggingMenu

int cMenuSetupSoft::m_cLoggingMenu
protected

Definition at line 83 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and ProcessKey().

◆ m_cLogGL

int cMenuSetupSoft::m_cLogGL
protected

Definition at line 97 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogGLTime

int cMenuSetupSoft::m_cLogGLTime
protected

Definition at line 98 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogGLTimeAll

int cMenuSetupSoft::m_cLogGLTimeAll
protected

Definition at line 99 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogGrab

int cMenuSetupSoft::m_cLogGrab
protected

Definition at line 93 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogMedia

int cMenuSetupSoft::m_cLogMedia
protected

Definition at line 96 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogOSD

int cMenuSetupSoft::m_cLogOSD
protected

Definition at line 92 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogPacket

int cMenuSetupSoft::m_cLogPacket
protected

Definition at line 91 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogSound

int cMenuSetupSoft::m_cLogSound
protected

Definition at line 89 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogStill

int cMenuSetupSoft::m_cLogStill
protected

Definition at line 94 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cLogTrick

int cMenuSetupSoft::m_cLogTrick
protected

Definition at line 95 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cParseH264Dimensions

int cMenuSetupSoft::m_cParseH264Dimensions
protected

Definition at line 109 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cPipAltLeftPercent

int cMenuSetupSoft::m_cPipAltLeftPercent
protected

Definition at line 79 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cPipAltScalePercent

int cMenuSetupSoft::m_cPipAltScalePercent
protected

Definition at line 78 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cPipAltTopPercent

int cMenuSetupSoft::m_cPipAltTopPercent
protected

Definition at line 80 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cPipLeftPercent

int cMenuSetupSoft::m_cPipLeftPercent
protected

Definition at line 75 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cPipMenu

int cMenuSetupSoft::m_cPipMenu
protected

Definition at line 73 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and ProcessKey().

◆ m_cPipScalePercent

int cMenuSetupSoft::m_cPipScalePercent
protected

Definition at line 74 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cPipTopPercent

int cMenuSetupSoft::m_cPipTopPercent
protected

Definition at line 76 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cPipUseAlt

int cMenuSetupSoft::m_cPipUseAlt
protected

Definition at line 77 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_cStatisticsMenu

int cMenuSetupSoft::m_cStatisticsMenu
protected

Definition at line 102 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and ProcessKey().

◆ m_pAudioDevice

cSoftHdAudio* cMenuSetupSoft::m_pAudioDevice
private

Definition at line 119 of file softhdsetupmenu.h.

Referenced by Store().

◆ m_pConfig

cSoftHdConfig* cMenuSetupSoft::m_pConfig
private

Definition at line 118 of file softhdsetupmenu.h.

Referenced by cMenuSetupSoft(), Create(), and Store().

◆ m_pDevice

cSoftHdDevice* cMenuSetupSoft::m_pDevice
private

Definition at line 117 of file softhdsetupmenu.h.

Referenced by Create(), and Store().


The documentation for this class was generated from the following files: