Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CVideoSettings Class Reference

#include <VideoSettings.h>

Public Member Functions

 CVideoSettings ()
 
 ~CVideoSettings ()=default
 
bool operator!= (const CVideoSettings &right) const
 
void DeclareAspect (float ratio, float detectedNow)
 Declare ratio as what the content is, stamping the two members above.
 
void ClearDeclaredAspect ()
 Withdraw the declaration and the provenance that travelled with it.
 

Public Attributes

EINTERLACEMETHOD m_InterlaceMethod
 
ESCALINGMETHOD m_ScalingMethod
 
int m_ViewMode
 
float m_CustomZoomAmount
 
float m_CustomPixelRatio
 
float m_CustomVerticalShift
 
bool m_CustomNonLinStretch
 
int m_AudioStream
 
float m_VolumeAmplification
 
int m_SubtitleStream
 
float m_SubtitleDelay
 
int m_subtitleVerticalPosition {0}
 
bool m_subtitleVerticalPositionSave {false}
 
bool m_SubtitleOn
 
float m_Brightness
 
float m_Contrast
 
float m_Hue
 
float m_Saturation
 
float m_Gamma
 
float m_NoiseReduction
 
bool m_PostProcess
 
float m_Sharpness
 
float m_AudioDelay
 
int m_ResumeTime
 
int m_StereoMode
 
bool m_StereoInvert
 
int m_VideoStream
 
ETONEMAPMETHOD m_ToneMapMethod
 
float m_ToneMapParam
 
int m_Orientation
 
int m_CenterMixLevel
 
float m_declaredAspect {0.0f}
 Display aspect ratio the viewer declared for this file, 0 for none. Overrides anything measured, with no plausibility check.
 
std::string m_declaredOn
 When m_declaredAspect was set. Empty when there is no declaration.
 
float m_detectedWhenDeclared {0.0f}
 What detection reported at the moment of declaring, or 0 if it had no answer.
 
std::optional< bool > m_isDefaultVideoSettings
 true: default video settings, false: video specific
 

Constructor & Destructor Documentation

◆ CVideoSettings()

CVideoSettings::CVideoSettings ( )

◆ ~CVideoSettings()

CVideoSettings::~CVideoSettings ( )
default

Member Function Documentation

◆ ClearDeclaredAspect()

void CVideoSettings::ClearDeclaredAspect ( )

Withdraw the declaration and the provenance that travelled with it.

◆ DeclareAspect()

void CVideoSettings::DeclareAspect ( float ratio,
float detectedNow )

Declare ratio as what the content is, stamping the two members above.

◆ operator!=()

bool CVideoSettings::operator!= ( const CVideoSettings & right) const

Member Data Documentation

◆ m_AudioDelay

float CVideoSettings::m_AudioDelay

◆ m_AudioStream

int CVideoSettings::m_AudioStream

◆ m_Brightness

float CVideoSettings::m_Brightness

◆ m_CenterMixLevel

int CVideoSettings::m_CenterMixLevel

◆ m_Contrast

float CVideoSettings::m_Contrast

◆ m_CustomNonLinStretch

bool CVideoSettings::m_CustomNonLinStretch

◆ m_CustomPixelRatio

float CVideoSettings::m_CustomPixelRatio

◆ m_CustomVerticalShift

float CVideoSettings::m_CustomVerticalShift

◆ m_CustomZoomAmount

float CVideoSettings::m_CustomZoomAmount

◆ m_declaredAspect

float CVideoSettings::m_declaredAspect {0.0f}

Display aspect ratio the viewer declared for this file, 0 for none. Overrides anything measured, with no plausibility check.

◆ m_declaredOn

std::string CVideoSettings::m_declaredOn

When m_declaredAspect was set. Empty when there is no declaration.

◆ m_detectedWhenDeclared

float CVideoSettings::m_detectedWhenDeclared {0.0f}

What detection reported at the moment of declaring, or 0 if it had no answer.

◆ m_Gamma

float CVideoSettings::m_Gamma

◆ m_Hue

float CVideoSettings::m_Hue

◆ m_InterlaceMethod

EINTERLACEMETHOD CVideoSettings::m_InterlaceMethod

◆ m_isDefaultVideoSettings

std::optional<bool> CVideoSettings::m_isDefaultVideoSettings

true: default video settings, false: video specific

◆ m_NoiseReduction

float CVideoSettings::m_NoiseReduction

◆ m_Orientation

int CVideoSettings::m_Orientation

◆ m_PostProcess

bool CVideoSettings::m_PostProcess

◆ m_ResumeTime

int CVideoSettings::m_ResumeTime

◆ m_Saturation

float CVideoSettings::m_Saturation

◆ m_ScalingMethod

ESCALINGMETHOD CVideoSettings::m_ScalingMethod

◆ m_Sharpness

float CVideoSettings::m_Sharpness

◆ m_StereoInvert

bool CVideoSettings::m_StereoInvert

◆ m_StereoMode

int CVideoSettings::m_StereoMode

◆ m_SubtitleDelay

float CVideoSettings::m_SubtitleDelay

◆ m_SubtitleOn

bool CVideoSettings::m_SubtitleOn

◆ m_SubtitleStream

int CVideoSettings::m_SubtitleStream

◆ m_subtitleVerticalPosition

int CVideoSettings::m_subtitleVerticalPosition {0}

◆ m_subtitleVerticalPositionSave

bool CVideoSettings::m_subtitleVerticalPositionSave {false}

◆ m_ToneMapMethod

ETONEMAPMETHOD CVideoSettings::m_ToneMapMethod

◆ m_ToneMapParam

float CVideoSettings::m_ToneMapParam

◆ m_VideoStream

int CVideoSettings::m_VideoStream

◆ m_ViewMode

int CVideoSettings::m_ViewMode

◆ m_VolumeAmplification

float CVideoSettings::m_VolumeAmplification

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