MythTV  master
Public Member Functions | Private Attributes | List of all members
CC708Decoder Class Reference

#include <libmythtv/captions/cc708decoder.h>

Collaboration diagram for CC708Decoder:
[legend]

Public Member Functions

 CC708Decoder (CC708Reader *ccr)
 
 ~CC708Decoder ()=default
 
void decode_cc_data (uint cc_type, uint data1, uint data2)
 
void decode_cc_null (void)
 
void services (std::chrono::seconds seconds, cc708_seen_flags &seen) const
 

Private Attributes

CaptionPacket m_partialPacket {}
 
CC708Readerm_reader {nullptr}
 
cc708_seen_times m_lastSeen {}
 

Detailed Description

Definition at line 29 of file cc708decoder.h.

Constructor & Destructor Documentation

◆ CC708Decoder()

CC708Decoder::CC708Decoder ( CC708Reader ccr)
inlineexplicit

Definition at line 32 of file cc708decoder.h.

◆ ~CC708Decoder()

CC708Decoder::~CC708Decoder ( )
default

Member Function Documentation

◆ decode_cc_data()

void CC708Decoder::decode_cc_data ( uint  cc_type,
uint  data1,
uint  data2 
)

Definition at line 41 of file cc708decoder.cpp.

Referenced by AvFormatDecoder::DecodeCCx08().

◆ decode_cc_null()

void CC708Decoder::decode_cc_null ( void  )

Definition at line 70 of file cc708decoder.cpp.

Referenced by AvFormatDecoder::DecodeCCx08().

◆ services()

void CC708Decoder::services ( std::chrono::seconds  seconds,
cc708_seen_flags seen 
) const
Returns
Services seen in last few seconds as specified.

Definition at line 77 of file cc708decoder.cpp.

Referenced by AvFormatDecoder::UpdateCaptionTracksFromStreams().

Member Data Documentation

◆ m_partialPacket

CaptionPacket CC708Decoder::m_partialPacket {}
private

Definition at line 42 of file cc708decoder.h.

Referenced by decode_cc_data(), and decode_cc_null().

◆ m_reader

CC708Reader* CC708Decoder::m_reader {nullptr}
private

Definition at line 43 of file cc708decoder.h.

Referenced by decode_cc_data(), and decode_cc_null().

◆ m_lastSeen

cc708_seen_times CC708Decoder::m_lastSeen {}
private

Definition at line 44 of file cc708decoder.h.

Referenced by decode_cc_data(), decode_cc_null(), and services().


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