#include <DataCacheCore.h>
◆ CDataCacheCore()
CDataCacheCore::CDataCacheCore |
( |
| ) |
|
◆ GetAudioBitsPerSample()
int CDataCacheCore::GetAudioBitsPerSample |
( |
| ) |
|
◆ GetAudioChannels()
std::string CDataCacheCore::GetAudioChannels |
( |
| ) |
|
◆ GetAudioDecoderName()
std::string CDataCacheCore::GetAudioDecoderName |
( |
| ) |
|
◆ GetAudioSampleRate()
int CDataCacheCore::GetAudioSampleRate |
( |
| ) |
|
◆ GetGuiRender()
bool CDataCacheCore::GetGuiRender |
( |
| ) |
|
◆ GetInstance()
◆ GetMaxTime()
int64_t CDataCacheCore::GetMaxTime |
( |
| ) |
|
Get the maximum time.
This is the maximun time, in ms, that the player can skip forward. For a typical video, this will be the total length. For live TV without timeshift this is zero, and for live TV with timeshift this will be the buffer ahead.
◆ GetMinTime()
int64_t CDataCacheCore::GetMinTime |
( |
| ) |
|
Get the minumum time.
This will be zero for a typical video. With timeshift, this is the time, in ms, that the player can go back. This can be before the start time.
◆ GetPlayPercentage()
float CDataCacheCore::GetPlayPercentage |
( |
| ) |
|
Get the current percentage of playback if a playback buffer is available.
If there is no playback buffer, percentage will be 0.
◆ GetPlayTime()
int64_t CDataCacheCore::GetPlayTime |
( |
| ) |
|
Get the current time of playback.
This is the time elapsed, in ms, since the start time.
◆ GetPlayTimes()
void CDataCacheCore::GetPlayTimes |
( |
time_t & |
start, |
|
|
int64_t & |
current, |
|
|
int64_t & |
min, |
|
|
int64_t & |
max |
|
) |
| |
◆ GetSpeed()
float CDataCacheCore::GetSpeed |
( |
| ) |
|
◆ GetStartTime()
time_t CDataCacheCore::GetStartTime |
( |
| ) |
|
Get the start time.
For a typical video this will be zero. For live TV, this is a reference time in units of time_t (UTC) from which time elapsed starts. Ideally this would be the start of the tv show but can be any other time as well.
◆ GetTempo()
float CDataCacheCore::GetTempo |
( |
| ) |
|
◆ GetVideoDAR()
float CDataCacheCore::GetVideoDAR |
( |
| ) |
|
◆ GetVideoDecoderName()
std::string CDataCacheCore::GetVideoDecoderName |
( |
| ) |
|
◆ GetVideoDeintMethod()
std::string CDataCacheCore::GetVideoDeintMethod |
( |
| ) |
|
◆ GetVideoFps()
float CDataCacheCore::GetVideoFps |
( |
| ) |
|
◆ GetVideoHeight()
int CDataCacheCore::GetVideoHeight |
( |
| ) |
|
◆ GetVideoPixelFormat()
std::string CDataCacheCore::GetVideoPixelFormat |
( |
| ) |
|
◆ GetVideoRender()
bool CDataCacheCore::GetVideoRender |
( |
| ) |
|
◆ GetVideoStereoMode()
std::string CDataCacheCore::GetVideoStereoMode |
( |
| ) |
|
◆ GetVideoWidth()
int CDataCacheCore::GetVideoWidth |
( |
| ) |
|
◆ HasAVInfoChanges()
bool CDataCacheCore::HasAVInfoChanges |
( |
| ) |
|
◆ IsFrameAdvance()
bool CDataCacheCore::IsFrameAdvance |
( |
| ) |
|
◆ IsPlayerStateChanged()
bool CDataCacheCore::IsPlayerStateChanged |
( |
| ) |
|
◆ IsRenderClockSync()
bool CDataCacheCore::IsRenderClockSync |
( |
| ) |
|
◆ IsSeeking()
bool CDataCacheCore::IsSeeking |
( |
| ) |
|
◆ IsVideoHwDecoder()
bool CDataCacheCore::IsVideoHwDecoder |
( |
| ) |
|
◆ Reset()
void CDataCacheCore::Reset |
( |
| ) |
|
◆ SetAudioBitsPerSample()
void CDataCacheCore::SetAudioBitsPerSample |
( |
int |
bitsPerSample | ) |
|
◆ SetAudioChannels()
void CDataCacheCore::SetAudioChannels |
( |
std::string |
channels | ) |
|
◆ SetAudioDecoderName()
void CDataCacheCore::SetAudioDecoderName |
( |
std::string |
name | ) |
|
◆ SetAudioSampleRate()
void CDataCacheCore::SetAudioSampleRate |
( |
int |
sampleRate | ) |
|
◆ SetFrameAdvance()
void CDataCacheCore::SetFrameAdvance |
( |
bool |
fa | ) |
|
◆ SetGuiRender()
void CDataCacheCore::SetGuiRender |
( |
bool |
gui | ) |
|
◆ SetPlayTimes()
void CDataCacheCore::SetPlayTimes |
( |
time_t |
start, |
|
|
int64_t |
current, |
|
|
int64_t |
min, |
|
|
int64_t |
max |
|
) |
| |
◆ SetRenderClockSync()
void CDataCacheCore::SetRenderClockSync |
( |
bool |
enabled | ) |
|
◆ SetSpeed()
void CDataCacheCore::SetSpeed |
( |
float |
tempo, |
|
|
float |
speed |
|
) |
| |
◆ SetStateSeeking()
void CDataCacheCore::SetStateSeeking |
( |
bool |
active | ) |
|
◆ SetVideoDAR()
void CDataCacheCore::SetVideoDAR |
( |
float |
dar | ) |
|
◆ SetVideoDecoderName()
void CDataCacheCore::SetVideoDecoderName |
( |
std::string |
name, |
|
|
bool |
isHw |
|
) |
| |
◆ SetVideoDeintMethod()
void CDataCacheCore::SetVideoDeintMethod |
( |
std::string |
method | ) |
|
◆ SetVideoDimensions()
void CDataCacheCore::SetVideoDimensions |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ SetVideoFps()
void CDataCacheCore::SetVideoFps |
( |
float |
fps | ) |
|
◆ SetVideoPixelFormat()
void CDataCacheCore::SetVideoPixelFormat |
( |
std::string |
pixFormat | ) |
|
◆ SetVideoRender()
void CDataCacheCore::SetVideoRender |
( |
bool |
video | ) |
|
◆ SetVideoStereoMode()
void CDataCacheCore::SetVideoStereoMode |
( |
std::string |
mode | ) |
|
◆ SignalAudioInfoChange()
void CDataCacheCore::SignalAudioInfoChange |
( |
| ) |
|
◆ SignalSubtitleInfoChange()
void CDataCacheCore::SignalSubtitleInfoChange |
( |
| ) |
|
◆ SignalVideoInfoChange()
void CDataCacheCore::SignalVideoInfoChange |
( |
| ) |
|
◆ m_audioPlayerSection
◆ m_hasAVInfoChanges
std::atomic_bool CDataCacheCore::m_hasAVInfoChanges |
|
protected |
◆ m_playerAudioInfo
◆ m_playerStateChanged
bool CDataCacheCore::m_playerStateChanged = false |
|
protected |
◆ m_playerVideoInfo
◆ m_renderInfo
◆ m_renderSection
◆ m_stateInfo
◆ m_stateSection
◆ m_timeInfo
◆ m_videoPlayerSection
The documentation for this class was generated from the following files: