#include <cc608decoder.h>
Definition at line 39 of file cc608decoder.h.
Public Member Functions | |
| CC608Decoder (CC608Reader *ccr) | |
| ~CC608Decoder () | |
| void | FormatCC (int tc, int code1, int code2) |
| void | FormatCCField (int tc, int field, int data) |
| int | FalseDup (int 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 |
Private Member Functions | |
| QChar | CharCC (int code) const |
| void | ResetCC (int mode) |
| void | BufferCC (int mode, int len, int clr) |
| int | NewRowCC (int mode, int len) |
| QString | XDSDecodeString (const vector< unsigned char > &, uint string, uint end) const |
| void | XDSDecode (int field, int b1, int b2) |
| bool | XDSPacketParseProgram (const vector< unsigned char > &xds_buf, bool future) |
| bool | XDSPacketParseChannel (const vector< unsigned char > &xds_buf) |
| void | XDSPacketParse (const vector< unsigned char > &xds_buf) |
| bool | XDSPacketCRC (const vector< unsigned char > &xds_buf) |
Private Attributes | |
| CC608Reader * | reader |
| bool | ignore_time_code |
| int | badvbi [2] |
| int | lasttc [2] |
| int | lastcode [2] |
| int | lastcodetc [2] |
| int | ccmode [2] |
| int | xds [2] |
| int | txtmode [4] |
| int | lastrow [8] |
| int | newrow [8] |
| int | newcol [8] |
| int | timecode [8] |
| int | row [8] |
| int | col [8] |
| int | rowcount [8] |
| int | style [8] |
| int | linecont [8] |
| int | resumetext [8] |
| int | lastclr [8] |
| QString | ccbuf [8] |
| QChar | stdchar [128] |
| unsigned char * | rbuf |
| char | vps_pr_label [20] |
| char | vps_label [20] |
| int | vps_l |
| uint | wss_flags |
| bool | wss_valid |
| vector< unsigned char > | xds_buf |
| uint | xds_crc_passed |
| uint | xds_crc_failed |
| QMutex | xds_lock |
| uint | xds_rating_systems [2] |
| uint | xds_rating [2][4] |
| QString | xds_program_name [2] |
| vector< uint > | xds_program_type [2] |
| QString | xds_net_call |
| QString | xds_net_name |
| uint | xds_tsid |
| QString | xds_program_type_string [96] |
| CC608Decoder::CC608Decoder | ( | CC608Reader * | ccr | ) |
Definition at line 17 of file cc608decoder.cpp.
| CC608Decoder::~CC608Decoder | ( | void | ) |
Definition at line 84 of file cc608decoder.cpp.
| void CC608Decoder::FormatCC | ( | int | tc, | |
| int | code1, | |||
| int | code2 | |||
| ) |
| void CC608Decoder::FormatCCField | ( | int | tc, | |
| int | field, | |||
| int | data | |||
| ) |
Definition at line 125 of file cc608decoder.cpp.
Referenced by decode_cc_dvd(), AvFormatDecoder::DecodeDTVCC(), FormatCC(), AvFormatDecoder::GetFrame(), and AvFormatDecoder::ProcessVBIDataPacket().
| int CC608Decoder::FalseDup | ( | int | tc, | |
| int | field, | |||
| int | data | |||
| ) |
| void CC608Decoder::DecodeVPS | ( | const unsigned char * | buf | ) |
Definition at line 815 of file cc608decoder.cpp.
Referenced by AvFormatDecoder::ProcessVBIDataPacket().
| void CC608Decoder::DecodeWSS | ( | const unsigned char * | buf | ) |
Definition at line 855 of file cc608decoder.cpp.
Referenced by AvFormatDecoder::ProcessVBIDataPacket().
| void CC608Decoder::SetIgnoreTimecode | ( | bool | val | ) | [inline] |
Definition at line 946 of file cc608decoder.cpp.
Referenced by GetRatingString(), and XDSPacketParseProgram().
Definition at line 952 of file cc608decoder.cpp.
Referenced by GetXDS(), and XDSPacketParseProgram().
| QString CC608Decoder::GetProgramName | ( | bool | future | ) | const |
Definition at line 988 of file cc608decoder.cpp.
Referenced by GetXDS(), and XDSPacketParseProgram().
| QString CC608Decoder::GetProgramType | ( | bool | future | ) | const |
Definition at line 994 of file cc608decoder.cpp.
Referenced by GetXDS(), and XDSPacketParseProgram().
| QString CC608Decoder::GetXDS | ( | const QString & | key | ) | const |
| QChar CC608Decoder::CharCC | ( | int | code | ) | const [inline, private] |
Definition at line 62 of file cc608decoder.h.
Referenced by FormatCCField(), XDSDecode(), and XDSDecodeString().
| void CC608Decoder::ResetCC | ( | int | mode | ) | [private] |
| void CC608Decoder::BufferCC | ( | int | mode, | |
| int | len, | |||
| int | clr | |||
| ) | [private] |
| int CC608Decoder::NewRowCC | ( | int | mode, | |
| int | len | |||
| ) | [private] |
| QString CC608Decoder::XDSDecodeString | ( | const vector< unsigned char > & | buf, | |
| uint | string, | |||
| uint | end | |||
| ) | const [private] |
Definition at line 895 of file cc608decoder.cpp.
Referenced by XDSPacketParse(), XDSPacketParseChannel(), and XDSPacketParseProgram().
| void CC608Decoder::XDSDecode | ( | int | field, | |
| int | b1, | |||
| int | b2 | |||
| ) | [private] |
| bool CC608Decoder::XDSPacketParseChannel | ( | const vector< unsigned char > & | xds_buf | ) | [private] |
| void CC608Decoder::XDSPacketParse | ( | const vector< unsigned char > & | xds_buf | ) | [private] |
| bool CC608Decoder::XDSPacketCRC | ( | const vector< unsigned char > & | xds_buf | ) | [private] |
CC608Reader* CC608Decoder::reader [private] |
bool CC608Decoder::ignore_time_code [private] |
Definition at line 79 of file cc608decoder.h.
Referenced by FalseDup(), FormatCCField(), and SetIgnoreTimecode().
int CC608Decoder::badvbi[2] [private] |
Definition at line 82 of file cc608decoder.h.
Referenced by CC608Decoder(), FalseDup(), and FormatCCField().
int CC608Decoder::lasttc[2] [private] |
Definition at line 83 of file cc608decoder.h.
Referenced by CC608Decoder(), FalseDup(), and FormatCCField().
int CC608Decoder::lastcode[2] [private] |
Definition at line 84 of file cc608decoder.h.
Referenced by CC608Decoder(), FalseDup(), and FormatCCField().
int CC608Decoder::lastcodetc[2] [private] |
Definition at line 85 of file cc608decoder.h.
Referenced by CC608Decoder(), FalseDup(), and FormatCCField().
int CC608Decoder::ccmode[2] [private] |
int CC608Decoder::xds[2] [private] |
Definition at line 87 of file cc608decoder.h.
Referenced by CC608Decoder(), FormatCCField(), and XDSDecode().
int CC608Decoder::txtmode[4] [private] |
int CC608Decoder::lastrow[8] [private] |
Definition at line 91 of file cc608decoder.h.
Referenced by CC608Decoder(), FormatCCField(), and NewRowCC().
int CC608Decoder::newrow[8] [private] |
Definition at line 92 of file cc608decoder.h.
Referenced by CC608Decoder(), FormatCCField(), and NewRowCC().
int CC608Decoder::newcol[8] [private] |
Definition at line 93 of file cc608decoder.h.
Referenced by CC608Decoder(), FormatCCField(), and NewRowCC().
int CC608Decoder::timecode[8] [private] |
Definition at line 94 of file cc608decoder.h.
Referenced by BufferCC(), CC608Decoder(), and FormatCCField().
int CC608Decoder::row[8] [private] |
Definition at line 95 of file cc608decoder.h.
Referenced by BufferCC(), CC608Decoder(), FormatCCField(), NewRowCC(), and ResetCC().
int CC608Decoder::col[8] [private] |
Definition at line 96 of file cc608decoder.h.
Referenced by CC608Decoder(), FormatCCField(), NewRowCC(), and ResetCC().
int CC608Decoder::rowcount[8] [private] |
Definition at line 97 of file cc608decoder.h.
Referenced by BufferCC(), CC608Decoder(), FormatCCField(), and ResetCC().
int CC608Decoder::style[8] [private] |
Definition at line 98 of file cc608decoder.h.
Referenced by BufferCC(), CC608Decoder(), FormatCCField(), and NewRowCC().
int CC608Decoder::linecont[8] [private] |
Definition at line 99 of file cc608decoder.h.
Referenced by BufferCC(), CC608Decoder(), FormatCCField(), NewRowCC(), and ResetCC().
int CC608Decoder::resumetext[8] [private] |
Definition at line 100 of file cc608decoder.h.
Referenced by BufferCC(), CC608Decoder(), FormatCCField(), and ResetCC().
int CC608Decoder::lastclr[8] [private] |
Definition at line 101 of file cc608decoder.h.
Referenced by BufferCC(), CC608Decoder(), FormatCCField(), and ResetCC().
QString CC608Decoder::ccbuf[8] [private] |
Definition at line 102 of file cc608decoder.h.
Referenced by BufferCC(), CC608Decoder(), FormatCCField(), NewRowCC(), and ResetCC().
QChar CC608Decoder::stdchar[128] [private] |
unsigned char* CC608Decoder::rbuf [private] |
char CC608Decoder::vps_pr_label[20] [private] |
char CC608Decoder::vps_label[20] [private] |
int CC608Decoder::vps_l [private] |
uint CC608Decoder::wss_flags [private] |
bool CC608Decoder::wss_valid [private] |
vector<unsigned char> CC608Decoder::xds_buf [private] |
uint CC608Decoder::xds_crc_passed [private] |
uint CC608Decoder::xds_crc_failed [private] |
QMutex CC608Decoder::xds_lock [mutable, private] |
Definition at line 123 of file cc608decoder.h.
Referenced by GetProgramName(), GetProgramType(), GetRating(), GetRatingString(), GetRatingSystems(), GetXDS(), and XDSPacketParse().
uint CC608Decoder::xds_rating_systems[2] [private] |
Definition at line 124 of file cc608decoder.h.
Referenced by CC608Decoder(), GetRatingSystems(), and XDSPacketParseProgram().
uint CC608Decoder::xds_rating[2][4] [private] |
Definition at line 125 of file cc608decoder.h.
Referenced by CC608Decoder(), GetRating(), GetRatingString(), and XDSPacketParseProgram().
QString CC608Decoder::xds_program_name[2] [private] |
Definition at line 126 of file cc608decoder.h.
Referenced by CC608Decoder(), GetProgramName(), and XDSPacketParseProgram().
vector<uint> CC608Decoder::xds_program_type[2] [private] |
Definition at line 127 of file cc608decoder.h.
Referenced by GetProgramType(), and XDSPacketParseProgram().
QString CC608Decoder::xds_net_call [private] |
QString CC608Decoder::xds_net_name [private] |
uint CC608Decoder::xds_tsid [private] |
QString CC608Decoder::xds_program_type_string[96] [private] |
1.5.5