CC608Decoder Class Reference

#include <cc608decoder.h>

List of all members.


Detailed Description

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

CC608Readerreader
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< uintxds_program_type [2]
QString xds_net_call
QString xds_net_name
uint xds_tsid
QString xds_program_type_string [96]

Constructor & Destructor Documentation

CC608Decoder::CC608Decoder ( CC608Reader ccr  ) 

Definition at line 17 of file cc608decoder.cpp.

CC608Decoder::~CC608Decoder ( void   ) 

Definition at line 84 of file cc608decoder.cpp.


Member Function Documentation

void CC608Decoder::FormatCC ( int  tc,
int  code1,
int  code2 
)

Definition at line 90 of file cc608decoder.cpp.

Referenced by NuppelVideoRecorder::FormatCC().

void CC608Decoder::FormatCCField ( int  tc,
int  field,
int  data 
)

int CC608Decoder::FalseDup ( int  tc,
int  field,
int  data 
)

Definition at line 518 of file cc608decoder.cpp.

Referenced by FormatCCField().

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 52 of file cc608decoder.h.

Referenced by AvFormatDecoder::AvFormatDecoder().

uint CC608Decoder::GetRatingSystems ( bool  future  )  const

Definition at line 940 of file cc608decoder.cpp.

Referenced by GetXDS().

uint CC608Decoder::GetRating ( uint  i,
bool  future 
) const

Definition at line 946 of file cc608decoder.cpp.

Referenced by GetRatingString(), and XDSPacketParseProgram().

QString CC608Decoder::GetRatingString ( uint  i,
bool  future 
) const

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

Definition at line 1010 of file cc608decoder.cpp.

Referenced by AvFormatDecoder::GetXDS().

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]

Definition at line 581 of file cc608decoder.cpp.

Referenced by FormatCCField().

void CC608Decoder::BufferCC ( int  mode,
int  len,
int  clr 
) [private]

Definition at line 597 of file cc608decoder.cpp.

Referenced by FormatCCField(), and NewRowCC().

int CC608Decoder::NewRowCC ( int  mode,
int  len 
) [private]

Definition at line 676 of file cc608decoder.cpp.

Referenced by FormatCCField().

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]

Definition at line 1048 of file cc608decoder.cpp.

Referenced by FormatCCField().

bool CC608Decoder::XDSPacketParseProgram ( const vector< unsigned char > &  xds_buf,
bool  future 
) [private]

Definition at line 1132 of file cc608decoder.cpp.

Referenced by XDSPacketParse().

bool CC608Decoder::XDSPacketParseChannel ( const vector< unsigned char > &  xds_buf  )  [private]

Definition at line 1292 of file cc608decoder.cpp.

Referenced by XDSPacketParse().

void CC608Decoder::XDSPacketParse ( const vector< unsigned char > &  xds_buf  )  [private]

Definition at line 1077 of file cc608decoder.cpp.

Referenced by XDSDecode().

bool CC608Decoder::XDSPacketCRC ( const vector< unsigned char > &  xds_buf  )  [private]

Definition at line 1111 of file cc608decoder.cpp.

Referenced by XDSDecode().


Member Data Documentation

Definition at line 77 of file cc608decoder.h.

Referenced by BufferCC().

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]

Definition at line 86 of file cc608decoder.h.

Referenced by CC608Decoder(), and FormatCCField().

int CC608Decoder::xds[2] [private]

Definition at line 87 of file cc608decoder.h.

Referenced by CC608Decoder(), FormatCCField(), and XDSDecode().

int CC608Decoder::txtmode[4] [private]

Definition at line 88 of file cc608decoder.h.

Referenced by CC608Decoder(), and FormatCCField().

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]

Definition at line 105 of file cc608decoder.h.

Referenced by CC608Decoder(), and CharCC().

unsigned char* CC608Decoder::rbuf [private]

Definition at line 108 of file cc608decoder.h.

Referenced by BufferCC(), and ~CC608Decoder().

char CC608Decoder::vps_pr_label[20] [private]

Definition at line 111 of file cc608decoder.h.

Referenced by CC608Decoder(), and DecodeVPS().

char CC608Decoder::vps_label[20] [private]

Definition at line 112 of file cc608decoder.h.

Referenced by CC608Decoder(), and DecodeVPS().

int CC608Decoder::vps_l [private]

Definition at line 113 of file cc608decoder.h.

Referenced by DecodeVPS().

Definition at line 116 of file cc608decoder.h.

Referenced by DecodeWSS().

Definition at line 117 of file cc608decoder.h.

Referenced by DecodeWSS().

vector<unsigned char> CC608Decoder::xds_buf [private]

Definition at line 119 of file cc608decoder.h.

Referenced by XDSDecode().

Definition at line 120 of file cc608decoder.h.

Referenced by XDSPacketCRC().

Definition at line 121 of file cc608decoder.h.

Referenced by XDSPacketCRC().

QMutex CC608Decoder::xds_lock [mutable, 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]

Definition at line 129 of file cc608decoder.h.

Referenced by GetXDS(), and XDSPacketParseChannel().

QString CC608Decoder::xds_net_name [private]

Definition at line 130 of file cc608decoder.h.

Referenced by GetXDS(), and XDSPacketParseChannel().

Definition at line 131 of file cc608decoder.h.

Referenced by GetXDS(), and XDSPacketParseChannel().

Definition at line 133 of file cc608decoder.h.

Referenced by CC608Decoder(), and GetProgramType().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5