MythTV  master
Classes | Typedefs | Enumerations | Variables
cc608decoder.h File Reference
#include <cstdint>
#include <ctime>
#include <array>
#include <vector>
#include <QString>
#include <QRecursiveMutex>
#include <QChar>
#include "libmythbase/mythchrono.h"
Include dependency graph for cc608decoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  teletextsubtitle
 
struct  ccsubtitle
 
class  CC608Input
 
class  CC608Decoder
 

Typedefs

using CC608Seen = std::array< bool, 4 >
 
using CC608ProgramType = std::array< QString, 96 >
 
using CC608PerField = std::array< int, 2 >
 
using CC608PerFieldTc = std::array< std::chrono::milliseconds, 2 >
 
using CC608PerMode = std::array< int, 8 >
 
using CC608PerModeTc = std::array< std::chrono::milliseconds, 8 >
 

Enumerations

enum  CC_STYLE : std::uint8_t { CC_STYLE_POPUP = 0x00, CC_STYLE_PAINT = 0x01, CC_STYLE_ROLLUP = 0x02 }
 
enum  CC_MODE : std::uint8_t {
  CC_CC1 = 0x00, CC_CC2 = 0x10, CC_TXT1 = 0x20, CC_TXT2 = 0x30,
  CC_CC3 = 0x40, CC_CC4 = 0x50, CC_TXT3 = 0x60, CC_TXT4 = 0x70
}
 
enum  : std::uint8_t { kHasMPAA = 0x1, kHasTPG = 0x2, kHasCanEnglish = 0x4, kHasCanFrench = 0x8 }
 
enum  : std::uint8_t { kRatingMPAA = 0, kRatingTPG, kRatingCanEnglish, kRatingCanFrench }
 

Variables

static constexpr uint8_t CC_LINE_CONT { 0x02 }
 
static constexpr uint8_t CC_MODE_MASK { 0xf0 }
 
static constexpr uint8_t CC_TXT_MASK { 0x20 }
 

Typedef Documentation

◆ CC608Seen

using CC608Seen = std::array<bool,4>

Definition at line 60 of file cc608decoder.h.

◆ CC608ProgramType

using CC608ProgramType = std::array<QString,96>

Definition at line 61 of file cc608decoder.h.

◆ CC608PerField

using CC608PerField = std::array<int,2>

Definition at line 62 of file cc608decoder.h.

◆ CC608PerFieldTc

using CC608PerFieldTc = std::array<std::chrono::milliseconds,2>

Definition at line 63 of file cc608decoder.h.

◆ CC608PerMode

using CC608PerMode = std::array<int,8>

Definition at line 64 of file cc608decoder.h.

◆ CC608PerModeTc

using CC608PerModeTc = std::array<std::chrono::milliseconds,8>

Definition at line 65 of file cc608decoder.h.

Enumeration Type Documentation

◆ CC_STYLE

enum CC_STYLE : std::uint8_t
Enumerator
CC_STYLE_POPUP 
CC_STYLE_PAINT 
CC_STYLE_ROLLUP 

Definition at line 39 of file cc608decoder.h.

◆ CC_MODE

enum CC_MODE : std::uint8_t
Enumerator
CC_CC1 
CC_CC2 
CC_TXT1 
CC_TXT2 
CC_CC3 
CC_CC4 
CC_TXT3 
CC_TXT4 

Definition at line 49 of file cc608decoder.h.

◆ anonymous enum

anonymous enum : std::uint8_t
Enumerator
kHasMPAA 
kHasTPG 
kHasCanEnglish 
kHasCanFrench 

Definition at line 75 of file cc608decoder.h.

◆ anonymous enum

anonymous enum : std::uint8_t
Enumerator
kRatingMPAA 
kRatingTPG 
kRatingCanEnglish 
kRatingCanFrench 

Definition at line 82 of file cc608decoder.h.

Variable Documentation

◆ CC_LINE_CONT

constexpr uint8_t CC_LINE_CONT { 0x02 }
staticconstexpr

Definition at line 46 of file cc608decoder.h.

Referenced by CC608Decoder::BufferCC(), and CC608Reader::Update().

◆ CC_MODE_MASK

constexpr uint8_t CC_MODE_MASK { 0xf0 }
staticconstexpr

◆ CC_TXT_MASK

constexpr uint8_t CC_TXT_MASK { 0x20 }
staticconstexpr

Definition at line 48 of file cc608decoder.h.

Referenced by CC608Reader::Update().