13#ifndef __DRMDEVICE_CONFIG_H
14#define __DRMDEVICE_CONFIG_H
95 { 0, 0, 0, 0, 0, 0, 0, 0, 0,
96 0, 0, 0, 0, 0, 0, 0, 0, 0 };
const char * ConfigOsdResolution
osd resolution (syntax: "1920x1080")
std::atomic< int > StatMaxShortTermVideoJitterMs
logged max video jitter of the last 1000 packets
int ConfigPipAltScalePercent
alternative scale factor of pip video
sDrmMode UserSetDrmMode
user requested drm mode on the current connector
bool ConfigAudioSoftvol
config use software volume
std::atomic< int > StatMaxShortTermAudioJitterMs
logged max audio jitter of the last 1000 packets
sDrmMode CurrentVideoDrmMode
currently used video drm mode
void SetDecoderNeedsMaxPackets(int)
const char * ConfigDrmDevice
user requested drm device (e.g. "/dev/dri/card0")
std::atomic< int > StatMaxLongTermAudioJitterMs
logged max overall audio jitter since stream start
bool ConfigDecoderFallbackToSw
fallback to software decoder if the hardware decoder fails
int ConfigAdditionalBufferLengthMs
config size ms of a/v buffer
int ConfigPipLeftPercent
0 = aligned to left, 100 = aligned to right
sDrmMode CurrentDrmMode
currently used drm mode on the current connector
int ConfigAudioAutoAES
config automatic AES handling
std::atomic< int > StatMaxLongTermVideoJitterMs
logged max overall video jitter since stream start
const char * ConfigDisplayResolution
display resolution (syntax: "1920x1080@50")
bool ConfigLogState
flag logging on/off
int ConfigAudioEqBand[18]
config equalizer filter bands
bool ConfigAudioNormalize
config use normalize volume
int ConfigAudioMaxNormalize
config max normalize factor
bool ConfigAudioCompression
config use volume compression
bool ConfigDisableDeint
disable deinterlacer
int ConfigVideoChannelSwitchMode
channel switch mode (enum ChannelSwitchMode)
int ConfigDecoderFallbackToSwNumPkts
maximum number of packets sent before fallback to sw decoder
int GetDecoderNeedsMaxPackets(void)
cDeviceConfig(void)=default
bool ConfigHideMainMenuEntry
config hide main menu entry
int ConfigVideoAudioDelayMs
config audio delay
int ConfigDisableOglOsd
config disable ogl osd
int ConfigAudioPassthroughMask
config audio pass-through mask
const char * ConfigAudioMixerChannel
audio mixer channel name
int ConfigPipAltLeftPercent
0 = aligned to left, 100 = aligned to right
bool ConfigAudioDownmix
config ffmpeg audio downmix
const char * ConfigAudioPCMDevice
audio PCM device
int ConfigVideoEnableHDR
enable HDR
int ConfigDropInvalidH264PFrames
drop P-Frames with invalid references on stream start up to the given number of I-Frames
int ConfigVideoDisplayMode
display mode (enum ConfigDisplayModes)
int ConfigAudioEq
config equalizer filter
const char * CurrentDecoderType
current decoder type: "hardware" or "software"
const char * ConfigDrmConnector
user requested drm connector (e.g. "HDMI-A-1")
int ConfigAudioStereoDescent
config reduce stereo loudness
bool SetupParse(const char *, const char *)
Parse setup parameters.
int ConfigAudioMaxCompression
config max volume compression
bool ConfigAudioPassthroughState
flag audio-passthrough on/off
const char * CurrentDecoderName
current decoder name
sDrmMode RequestedDrmMode
is set to the requested mode which should be changed to
int ConfigLogLevels
loglevel config
bool CompareCurrentMode(sDrmMode *)
Return true, if the given mode is equal to the current display mode.
int ConfigParseH264StreamStart
log frames at stream start up to the given number of I-Frames
sDrmMode AutoDetectedDrmMode
auto detected mode on the first startup (maybe equal to UserSetMode)
std::vector< sDrmMode > CollectedDrmModes
collected available drm modes on the current connector
int ConfigShowChannelSwitchDurationMessage
let the skin show a short message about the channel switch duration
int ConfigPipScalePercent
scale factor of pip video
int ConfigPipAltTopPercent
0 = aligned to top, 100 = aligned to bottom
int ConfigPipTopPercent
0 = aligned to top, 100 = aligned to bottom
int ConfigMaxSizeGPUImageCache
config max gpu image cache size
int m_decoderNeedsMaxPackets
ChannelSwitchMode
Channel switch modes.
@ CHANNEL_SWITCH_FAST_VIDEO
@ CHANNEL_SWITCH_FAST_AUDIO
ConfigDisplayModes
Display modes.
@ CONFIG_DISPLAY_MODE_DEFAULT
@ CONFIG_DISPLAY_MODE_FOLLOW_VIDEO_INTERLACED
@ CONFIG_DISPLAY_MODE_FOLLOW_VIDEO
@ CONFIG_DISPLAY_MODE_MANUAL
Holds possible display configurations.
bool interlaced
is this an interlaced mode?
double refreshRateHz
display refresh rate