#include <bdringbuffer.h>
Definition at line 48 of file bdringbuffer.h.
| BDRingBuffer::BDRingBuffer | ( | const QString & | lfilename | ) |
Definition at line 39 of file bdringbuffer.cpp.
| BDRingBuffer::~BDRingBuffer | ( | ) | [virtual] |
Definition at line 53 of file bdringbuffer.cpp.
| virtual bool BDRingBuffer::IsStreamed | ( | void | ) | [inline, virtual] |
Reimplemented from RingBuffer.
Definition at line 54 of file bdringbuffer.h.
| void BDRingBuffer::ProgressUpdate | ( | void | ) |
Definition at line 261 of file bdringbuffer.cpp.
Referenced by file_opened_callback().
| bool BDRingBuffer::BDWaitingForPlayer | ( | void | ) | [inline] |
Definition at line 59 of file bdringbuffer.h.
Referenced by MythBDPlayer::VideoLoop().
| void BDRingBuffer::SkipBDWaitingForPlayer | ( | void | ) | [inline] |
Definition at line 60 of file bdringbuffer.h.
Referenced by MythBDPlayer::VideoLoop().
| virtual void BDRingBuffer::IgnoreWaitStates | ( | bool | ignore | ) | [inline, virtual] |
Reimplemented from RingBuffer.
Definition at line 61 of file bdringbuffer.h.
| bool BDRingBuffer::StartFromBeginning | ( | void | ) | [virtual] |
Reimplemented from RingBuffer.
Definition at line 1058 of file bdringbuffer.cpp.
| bool BDRingBuffer::GetNameAndSerialNum | ( | QString & | _name, | |
| QString & | _serialnum | |||
| ) |
Definition at line 1068 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::EventStart().
| void BDRingBuffer::ClearOverlays | ( | void | ) |
Definition at line 1081 of file bdringbuffer.cpp.
Referenced by close().
| BDOverlay * BDRingBuffer::GetOverlay | ( | void | ) |
Definition at line 1089 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::DisplayMenu().
| void BDRingBuffer::SubmitOverlay | ( | const bd_overlay_s *const | overlay | ) |
Definition at line 1097 of file bdringbuffer.cpp.
Referenced by HandleOverlayCallback().
| uint32_t BDRingBuffer::GetNumTitles | ( | void | ) | const [inline] |
Definition at line 69 of file bdringbuffer.h.
Referenced by MythBDPlayer::GetNumTitles(), and GetTitleDuration().
| int BDRingBuffer::GetCurrentTitle | ( | void | ) |
Definition at line 518 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::GetCurrentTitle().
| uint64_t BDRingBuffer::GetCurrentAngle | ( | void | ) | const [inline] |
Definition at line 71 of file bdringbuffer.h.
Referenced by MythBDPlayer::GetCurrentAngle().
| int BDRingBuffer::GetTitleDuration | ( | int | title | ) |
Definition at line 526 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::GetTitleDuration().
| uint64_t BDRingBuffer::GetTitleSize | ( | void | ) | const [inline] |
Definition at line 74 of file bdringbuffer.h.
| uint64_t BDRingBuffer::GetTotalTimeOfTitle | ( | void | ) | const [inline] |
Definition at line 76 of file bdringbuffer.h.
Referenced by DecoderBase::PosMapFromDb(), and DecoderBase::SyncPositionMap().
| uint64_t BDRingBuffer::GetCurrentTime | ( | void | ) | [inline] |
Definition at line 77 of file bdringbuffer.h.
Referenced by AvFormatDecoderBD::BDFindPosition(), and AvFormatDecoderBD::UpdateFramesPlayed().
| long long BDRingBuffer::GetReadPosition | ( | void | ) | const [virtual] |
Returns how far into the file we have read.
Implements RingBuffer.
Definition at line 478 of file bdringbuffer.cpp.
| uint64_t BDRingBuffer::GetTotalReadPosition | ( | void | ) |
Definition at line 726 of file bdringbuffer.cpp.
Referenced by DecoderBase::PosMapFromDb().
| uint32_t BDRingBuffer::GetNumChapters | ( | void | ) |
Definition at line 485 of file bdringbuffer.cpp.
Referenced by GetChapterStartFrame(), GetChapterStartTime(), MythBDPlayer::GetNumChapters(), and UpdateTitleInfo().
| uint32_t BDRingBuffer::GetCurrentChapter | ( | void | ) |
Definition at line 493 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::GetCurrentChapter().
| uint64_t BDRingBuffer::GetNumAngles | ( | void | ) | [inline] |
Definition at line 82 of file bdringbuffer.h.
Referenced by MythBDPlayer::GetNumAngles().
Definition at line 500 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::GetChapterTimes(), and UpdateTitleInfo().
Definition at line 509 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::GetChapter(), and UpdateTitleInfo().
| bool BDRingBuffer::IsOpen | ( | void | ) | const [inline, virtual] |
Returns true if open for either reading or writing.
Implements RingBuffer.
Definition at line 85 of file bdringbuffer.h.
Referenced by MythBDPlayer::GetCurrentAngle(), MythBDPlayer::GetCurrentChapter(), MythBDPlayer::GetCurrentTitle(), MythBDPlayer::GetNumAngles(), MythBDPlayer::GetNumChapters(), MythBDPlayer::GetNumTitles(), and MythBDPlayer::GetTitleDuration().
| bool BDRingBuffer::IsHDMVNavigation | ( | void | ) | const [inline] |
Definition at line 86 of file bdringbuffer.h.
Referenced by TV::FillOSDMenuNavigate(), MythBDPlayer::GetNumTitles(), MythBDPlayer::NextTitle(), MythBDPlayer::PrevTitle(), and MythBDPlayer::SwitchTitle().
| bool BDRingBuffer::IsInMenu | ( | void | ) | const [inline] |
Definition at line 87 of file bdringbuffer.h.
Referenced by HandleAction().
| bool BDRingBuffer::IsInStillFrame | ( | void | ) | const |
Definition at line 1036 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::DisplayPauseFrame(), and MythBDPlayer::VideoLoop().
| virtual bool BDRingBuffer::IsInDiscMenuOrStillFrame | ( | void | ) | const [inline, virtual] |
Reimplemented from RingBuffer.
Definition at line 89 of file bdringbuffer.h.
| bool BDRingBuffer::TitleChanged | ( | void | ) |
Definition at line 707 of file bdringbuffer.cpp.
Referenced by AvFormatDecoderBD::StreamChangeCheck().
| void BDRingBuffer::GetDescForPos | ( | QString & | desc | ) |
Definition at line 166 of file bdringbuffer.cpp.
| double BDRingBuffer::GetFrameRate | ( | void | ) |
Definition at line 759 of file bdringbuffer.cpp.
Referenced by GetChapterStartFrame(), DecoderBase::PosMapFromDb(), and UpdateTitleInfo().
| int BDRingBuffer::GetAudioLanguage | ( | uint | streamID | ) |
Definition at line 793 of file bdringbuffer.cpp.
Referenced by AvFormatDecoderBD::GetAudioLanguage().
| int BDRingBuffer::GetSubtitleLanguage | ( | uint | streamID | ) |
Definition at line 810 of file bdringbuffer.cpp.
Referenced by AvFormatDecoderBD::GetSubtitleLanguage().
Reimplemented from RingBuffer.
Definition at line 176 of file bdringbuffer.cpp.
| bool BDRingBuffer::OpenFile | ( | const QString & | lfilename, | |
| uint | retry_ms = kDefaultOpenTimeout | |||
| ) | [virtual] |
Opens a file for reading.
| lfilename | Name of file to read | |
| retry_ms | How many ms to retry reading the file after the first try before giving up. |
Implements RingBuffer.
Definition at line 273 of file bdringbuffer.cpp.
Referenced by BDRingBuffer().
| void BDRingBuffer::close | ( | void | ) |
Definition at line 58 of file bdringbuffer.cpp.
Referenced by OpenFile(), and ~BDRingBuffer().
jump to a Blu-ray root or popup menu
Definition at line 867 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::GoToMenu().
Definition at line 542 of file bdringbuffer.cpp.
Referenced by OpenFile(), and MythBDPlayer::SwitchTitle().
Definition at line 555 of file bdringbuffer.cpp.
Referenced by HandleBDEvent().
Definition at line 714 of file bdringbuffer.cpp.
Referenced by MythBDPlayer::SwitchAngle().
| int BDRingBuffer::safe_read | ( | void * | data, | |
| uint | sz | |||
| ) | [virtual] |
Implements RingBuffer.
Definition at line 733 of file bdringbuffer.cpp.
| long long BDRingBuffer::Seek | ( | long long | pos, | |
| int | whence, | |||
| bool | has_lock | |||
| ) | [virtual] |
Seeks to a particular position in the file.
Implements RingBuffer.
Definition at line 81 of file bdringbuffer.cpp.
Definition at line 158 of file bdringbuffer.cpp.
| void BDRingBuffer::WaitForPlayer | ( | void | ) | [private] |
Definition at line 1041 of file bdringbuffer.cpp.
Referenced by HandleBDEvent().
| bool BDRingBuffer::UpdateTitleInfo | ( | void | ) | [private] |
Definition at line 614 of file bdringbuffer.cpp.
Referenced by SwitchPlaylist(), and SwitchTitle().
| BLURAY_TITLE_INFO * BDRingBuffer::GetTitleInfo | ( | uint32_t | index | ) | [private] |
Definition at line 571 of file bdringbuffer.cpp.
Referenced by GetTitleDuration(), OpenFile(), and SwitchTitle().
| BLURAY_TITLE_INFO * BDRingBuffer::GetPlaylistInfo | ( | uint32_t | index | ) | [private] |
Definition at line 594 of file bdringbuffer.cpp.
Referenced by SwitchPlaylist().
Definition at line 841 of file bdringbuffer.cpp.
Referenced by GoToMenu(), and HandleAction().
Definition at line 854 of file bdringbuffer.cpp.
| bool BDRingBuffer::HandleBDEvents | ( | void | ) | [private] |
Definition at line 900 of file bdringbuffer.cpp.
Referenced by safe_read().
| void BDRingBuffer::HandleBDEvent | ( | BD_EVENT & | event | ) | [private] |
Definition at line 915 of file bdringbuffer.cpp.
Referenced by HandleBDEvents(), and safe_read().
BLURAY* BDRingBuffer::bdnav [private] |
Definition at line 132 of file bdringbuffer.h.
Referenced by ClickButton(), close(), GetCurrentChapter(), GetFrameRate(), GetPlaylistInfo(), GetReadPosition(), GetTitleInfo(), GetTotalReadPosition(), GoToMenu(), HandleBDEvent(), HandleBDEvents(), OpenFile(), PressButton(), safe_read(), Seek(), StartFromBeginning(), SwitchAngle(), SwitchPlaylist(), SwitchTitle(), and UpdateTitleInfo().
meta_dl* BDRingBuffer::m_metaDiscLibrary [private] |
Definition at line 133 of file bdringbuffer.h.
Referenced by GetNameAndSerialNum(), and OpenFile().
bool BDRingBuffer::m_isHDMVNavigation [private] |
Definition at line 134 of file bdringbuffer.h.
Referenced by GoToMenu(), HandleAction(), OpenFile(), safe_read(), and StartFromBeginning().
bool BDRingBuffer::m_tryHDMVNavigation [private] |
Definition at line 135 of file bdringbuffer.h.
Referenced by BDRingBuffer(), and OpenFile().
bool BDRingBuffer::m_topMenuSupported [private] |
Definition at line 136 of file bdringbuffer.h.
Referenced by GoToMenu(), and OpenFile().
bool BDRingBuffer::m_firstPlaySupported [private] |
Definition at line 137 of file bdringbuffer.h.
Referenced by OpenFile().
uint32_t BDRingBuffer::m_numTitles [private] |
Definition at line 139 of file bdringbuffer.h.
Referenced by GetTitleInfo(), and OpenFile().
uint32_t BDRingBuffer::m_mainTitle [private] |
Definition at line 140 of file bdringbuffer.h.
Referenced by OpenFile().
uint64_t BDRingBuffer::m_currentTitleLength [private] |
Definition at line 141 of file bdringbuffer.h.
Referenced by OpenFile(), and UpdateTitleInfo().
Definition at line 142 of file bdringbuffer.h.
Referenced by GetAudioLanguage(), GetChapterStartFrame(), GetChapterStartTime(), GetCurrentTitle(), GetDescForPos(), GetFrameRate(), GetNumChapters(), GetSubtitleLanguage(), OpenFile(), SwitchPlaylist(), SwitchTitle(), and UpdateTitleInfo().
uint64_t BDRingBuffer::m_titlesize [private] |
Definition at line 143 of file bdringbuffer.h.
Referenced by OpenFile(), and UpdateTitleInfo().
Definition at line 144 of file bdringbuffer.h.
Referenced by OpenFile(), and UpdateTitleInfo().
uint64_t BDRingBuffer::m_currentTime [private] |
Definition at line 145 of file bdringbuffer.h.
Referenced by OpenFile(), and safe_read().
int BDRingBuffer::m_currentAngle [private] |
Definition at line 147 of file bdringbuffer.h.
Referenced by HandleBDEvent(), OpenFile(), SwitchAngle(), and UpdateTitleInfo().
int BDRingBuffer::m_currentTitle [private] |
Definition at line 148 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
int BDRingBuffer::m_currentPlaylist [private] |
Definition at line 149 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
int BDRingBuffer::m_currentPlayitem [private] |
Definition at line 150 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
int BDRingBuffer::m_currentChapter [private] |
Definition at line 151 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
int BDRingBuffer::m_currentAudioStream [private] |
Definition at line 153 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
int BDRingBuffer::m_currentIGStream [private] |
Definition at line 154 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
int BDRingBuffer::m_currentPGTextSTStream [private] |
Definition at line 155 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
int BDRingBuffer::m_currentSecondaryAudioStream [private] |
Definition at line 156 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
int BDRingBuffer::m_currentSecondaryVideoStream [private] |
Definition at line 157 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
bool BDRingBuffer::m_PGTextSTEnabled [private] |
Definition at line 159 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
bool BDRingBuffer::m_secondaryAudioEnabled [private] |
Definition at line 160 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
bool BDRingBuffer::m_secondaryVideoEnabled [private] |
Definition at line 161 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
Definition at line 162 of file bdringbuffer.h.
Referenced by HandleBDEvent(), and OpenFile().
bool BDRingBuffer::m_titleChanged [private] |
Definition at line 164 of file bdringbuffer.h.
Referenced by TitleChanged(), and UpdateTitleInfo().
bool BDRingBuffer::m_playerWait [private] |
Definition at line 166 of file bdringbuffer.h.
Referenced by WaitForPlayer().
bool BDRingBuffer::m_ignorePlayerWait [private] |
Definition at line 167 of file bdringbuffer.h.
Referenced by WaitForPlayer().
QMutex BDRingBuffer::m_overlayLock [private] |
Definition at line 169 of file bdringbuffer.h.
Referenced by ClearOverlays(), GetOverlay(), and SubmitOverlay().
QList<BDOverlay*> BDRingBuffer::m_overlayImages [private] |
Definition at line 170 of file bdringbuffer.h.
Referenced by ClearOverlays(), GetOverlay(), and SubmitOverlay().
uint8_t BDRingBuffer::m_stillTime [private] |
Definition at line 172 of file bdringbuffer.h.
Referenced by IsInStillFrame(), OpenFile(), and UpdateTitleInfo().
uint8_t BDRingBuffer::m_stillMode [private] |
Definition at line 173 of file bdringbuffer.h.
Referenced by IsInStillFrame(), OpenFile(), and UpdateTitleInfo().
volatile bool BDRingBuffer::m_inMenu [private] |
Definition at line 174 of file bdringbuffer.h.
Referenced by OpenFile(), and SubmitOverlay().
QHash<uint32_t,BLURAY_TITLE_INFO*> BDRingBuffer::m_cachedTitleInfo [private] |
Definition at line 176 of file bdringbuffer.h.
Referenced by close(), and GetTitleInfo().
QHash<uint32_t,BLURAY_TITLE_INFO*> BDRingBuffer::m_cachedPlaylistInfo [private] |
Definition at line 177 of file bdringbuffer.h.
Referenced by close(), and GetPlaylistInfo().
QMutex BDRingBuffer::m_infoLock [private] |
Definition at line 178 of file bdringbuffer.h.
Referenced by close(), GetAudioLanguage(), GetChapterStartFrame(), GetChapterStartTime(), GetCurrentTitle(), GetDescForPos(), GetFrameRate(), GetNumChapters(), GetPlaylistInfo(), GetSubtitleLanguage(), GetTitleDuration(), GetTitleInfo(), OpenFile(), SwitchPlaylist(), SwitchTitle(), and UpdateTitleInfo().
QThread* BDRingBuffer::m_mainThread [private] |
Definition at line 180 of file bdringbuffer.h.
Referenced by BDRingBuffer(), and ProgressUpdate().
1.6.3