|
| SCCSource (const double inCharsPerMinute, istream *pInInputStream, const string &inFilePath, const bool inDeleteInputStream=(0)) |
|
virtual | ~SCCSource () |
|
virtual bool | EnqueueCCDataToFrame (CNTV2CaptionEncoder608Ptr inEncoder, const uint32_t inFrameNum) |
| Enqueues next-available CC data into the given encoder for the given frame number. More...
|
|
| CaptionSource (const double inCharsPerMinute, istream *pInInputStream, const string &inFilePath, const bool inDeleteInputStream=(0)) |
| My only constructor. More...
|
|
virtual | ~CaptionSource () |
| My destructor. If was told at construction time that I was to be responsible for deleting the input stream, then I'll delete it here. More...
|
|
virtual string | GetNextCaptionCharacter (void) |
| Returns the next character read from my input stream. If my text input stream has reached EOF, I set my "finished" flag and return zero. More...
|
|
virtual string | GetNextCaptionWord (bool &outLineBreak) |
| Returns the next "word" read from my input stream. If my text input stream has reached EOF, I set my "finished" flag and return an empty string. If the returned word is longer than my maximum allowable word length, the string is truncated to that maximum length. More...
|
|
virtual string | GetNextCaptionRow (const bool inBreakLinesOnNewLineChars=(0)) |
| Returns the next "sentence" read from my input stream. I build the "sentence" by reading "words" using my GetNextCaptionWord function. I always try to return a sentence as close to my designated maximum sentence length as possible. In Text Mode, there's no limit to the length of the row text. More...
|
|
virtual void | SetTextMode (const bool inIsTextMode) |
| Sets my text mode. If I'm in text mode, I don't do any word breaking or line/row truncation. More...
|
|
Definition at line 630 of file ntv2ccplayer.cpp.
◆ SCCSource()
SCCSource::SCCSource |
( |
const double |
inCharsPerMinute, |
|
|
istream * |
pInInputStream, |
|
|
const string & |
inFilePath, |
|
|
const bool |
inDeleteInputStream = (0) |
|
) |
| |
|
explicit |
◆ ~SCCSource()
virtual SCCSource::~SCCSource |
( |
| ) |
|
|
inlinevirtual |
◆ EnqueueCCDataToFrame()
Enqueues next-available CC data into the given encoder for the given frame number.
Definition at line 735 of file ntv2ccplayer.cpp.
The documentation for this class was generated from the following file:
- /home/tcbuilder/buildAgent/work/df8e8cce5bebfd58/libajantv2/demos/ntv2ccplayer/ntv2ccplayer.cpp