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

PVR stream properties
All information about a respective stream is stored in this, so that Kodi can process the data given by the addon after demux. More...

Classes

class  kodi::addon::PVRStreamProperties
 

Functions

void kodi::addon::PVRStreamProperties::SetPID (unsigned int pid)
 PID.
 
unsigned int kodi::addon::PVRStreamProperties::GetPID () const
 To get with SetPID() changed values.
 
void kodi::addon::PVRStreamProperties::SetCodecType (PVR_CODEC_TYPE codecType)
 Codec type this stream.
 
PVR_CODEC_TYPE kodi::addon::PVRStreamProperties::GetCodecType () const
 To get with SetCodecType() changed values.
 
void kodi::addon::PVRStreamProperties::SetCodecId (unsigned int codecId)
 Codec id of this stream.
 
unsigned int kodi::addon::PVRStreamProperties::GetCodecId () const
 To get with SetCodecId() changed values.
 
void kodi::addon::PVRStreamProperties::SetLanguage (const std::string &language)
 3 letter language id.
 
std::string kodi::addon::PVRStreamProperties::GetLanguage () const
 To get with SetLanguage() changed values.
 
void kodi::addon::PVRStreamProperties::SetSubtitleInfo (int subtitleInfo)
 Subtitle Info.
 
int kodi::addon::PVRStreamProperties::GetSubtitleInfo () const
 To get with SetSubtitleInfo() changed values.
 
void kodi::addon::PVRStreamProperties::SetFPSScale (int fpsScale)
 To set scale of 1000 and a rate of 29970 will result in 29.97 fps.
 
int kodi::addon::PVRStreamProperties::GetFPSScale () const
 To get with SetFPSScale() changed values.
 
void kodi::addon::PVRStreamProperties::SetFPSRate (int fpsRate)
 FPS rate.
 
int kodi::addon::PVRStreamProperties::GetFPSRate () const
 To get with SetFPSRate() changed values.
 
void kodi::addon::PVRStreamProperties::SetHeight (int height)
 Height of the stream reported by the demuxer.
 
int kodi::addon::PVRStreamProperties::GetHeight () const
 To get with SetHeight() changed values.
 
void kodi::addon::PVRStreamProperties::SetWidth (int width)
 Width of the stream reported by the demuxer.
 
int kodi::addon::PVRStreamProperties::GetWidth () const
 To get with SetWidth() changed values.
 
void kodi::addon::PVRStreamProperties::SetAspect (float aspect)
 Display aspect ratio of the stream.
 
float kodi::addon::PVRStreamProperties::GetAspect () const
 To get with SetAspect() changed values.
 
void kodi::addon::PVRStreamProperties::SetChannels (int channels)
 Amount of channels.
 
int kodi::addon::PVRStreamProperties::GetChannels () const
 To get with SetChannels() changed values.
 
void kodi::addon::PVRStreamProperties::SetSampleRate (int sampleRate)
 Sample rate.
 
int kodi::addon::PVRStreamProperties::GetSampleRate () const
 To get with SetSampleRate() changed values.
 
void kodi::addon::PVRStreamProperties::SetBlockAlign (int blockAlign)
 Block alignment.
 
int kodi::addon::PVRStreamProperties::GetBlockAlign () const
 To get with SetBlockAlign() changed values.
 
void kodi::addon::PVRStreamProperties::SetBitRate (int bitRate)
 Bit rate.
 
int kodi::addon::PVRStreamProperties::GetBitRate () const
 To get with SetBitRate() changed values.
 
void kodi::addon::PVRStreamProperties::SetBitsPerSample (int bitsPerSample)
 Bits per sample.
 
int kodi::addon::PVRStreamProperties::GetBitsPerSample () const
 To get with SetBitsPerSample() changed values.
 

Detailed Description

PVR stream properties
All information about a respective stream is stored in this, so that Kodi can process the data given by the addon after demux.


@ingroup cpp_kodi_addon_pvr_Defs_Stream_PVRStreamProperties

The following table contains values that can be set with class PVRStreamProperties :

Name Type Set call Get call
PID unsigned int SetPID GetPID
Codec type PVR_CODEC_TYPE SetCodecType GetCodecType
Codec identifier unsigned int SetCodecId GetCodecId
Language std::string SetLanguage GetLanguage
Subtitle info int SetSubtitleInfo GetSubtitleInfo
FPS scale int SetFPSScale GetFPSScale
FPS rate int SetFPSRate GetFPSRate
Height int SetHeight GetHeight
Width int SetWidth GetWidth
Aspect ratio float SetAspect GetAspect
Channels int SetChannels GetChannels
Samplerate int SetSampleRate GetSampleRate
Block align int SetBlockAlign GetBlockAlign
Bit rate int SetBitRate GetBitRate
Bits per sample int SetBitsPerSample GetBitsPerSample

Function Documentation

◆ GetAspect()

float kodi::addon::PVRStreamProperties::GetAspect ( ) const
inline

To get with SetAspect() changed values.

◆ GetBitRate()

int kodi::addon::PVRStreamProperties::GetBitRate ( ) const
inline

To get with SetBitRate() changed values.

◆ GetBitsPerSample()

int kodi::addon::PVRStreamProperties::GetBitsPerSample ( ) const
inline

To get with SetBitsPerSample() changed values.

◆ GetBlockAlign()

int kodi::addon::PVRStreamProperties::GetBlockAlign ( ) const
inline

To get with SetBlockAlign() changed values.

◆ GetChannels()

int kodi::addon::PVRStreamProperties::GetChannels ( ) const
inline

To get with SetChannels() changed values.

◆ GetCodecId()

unsigned int kodi::addon::PVRStreamProperties::GetCodecId ( ) const
inline

To get with SetCodecId() changed values.

◆ GetCodecType()

PVR_CODEC_TYPE kodi::addon::PVRStreamProperties::GetCodecType ( ) const
inline

To get with SetCodecType() changed values.

◆ GetFPSRate()

int kodi::addon::PVRStreamProperties::GetFPSRate ( ) const
inline

To get with SetFPSRate() changed values.

◆ GetFPSScale()

int kodi::addon::PVRStreamProperties::GetFPSScale ( ) const
inline

To get with SetFPSScale() changed values.

◆ GetHeight()

int kodi::addon::PVRStreamProperties::GetHeight ( ) const
inline

To get with SetHeight() changed values.

◆ GetLanguage()

std::string kodi::addon::PVRStreamProperties::GetLanguage ( ) const
inline

To get with SetLanguage() changed values.

◆ GetPID()

unsigned int kodi::addon::PVRStreamProperties::GetPID ( ) const
inline

To get with SetPID() changed values.

◆ GetSampleRate()

int kodi::addon::PVRStreamProperties::GetSampleRate ( ) const
inline

To get with SetSampleRate() changed values.

◆ GetSubtitleInfo()

int kodi::addon::PVRStreamProperties::GetSubtitleInfo ( ) const
inline

To get with SetSubtitleInfo() changed values.

◆ GetWidth()

int kodi::addon::PVRStreamProperties::GetWidth ( ) const
inline

To get with SetWidth() changed values.

◆ SetAspect()

void kodi::addon::PVRStreamProperties::SetAspect ( float aspect)
inline

Display aspect ratio of the stream.

◆ SetBitRate()

void kodi::addon::PVRStreamProperties::SetBitRate ( int bitRate)
inline

Bit rate.

◆ SetBitsPerSample()

void kodi::addon::PVRStreamProperties::SetBitsPerSample ( int bitsPerSample)
inline

Bits per sample.

◆ SetBlockAlign()

void kodi::addon::PVRStreamProperties::SetBlockAlign ( int blockAlign)
inline

Block alignment.

◆ SetChannels()

void kodi::addon::PVRStreamProperties::SetChannels ( int channels)
inline

Amount of channels.

◆ SetCodecId()

void kodi::addon::PVRStreamProperties::SetCodecId ( unsigned int codecId)
inline

Codec id of this stream.

◆ SetCodecType()

void kodi::addon::PVRStreamProperties::SetCodecType ( PVR_CODEC_TYPE codecType)
inline

Codec type this stream.

◆ SetFPSRate()

void kodi::addon::PVRStreamProperties::SetFPSRate ( int fpsRate)
inline

FPS rate.

◆ SetFPSScale()

void kodi::addon::PVRStreamProperties::SetFPSScale ( int fpsScale)
inline

To set scale of 1000 and a rate of 29970 will result in 29.97 fps.

◆ SetHeight()

void kodi::addon::PVRStreamProperties::SetHeight ( int height)
inline

Height of the stream reported by the demuxer.

◆ SetLanguage()

void kodi::addon::PVRStreamProperties::SetLanguage ( const std::string & language)
inline

3 letter language id.

◆ SetPID()

void kodi::addon::PVRStreamProperties::SetPID ( unsigned int pid)
inline

PID.

◆ SetSampleRate()

void kodi::addon::PVRStreamProperties::SetSampleRate ( int sampleRate)
inline

Sample rate.

◆ SetSubtitleInfo()

void kodi::addon::PVRStreamProperties::SetSubtitleInfo ( int subtitleInfo)
inline

Subtitle Info.

◆ SetWidth()

void kodi::addon::PVRStreamProperties::SetWidth ( int width)
inline

Width of the stream reported by the demuxer.