#include <ntv2caption608message.h>
|
static std::ostream & | DumpMemory (const void *pInStartAddress, const size_t inByteCount, std::ostream &inOutputStream=std::cout, const size_t inRadix=16, const size_t inBytesPerGroup=4, const size_t inGroupsPerLine=8, const size_t inAddressRadix=16, const bool inShowAscii=true, const size_t inAddrOffset=0) |
| Dumps a contiguous chunk of memory in hex, octal, decimal, with or without ascii, to the given output stream. More...
|
|
static std::string | HexDump32Bytes (const void *pInStartAddress, const size_t inByteCount, const size_t inLimitBytes=32) |
|
static std::ostream & | DumpYBytes_2vuy (const UByte *pInVideoLine, std::ostream &inOutputStream, const unsigned inFromPixel=0, const unsigned inToPixel=719, const bool inShowRuler=true, const unsigned inHiliteRangeFrom=9999, const unsigned inHiliteRangeTo=9999) |
| Dumps the luma values in hexadecimal from the given line of '2vuy' video to the given output stream. More...
|
|
static std::ostream & | DumpYBytes_2vuy (const std::vector< uint8_t > &inVideoLine, std::ostream &inOutputStream, const size_t inFromPixel=0, const size_t inToPixel=719, const bool inShowRuler=true, const size_t inHiliteRangeFrom=9999, const size_t inHiliteRangeTo=9999) |
| Dumps the luma values in hexadecimal from the given line of '2vuy' video to the given output stream. More...
|
|
static std::string | GetSeverityLabel (const unsigned inSeverity) |
|
NTV2CaptionLogMask | mLogMask |
| Determines what messages are logged. More...
|
|
std::string | mLogLabel |
| My debug label. More...
|
|
void * | mpLabelLock |
| Protects my debug label from simultaneous access by more than one thread. More...
|
|
Definition at line 36 of file ntv2caption608message.h.
◆ CNTV2Caption608Message()
◆ ~CNTV2Caption608Message()
virtual CNTV2Caption608Message::~CNTV2Caption608Message |
( |
| ) |
|
|
inlinevirtual |
◆ Add608Command()
virtual bool CNTV2Caption608Message::Add608Command |
( |
const UWord |
inCommand | ) |
|
|
protectedvirtual |
Adds the given CEA-608 command to my internal buffer.
- Parameters
-
[in] | inCommand | Specifies the CEA-608 command to be added to my internal buffer. |
- Returns
- True if successful; otherwise False.
◆ Add608String()
virtual bool CNTV2Caption608Message::Add608String |
( |
const std::string & |
inMessageStr | ) |
|
|
protectedvirtual |
Adds the contents of the given message string to my internal buffer.
- Parameters
-
[in] | inMessageStr | Specifies the message character data to be added to my internal buffer. |
- Returns
- True if successful; otherwise False.
- Note
- If the entire message string won't fit into my buffer, none of its characters will be added.
◆ AddBytePair()
virtual bool CNTV2Caption608Message::AddBytePair |
( |
const UByte |
inByte1, |
|
|
const UByte |
inByte2 |
|
) |
| |
|
protectedvirtual |
Adds the given pair of bytes into my internal buffer.
- Parameters
-
[in] | inByte1 | Specifies the first byte to add to my internal buffer. |
[in] | inByte2 | Specifies the second byte to add to my internal buffer. |
- Returns
- True if successful; otherwise False.
◆ Create()
The maximum number of bytes we can handle in one "message".
◆ GetBytesRemaining()
virtual UWord CNTV2Caption608Message::GetBytesRemaining |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ GetChannel()
◆ GetLength()
virtual UWord CNTV2Caption608Message::GetLength |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ GetReadPosition()
virtual UWord CNTV2Caption608Message::GetReadPosition |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ GetRemainingByteCapacity()
virtual UWord CNTV2Caption608Message::GetRemainingByteCapacity |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ GetType()
◆ HasData()
virtual bool CNTV2Caption608Message::HasData |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ IsData()
virtual bool CNTV2Caption608Message::IsData |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ IsDelay()
virtual bool CNTV2Caption608Message::IsDelay |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ IsHighPriority()
virtual bool CNTV2Caption608Message::IsHighPriority |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ IsLowPriority()
virtual bool CNTV2Caption608Message::IsLowPriority |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ IsPastEnd()
virtual bool CNTV2Caption608Message::IsPastEnd |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
Returns "true" if my internal read position is past the end; otherwise returns "false".
Definition at line 106 of file ntv2caption608message.h.
◆ Print()
virtual std::ostream& CNTV2Caption608Message::Print |
( |
std::ostream & |
inOutStream | ) |
const |
|
virtual |
Prints a human-readable representation of me to the given output stream.
- Parameters
-
[in] | inOutStream | Specifies the output stream to receive my human-readable representation. |
- Returns
- The output stream that received my human-readable representation.
◆ ReadNext()
virtual UByte CNTV2Caption608Message::ReadNext |
( |
void |
| ) |
|
|
protectedvirtual |
Returns the next data byte from my buffer. If my read position is past the end, I return zero.
◆ SkipNext()
virtual void CNTV2Caption608Message::SkipNext |
( |
void |
| ) |
|
|
inlineprotectedvirtual |
◆ CNTV2Caption608MessageQueue
◆ CNTV2CaptionEncoder608
◆ NTV2_CC608_CaptionMsgMaxBytes
const UWord CNTV2Caption608Message::NTV2_CC608_CaptionMsgMaxBytes = 256 |
|
staticprotected |
The documentation for this class was generated from the following file: