MythTV
master
|
Represents one subtitle record. More...
#include <mythccextractorplayer.h>
Public Member Functions | |
OneSubtitle ()=default | |
Public Attributes | |
std::chrono::milliseconds | m_startTime { 0 } |
Time we have to start showing subtitle, msec. More... | |
std::chrono::milliseconds | m_length { -1ms } |
Time we have to show subtitle, msec. More... | |
bool | m_isText { true } |
Is this a text subtitle. More... | |
QStringList | m_text |
Lines of text of subtitles. More... | |
QImage | m_img |
Image of subtitle. More... | |
QPoint | m_imgShift { 0,0 } |
Shift of image on the screen. More... | |
Static Public Attributes | |
static constexpr std::chrono::milliseconds | kDefaultLength { 750ms } |
Represents one subtitle record.
Definition at line 29 of file mythccextractorplayer.h.
|
default |
std::chrono::milliseconds OneSubtitle::m_startTime { 0 } |
Time we have to start showing subtitle, msec.
Definition at line 33 of file mythccextractorplayer.h.
Referenced by SRTWriter::AddSubtitle(), MythCCExtractorPlayer::IngestDVBSubtitles(), MythCCExtractorPlayer::IngestSubtitle(), and MythCCExtractorPlayer::ProcessDVBSubtitles().
std::chrono::milliseconds OneSubtitle::m_length { -1ms } |
Time we have to show subtitle, msec.
Definition at line 35 of file mythccextractorplayer.h.
Referenced by SRTWriter::AddSubtitle(), MythCCExtractorPlayer::IngestDVBSubtitles(), MythCCExtractorPlayer::IngestSubtitle(), and MythCCExtractorPlayer::ProcessDVBSubtitles().
Is this a text subtitle.
Definition at line 37 of file mythccextractorplayer.h.
QStringList OneSubtitle::m_text |
Lines of text of subtitles.
Definition at line 39 of file mythccextractorplayer.h.
Referenced by SRTWriter::AddSubtitle(), and MythCCExtractorPlayer::IngestSubtitle().
QImage OneSubtitle::m_img |
Image of subtitle.
Definition at line 41 of file mythccextractorplayer.h.
Referenced by MythCCExtractorPlayer::IngestDVBSubtitles(), MythCCExtractorPlayer::IngestSubtitle(), and MythCCExtractorPlayer::ProcessDVBSubtitles().
QPoint OneSubtitle::m_imgShift { 0,0 } |
Shift of image on the screen.
Definition at line 43 of file mythccextractorplayer.h.
Referenced by MythCCExtractorPlayer::IngestDVBSubtitles().
|
staticconstexpr |
Definition at line 47 of file mythccextractorplayer.h.
Referenced by MythCCExtractorPlayer::Process608Captions(), MythCCExtractorPlayer::Process708Captions(), MythCCExtractorPlayer::ProcessDVBSubtitles(), and MythCCExtractorPlayer::ProcessTeletext().