MythTV
master
|
#include <libmythtv/captions/cc608decoder.h>
Public Member Functions | |
CC608Decoder (CC608Input *ccr) | |
CC608Decoder (const CC608Decoder &rhs) | |
~CC608Decoder () | |
void | FormatCC (std::chrono::milliseconds tc, int code1, int code2) |
void | FormatCCField (std::chrono::milliseconds tc, size_t field, int data) |
bool | FalseDup (std::chrono::milliseconds tc, int field, int data) |
void | DecodeVPS (const unsigned char *buf) |
void | DecodeWSS (const unsigned char *buf) |
void | SetIgnoreTimecode (bool val) |
uint | GetRatingSystems (bool future) const |
uint | GetRating (uint i, bool future) const |
QString | GetRatingString (uint i, bool future) const |
QString | GetProgramName (bool future) const |
QString | GetProgramType (bool future) const |
QString | GetXDS (const QString &key) const |
void | GetServices (std::chrono::seconds seconds, CC608Seen &seen) const |
Static Public Member Functions | |
static QString | ToASCII (const QString &cc608, bool suppress_unknown) |
Private Member Functions | |
QChar | CharCC (int code) const |
void | ResetCC (size_t mode) |
void | BufferCC (size_t mode, int len, int clr) |
int | NewRowCC (size_t mode, int len) |
QString | XDSDecodeString (const std::vector< unsigned char > &buf, uint start, uint end) const |
bool | XDSDecode (int field, int b1, int b2) |
bool | XDSPacketParseProgram (const std::vector< unsigned char > &xds_buf, bool future) |
bool | XDSPacketParseChannel (const std::vector< unsigned char > &xds_buf) |
void | XDSPacketParse (const std::vector< unsigned char > &xds_buf) |
bool | XDSPacketCRC (const std::vector< unsigned char > &xds_buf) |
Definition at line 49 of file cc608decoder.h.
|
explicit |
Definition at line 24 of file cc608decoder.cpp.
CC608Decoder::CC608Decoder | ( | const CC608Decoder & | rhs | ) |
CC608Decoder::~CC608Decoder | ( | ) |
Definition at line 45 of file cc608decoder.cpp.
void CC608Decoder::FormatCC | ( | std::chrono::milliseconds | tc, |
int | code1, | ||
int | code2 | ||
) |
Definition at line 50 of file cc608decoder.cpp.
Referenced by AvFormatDecoder::DecodeCCx08(), and NuppelVideoRecorder::FormatCC().
void CC608Decoder::FormatCCField | ( | std::chrono::milliseconds | tc, |
size_t | field, | ||
int | data | ||
) |
Definition at line 101 of file cc608decoder.cpp.
Referenced by AvFormatDecoder::DecodeCCx08(), FormatCC(), and AvFormatDecoder::ProcessVBIDataPacket().
bool CC608Decoder::FalseDup | ( | std::chrono::milliseconds | tc, |
int | field, | ||
int | data | ||
) |
Definition at line 547 of file cc608decoder.cpp.
Referenced by FormatCCField().
void CC608Decoder::DecodeVPS | ( | const unsigned char * | buf | ) |
Definition at line 890 of file cc608decoder.cpp.
Referenced by AvFormatDecoder::ProcessVBIDataPacket().
void CC608Decoder::DecodeWSS | ( | const unsigned char * | buf | ) |
Definition at line 928 of file cc608decoder.cpp.
Referenced by AvFormatDecoder::ProcessVBIDataPacket().
|
inline |
Definition at line 63 of file cc608decoder.h.
Referenced by AvFormatDecoder::AvFormatDecoder().
Definition at line 1012 of file cc608decoder.cpp.
Referenced by GetXDS().
Definition at line 1018 of file cc608decoder.cpp.
Referenced by GetRatingString(), and XDSPacketParseProgram().
Definition at line 1024 of file cc608decoder.cpp.
Referenced by GetXDS(), and XDSPacketParseProgram().
QString CC608Decoder::GetProgramName | ( | bool | future | ) | const |
Definition at line 1060 of file cc608decoder.cpp.
Referenced by GetXDS(), and XDSPacketParseProgram().
QString CC608Decoder::GetProgramType | ( | bool | future | ) | const |
Definition at line 1066 of file cc608decoder.cpp.
Referenced by GetXDS(), and XDSPacketParseProgram().
QString CC608Decoder::GetXDS | ( | const QString & | key | ) | const |
Definition at line 1082 of file cc608decoder.cpp.
Referenced by AvFormatDecoder::GetXDS().
void CC608Decoder::GetServices | ( | std::chrono::seconds | seconds, |
CC608Seen & | seen | ||
) | const |
Definition at line 56 of file cc608decoder.cpp.
Referenced by AvFormatDecoder::UpdateCaptionTracksFromStreams().
|
static |
Definition at line 629 of file cc608decoder.cpp.
Referenced by BufferCC().
|
inlineprivate |
Definition at line 78 of file cc608decoder.h.
Referenced by FormatCCField(), XDSDecode(), and XDSDecodeString().
|
private |
Definition at line 613 of file cc608decoder.cpp.
Referenced by FormatCCField().
|
private |
Definition at line 672 of file cc608decoder.cpp.
Referenced by FormatCCField(), and NewRowCC().
|
private |
Definition at line 740 of file cc608decoder.cpp.
Referenced by FormatCCField().
|
private |
Definition at line 969 of file cc608decoder.cpp.
Referenced by XDSPacketParse(), XDSPacketParseChannel(), and XDSPacketParseProgram().
|
private |
Definition at line 1132 of file cc608decoder.cpp.
Referenced by FormatCCField().
|
private |
Definition at line 1255 of file cc608decoder.cpp.
Referenced by XDSPacketParse().
|
private |
Definition at line 1420 of file cc608decoder.cpp.
Referenced by XDSPacketParse().
|
private |
Definition at line 1201 of file cc608decoder.cpp.
Referenced by XDSDecode().
|
private |
Definition at line 1234 of file cc608decoder.cpp.
Referenced by XDSDecode().
|
private |
Definition at line 93 of file cc608decoder.h.
Referenced by BufferCC().
Definition at line 95 of file cc608decoder.h.
Referenced by FalseDup(), FormatCCField(), and SetIgnoreTimecode().
|
private |
Definition at line 97 of file cc608decoder.h.
Referenced by BufferCC(), and GetServices().
|
private |
Definition at line 100 of file cc608decoder.h.
Referenced by FalseDup(), and FormatCCField().
|
private |
Definition at line 101 of file cc608decoder.h.
Referenced by FalseDup(), and FormatCCField().
|
private |
Definition at line 102 of file cc608decoder.h.
Referenced by FalseDup(), and FormatCCField().
|
private |
Definition at line 103 of file cc608decoder.h.
Referenced by FalseDup(), and FormatCCField().
|
private |
Definition at line 104 of file cc608decoder.h.
Referenced by FormatCCField().
|
private |
Definition at line 105 of file cc608decoder.h.
Referenced by FormatCCField(), and XDSDecode().
|
private |
Definition at line 106 of file cc608decoder.h.
Referenced by FormatCCField().
|
private |
Definition at line 109 of file cc608decoder.h.
Referenced by FormatCCField(), and NewRowCC().
|
private |
Definition at line 110 of file cc608decoder.h.
Referenced by FormatCCField(), and NewRowCC().
|
private |
Definition at line 111 of file cc608decoder.h.
Referenced by FormatCCField(), and NewRowCC().
|
private |
Definition at line 112 of file cc608decoder.h.
Referenced by FormatCCField(), and NewRowCC().
|
private |
Definition at line 113 of file cc608decoder.h.
Referenced by BufferCC(), and FormatCCField().
|
private |
Definition at line 114 of file cc608decoder.h.
Referenced by BufferCC(), FormatCCField(), NewRowCC(), and ResetCC().
|
private |
Definition at line 115 of file cc608decoder.h.
Referenced by FormatCCField(), NewRowCC(), and ResetCC().
|
private |
Definition at line 116 of file cc608decoder.h.
Referenced by BufferCC(), FormatCCField(), and ResetCC().
|
private |
Definition at line 117 of file cc608decoder.h.
Referenced by BufferCC(), FormatCCField(), and NewRowCC().
|
private |
Definition at line 118 of file cc608decoder.h.
Referenced by BufferCC(), FormatCCField(), NewRowCC(), and ResetCC().
|
private |
Definition at line 119 of file cc608decoder.h.
Referenced by BufferCC(), FormatCCField(), and ResetCC().
|
private |
Definition at line 120 of file cc608decoder.h.
Referenced by BufferCC(), FormatCCField(), and ResetCC().
|
private |
Definition at line 121 of file cc608decoder.h.
Referenced by BufferCC(), FormatCCField(), NewRowCC(), and ResetCC().
|
private |
Definition at line 124 of file cc608decoder.h.
Referenced by CC608Decoder(), and CharCC().
|
private |
Definition at line 127 of file cc608decoder.h.
Referenced by BufferCC(), and ~CC608Decoder().
|
private |
Definition at line 128 of file cc608decoder.h.
Referenced by FormatCCField().
|
private |
Definition at line 129 of file cc608decoder.h.
Referenced by FormatCCField().
|
private |
Definition at line 132 of file cc608decoder.h.
Referenced by DecodeVPS().
|
private |
Definition at line 133 of file cc608decoder.h.
Referenced by DecodeVPS().
|
private |
Definition at line 134 of file cc608decoder.h.
Referenced by DecodeVPS().
|
private |
Definition at line 137 of file cc608decoder.h.
Referenced by DecodeWSS().
Definition at line 138 of file cc608decoder.h.
Referenced by DecodeWSS().
|
private |
Definition at line 140 of file cc608decoder.h.
Referenced by XDSDecode().
|
private |
Definition at line 141 of file cc608decoder.h.
Referenced by XDSDecode().
|
private |
Definition at line 142 of file cc608decoder.h.
Referenced by XDSPacketCRC().
|
private |
Definition at line 143 of file cc608decoder.h.
Referenced by XDSPacketCRC().
|
mutableprivate |
Definition at line 145 of file cc608decoder.h.
Referenced by GetProgramName(), GetProgramType(), GetRating(), GetRatingString(), GetRatingSystems(), GetXDS(), and XDSPacketParse().
|
private |
Definition at line 146 of file cc608decoder.h.
Referenced by GetRatingSystems(), and XDSPacketParseProgram().
|
private |
Definition at line 147 of file cc608decoder.h.
Referenced by GetRating(), GetRatingString(), and XDSPacketParseProgram().
|
private |
Definition at line 148 of file cc608decoder.h.
Referenced by GetProgramName(), and XDSPacketParseProgram().
|
private |
Definition at line 149 of file cc608decoder.h.
Referenced by GetProgramType(), and XDSPacketParseProgram().
|
private |
Definition at line 151 of file cc608decoder.h.
Referenced by GetXDS(), and XDSPacketParseChannel().
|
private |
Definition at line 152 of file cc608decoder.h.
Referenced by GetXDS(), and XDSPacketParseChannel().
|
private |
Definition at line 153 of file cc608decoder.h.
Referenced by GetXDS(), and XDSPacketParseChannel().
|
private |
Definition at line 155 of file cc608decoder.h.
Referenced by CC608Decoder(), and GetProgramType().