|
vdr-plugin-softhddevice-drm-gles 1.6.4-d0291bb
|
Plugin Configuration. More...
#include <config.h>
Public Member Functions | |
| cSoftHdConfig (void)=default | |
| bool | SetupParse (const char *, const char *) |
| Parse setup parameters. | |
| void | PrintLogLevel (int) |
| void | SetDecoderNeedsMaxPackets (int) |
| int | GetDecoderNeedsMaxPackets (void) |
Public Attributes | |
| bool | ConfigHideMainMenuEntry = false |
| config hide main menu entry | |
| int | ConfigVideoEnableHDR = 0 |
| enable HDR | |
| bool | ConfigAudioSoftvol = false |
| config use software volume | |
| bool | ConfigAudioDownmix = false |
| config ffmpeg audio downmix | |
| int | ConfigAudioPassthroughMask = 0 |
| config audio pass-through mask | |
| bool | ConfigAudioPassthroughState = false |
| flag audio-passthrough on/off | |
| int | ConfigAudioAutoAES = 0 |
| config automatic AES handling | |
| int | ConfigVideoAudioDelayMs = 0 |
| config audio delay | |
| bool | ConfigAudioNormalize = false |
| config use normalize volume | |
| int | ConfigAudioMaxNormalize = 0 |
| config max normalize factor | |
| bool | ConfigAudioCompression = false |
| config use volume compression | |
| int | ConfigAudioMaxCompression = 0 |
| config max volume compression | |
| int | ConfigAudioStereoDescent = 0 |
| config reduce stereo loudness | |
| int | ConfigAudioEq = 0 |
| config equalizer filter | |
| int | ConfigAudioEqBand [18] |
| config equalizer filter bands | |
| int | ConfigPipScalePercent = 25 |
| scale factor of pip video | |
| int | ConfigPipLeftPercent = 100 |
| 0 = aligned to left, 100 = aligned to right | |
| int | ConfigPipTopPercent = 0 |
| 0 = aligned to top, 100 = aligned to bottom | |
| int | ConfigPipUseAlt = false |
| int | ConfigPipAltScalePercent = 25 |
| alternative scale factor of pip video | |
| int | ConfigPipAltLeftPercent = 0 |
| 0 = aligned to left, 100 = aligned to right | |
| int | ConfigPipAltTopPercent = 0 |
| 0 = aligned to top, 100 = aligned to bottom | |
| bool | ConfigLogState = true |
| flag logging on/off | |
| int | ConfigLogLevels = 0 |
| loglevel config | |
| int | ConfigAdditionalBufferLengthMs = 0 |
| config size ms of a/v buffer | |
| bool | ConfigDisableDeint = false |
| disable deinterlacer | |
| bool | ConfigDecoderFallbackToSw = false |
| fallback to software decoder if the hardware decoder fails | |
| int | ConfigDecoderFallbackToSwNumPkts = 22 |
| maximum number of packets sent before fallback to sw decoder | |
| bool | ConfigDecoderNeedsIFrame = false |
| start h264 decoder only when an I-Frame arrives | |
| bool | ConfigParseH264Dimensions = false |
| parse h264 stream for width and height for decoder init | |
| int | ConfigParseH264StreamStart = 0 |
| log frames at stream start up to the given number of I-Frames | |
| int | ConfigDropInvalidH264PFrames = 0 |
| drop P-Frames with invalid references on stream start up to the given number of I-Frames | |
| int | ConfigMaxSizeGPUImageCache = 128 |
| config max gpu image cache size | |
| const char * | ConfigAudioPCMDevice = nullptr |
| audio PCM device | |
| const char * | ConfigAudioPassthroughDevice = nullptr |
| audio passthrough device | |
| const char * | ConfigAudioMixerChannel = nullptr |
| audio mixer channel name | |
| const char * | ConfigDrmDevice = nullptr |
| user requested drm device (e.g. "/dev/dri/card0") | |
| const char * | ConfigDisplayResolution = nullptr |
| display resolution (syntax: "1920x1080@50") | |
| int | ConfigDisableOglOsd = 0 |
| config disable ogl osd | |
| const char * | CurrentDecoderName = "unknown" |
| current decoder name | |
| const char * | CurrentDecoderType = "unknown" |
| current decoder type: "hardware" or "software" | |
| std::atomic< int > | StatMaxShortTermAudioJitterMs = 0 |
| logged max audio jitter of the last 1000 packets | |
| std::atomic< int > | StatMaxLongTermAudioJitterMs = 0 |
| logged max overall audio jitter since stream start | |
| std::atomic< int > | StatMaxShortTermVideoJitterMs = 0 |
| logged max video jitter of the last 1000 packets | |
| std::atomic< int > | StatMaxLongTermVideoJitterMs = 0 |
| logged max overall video jitter since stream start | |
Private Attributes | |
| int | m_decoderNeedsMaxPackets = 0 |
| std::mutex | m_mutex |
|
default |
Definition at line 154 of file config.cpp.
References m_decoderNeedsMaxPackets, and m_mutex.
Referenced by cMenuSetupSoft::Create(), and cVideoStream::DecodeInput().
Definition at line 110 of file config.cpp.
References 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, and LOGINFO.
Referenced by SetupParse(), and cMenuSetupSoft::Store().
Definition at line 148 of file config.cpp.
References m_decoderNeedsMaxPackets, and m_mutex.
Referenced by cVideoStream::DecodeInput().
Parse setup parameters.
| name | paramter name (case sensetive) |
| value | value as string |
Definition at line 33 of file config.cpp.
References ConfigAdditionalBufferLengthMs, ConfigAudioAutoAES, ConfigAudioCompression, ConfigAudioDownmix, ConfigAudioEq, ConfigAudioEqBand, ConfigAudioMaxCompression, ConfigAudioMaxNormalize, ConfigAudioNormalize, ConfigAudioPassthroughMask, ConfigAudioPassthroughState, ConfigAudioSoftvol, ConfigAudioStereoDescent, ConfigDecoderFallbackToSw, ConfigDecoderFallbackToSwNumPkts, ConfigDecoderNeedsIFrame, ConfigDisableDeint, ConfigDropInvalidH264PFrames, ConfigHideMainMenuEntry, ConfigLogLevels, ConfigLogState, ConfigMaxSizeGPUImageCache, ConfigParseH264Dimensions, ConfigParseH264StreamStart, ConfigPipAltLeftPercent, ConfigPipAltScalePercent, ConfigPipAltTopPercent, ConfigPipLeftPercent, ConfigPipScalePercent, ConfigPipTopPercent, ConfigPipUseAlt, ConfigVideoAudioDelayMs, ConfigVideoEnableHDR, cSoftHdLogger::GetLogger(), and PrintLogLevel().
Referenced by cPluginSoftHdDevice::SetupParse().
| int cSoftHdConfig::ConfigAdditionalBufferLengthMs = 0 |
config size ms of a/v buffer
Definition at line 76 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdDevice::GetBufferFillLevelThresholdMs(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigAudioAutoAES = 0 |
config automatic AES handling
Definition at line 46 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), SetupParse(), and cMenuSetupSoft::Store().
config use volume compression
Definition at line 50 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdAudio::cSoftHdAudio(), SetupParse(), and cMenuSetupSoft::Store().
config ffmpeg audio downmix
Definition at line 43 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigAudioEq = 0 |
config equalizer filter
Definition at line 55 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdAudio::cSoftHdAudio(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigAudioEqBand[18] |
config equalizer filter bands
Definition at line 56 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdAudio::cSoftHdAudio(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigAudioMaxCompression = 0 |
config max volume compression
Definition at line 51 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdAudio::cSoftHdAudio(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigAudioMaxNormalize = 0 |
config max normalize factor
Definition at line 49 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdAudio::cSoftHdAudio(), SetupParse(), and cMenuSetupSoft::Store().
audio mixer channel name
Definition at line 93 of file config.h.
Referenced by cSoftHdDevice::ProcessArgs().
config use normalize volume
Definition at line 48 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdAudio::cSoftHdAudio(), SetupParse(), and cMenuSetupSoft::Store().
audio passthrough device
Definition at line 92 of file config.h.
Referenced by cSoftHdDevice::ProcessArgs().
| int cSoftHdConfig::ConfigAudioPassthroughMask = 0 |
config audio pass-through mask
Definition at line 44 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), SetupParse(), and cMenuSetupSoft::Store().
flag audio-passthrough on/off
Definition at line 45 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), SetupParse(), and cMenuSetupSoft::Store().
audio PCM device
Definition at line 91 of file config.h.
Referenced by cSoftHdDevice::ProcessArgs().
config use software volume
Definition at line 42 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigAudioStereoDescent = 0 |
config reduce stereo loudness
Definition at line 52 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdAudio::cSoftHdAudio(), SetupParse(), and cMenuSetupSoft::Store().
fallback to software decoder if the hardware decoder fails
Definition at line 78 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoStream::cVideoStream(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigDecoderFallbackToSwNumPkts = 22 |
maximum number of packets sent before fallback to sw decoder
Definition at line 79 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoStream::cVideoStream(), cSoftHdDevice::SetDecoderFallbackToSw(), SetupParse(), and cMenuSetupSoft::Store().
start h264 decoder only when an I-Frame arrives
Definition at line 80 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdDevice::SetDecoderNeedsIFrame(), SetupParse(), and cMenuSetupSoft::Store().
disable deinterlacer
Definition at line 77 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdDevice::SetDisableDeint(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigDisableOglOsd = 0 |
config disable ogl osd
Definition at line 97 of file config.h.
Referenced by cMenuSetupSoft::Create(), cVideoRender::cVideoRender(), cSoftHdDevice::OglOsdIsDisabled(), cSoftHdDevice::SetDisableOglOsd(), and cSoftHdDevice::SetEnableOglOsd().
display resolution (syntax: "1920x1080@50")
Definition at line 95 of file config.h.
Referenced by cSoftHdDevice::ProcessArgs().
user requested drm device (e.g. "/dev/dri/card0")
Definition at line 94 of file config.h.
Referenced by cSoftHdDevice::ProcessArgs().
| int cSoftHdConfig::ConfigDropInvalidH264PFrames = 0 |
drop P-Frames with invalid references on stream start up to the given number of I-Frames
Definition at line 83 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoStream::OpenDecoder(), SetupParse(), and cMenuSetupSoft::Store().
config hide main menu entry
Definition at line 36 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cPluginSoftHdDevice::MainMenuEntry(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigLogLevels = 0 |
loglevel config
Definition at line 73 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), SetupParse(), and cMenuSetupSoft::Store().
flag logging on/off
Definition at line 72 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigMaxSizeGPUImageCache = 128 |
config max gpu image cache size
Definition at line 85 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdDevice::MaxSizeGPUImageCache(), SetupParse(), and cMenuSetupSoft::Store().
parse h264 stream for width and height for decoder init
Definition at line 81 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdDevice::SetParseH264Dimensions(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigParseH264StreamStart = 0 |
log frames at stream start up to the given number of I-Frames
Definition at line 82 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoStream::OpenDecoder(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigPipAltLeftPercent = 0 |
0 = aligned to left, 100 = aligned to right
Definition at line 68 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoRender::SetPipSize(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigPipAltScalePercent = 25 |
alternative scale factor of pip video
Definition at line 67 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoRender::SetPipSize(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigPipAltTopPercent = 0 |
0 = aligned to top, 100 = aligned to bottom
Definition at line 69 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoRender::SetPipSize(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigPipLeftPercent = 100 |
0 = aligned to left, 100 = aligned to right
Definition at line 63 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoRender::SetPipSize(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigPipScalePercent = 25 |
scale factor of pip video
Definition at line 62 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoRender::SetPipSize(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigPipTopPercent = 0 |
0 = aligned to top, 100 = aligned to bottom
Definition at line 64 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoRender::SetPipSize(), SetupParse(), and cMenuSetupSoft::Store().
Definition at line 65 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cVideoRender::cVideoRender(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigVideoAudioDelayMs = 0 |
config audio delay
Definition at line 47 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), cSoftHdDevice::GetFirstAudioPtsMsToPlay(), cSoftHdDevice::GetFirstVideoPtsMsToPlay(), cSoftHdDevice::GetVideoAudioDelayMs(), cSoftHdDevice::OnEventReceived(), SetupParse(), and cMenuSetupSoft::Store().
| int cSoftHdConfig::ConfigVideoEnableHDR = 0 |
enable HDR
Definition at line 39 of file config.h.
Referenced by cMenuSetupSoft::cMenuSetupSoft(), SetupParse(), and cMenuSetupSoft::Store().
current decoder name
Definition at line 103 of file config.h.
Referenced by cMenuSetupSoft::Create(), and cVideoStream::OpenDecoder().
current decoder type: "hardware" or "software"
Definition at line 104 of file config.h.
Referenced by cMenuSetupSoft::Create(), and cVideoStream::OpenDecoder().
|
private |
Definition at line 117 of file config.h.
Referenced by GetDecoderNeedsMaxPackets(), and SetDecoderNeedsMaxPackets().
|
private |
Definition at line 118 of file config.h.
Referenced by GetDecoderNeedsMaxPackets(), and SetDecoderNeedsMaxPackets().
| std::atomic<int> cSoftHdConfig::StatMaxLongTermAudioJitterMs = 0 |
logged max overall audio jitter since stream start
Definition at line 106 of file config.h.
Referenced by cMenuSetupSoft::Create(), and cSoftHdDevice::PlayAudio().
| std::atomic<int> cSoftHdConfig::StatMaxLongTermVideoJitterMs = 0 |
logged max overall video jitter since stream start
Definition at line 108 of file config.h.
Referenced by cMenuSetupSoft::Create(), and cSoftHdDevice::PlayVideoInternal().
| std::atomic<int> cSoftHdConfig::StatMaxShortTermAudioJitterMs = 0 |
logged max audio jitter of the last 1000 packets
Definition at line 105 of file config.h.
Referenced by cMenuSetupSoft::Create(), and cSoftHdDevice::PlayAudio().
| std::atomic<int> cSoftHdConfig::StatMaxShortTermVideoJitterMs = 0 |
logged max video jitter of the last 1000 packets
Definition at line 107 of file config.h.
Referenced by cMenuSetupSoft::Create(), and cSoftHdDevice::PlayVideoInternal().