Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CStreamDetailVideo Class Referencefinal

#include <StreamDetails.h>

Inheritance diagram for CStreamDetailVideo:
CStreamDetail IArchivable ISerializable

Public Member Functions

 CStreamDetailVideo ()
 
 CStreamDetailVideo (const VideoStreamInfo &info, int duration=0)
 
void Archive (CArchive &ar) override
 
void Serialize (CVariant &value) const override
 
bool IsWorseThan (const CStreamDetail &that) const override
 
- Public Member Functions inherited from CStreamDetail
 CStreamDetail (StreamType type)
 
virtual ~CStreamDetail ()=default
 
- Public Member Functions inherited from IArchivable
- Public Member Functions inherited from ISerializable

Public Attributes

int m_iWidth = 0
 
int m_iHeight = 0
 
float m_fAspect = 0.0
 
int m_iDuration = 0
 
std::string m_strCodec
 
std::string m_strStereoMode
 
std::string m_strLanguage
 
std::string m_strHdrType
 
- Public Attributes inherited from CStreamDetail
const StreamType m_eType
 

Additional Inherited Members

- Public Types inherited from CStreamDetail
enum  StreamType { VIDEO , AUDIO , SUBTITLE }
 
- Protected Member Functions inherited from IArchivable
virtual ~IArchivable ()=default
 
- Protected Member Functions inherited from ISerializable
 ~ISerializable ()=default
 
- Protected Attributes inherited from CStreamDetail
CStreamDetailsm_pParent
 

Constructor & Destructor Documentation

◆ CStreamDetailVideo() [1/2]

CStreamDetailVideo::CStreamDetailVideo ( )

◆ CStreamDetailVideo() [2/2]

CStreamDetailVideo::CStreamDetailVideo ( const VideoStreamInfo & info,
int duration = 0 )

Member Function Documentation

◆ Archive()

void CStreamDetailVideo::Archive ( CArchive & ar)
overridevirtual

Implements IArchivable.

◆ IsWorseThan()

bool CStreamDetailVideo::IsWorseThan ( const CStreamDetail & that) const
overridevirtual

Implements CStreamDetail.

◆ Serialize()

void CStreamDetailVideo::Serialize ( CVariant & value) const
overridevirtual

Implements ISerializable.

Member Data Documentation

◆ m_fAspect

float CStreamDetailVideo::m_fAspect = 0.0

◆ m_iDuration

int CStreamDetailVideo::m_iDuration = 0

◆ m_iHeight

int CStreamDetailVideo::m_iHeight = 0

◆ m_iWidth

int CStreamDetailVideo::m_iWidth = 0

◆ m_strCodec

std::string CStreamDetailVideo::m_strCodec

◆ m_strHdrType

std::string CStreamDetailVideo::m_strHdrType

◆ m_strLanguage

std::string CStreamDetailVideo::m_strLanguage

◆ m_strStereoMode

std::string CStreamDetailVideo::m_strStereoMode

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