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

#include <vbi608extractor.h>

Public Member Functions

 VBI608Extractor ()
 
uint16_t GetCode1 (void) const
 
uint16_t GetCode2 (void) const
 
bool ExtractCC (const VideoFrame *, uint max_lines=4)
 
bool ExtractCC12 (const unsigned char *buf, uint width)
 
bool ExtractCC34 (const unsigned char *buf, uint width)
 
uint FillCCData (uint8_t cc_data[8]) const
 

Private Member Functions

float GetClockStart (void) const
 
float GetClockRate (void) const
 
bool FindClocks (const unsigned char *buf, uint width)
 

Private Attributes

QList< uintm_rawMinimas
 
QList< uintm_rawMaximas
 
QList< float > m_maximas
 
QList< float > m_minimas
 
float m_start {0.0F}
 
float m_rate {0.0F}
 
uint16_t m_code [2] {UINT16_MAX, UINT16_MAX}
 

Detailed Description

Definition at line 29 of file vbi608extractor.h.

Constructor & Destructor Documentation

◆ VBI608Extractor()

VBI608Extractor::VBI608Extractor ( )
inline

Definition at line 32 of file vbi608extractor.h.

Member Function Documentation

◆ GetCode1()

uint16_t VBI608Extractor::GetCode1 ( void  ) const
inline

Definition at line 34 of file vbi608extractor.h.

Referenced by V4LRecorder::RunVBIDevice().

◆ GetCode2()

uint16_t VBI608Extractor::GetCode2 ( void  ) const
inline

Definition at line 35 of file vbi608extractor.h.

Referenced by V4LRecorder::RunVBIDevice().

◆ ExtractCC()

bool VBI608Extractor::ExtractCC ( const VideoFrame picframe,
uint  max_lines = 4 
)

Definition at line 259 of file vbi608extractor.cpp.

◆ ExtractCC12()

bool VBI608Extractor::ExtractCC12 ( const unsigned char *  buf,
uint  width 
)

Definition at line 322 of file vbi608extractor.cpp.

Referenced by V4LRecorder::RunVBIDevice().

◆ ExtractCC34()

bool VBI608Extractor::ExtractCC34 ( const unsigned char *  buf,
uint  width 
)

Definition at line 352 of file vbi608extractor.cpp.

Referenced by V4LRecorder::RunVBIDevice().

◆ FillCCData()

uint VBI608Extractor::FillCCData ( uint8_t  cc_data[8]) const

Definition at line 380 of file vbi608extractor.cpp.

◆ GetClockStart()

float VBI608Extractor::GetClockStart ( void  ) const
inlineprivate

Definition at line 44 of file vbi608extractor.h.

◆ GetClockRate()

float VBI608Extractor::GetClockRate ( void  ) const
inlineprivate

Definition at line 45 of file vbi608extractor.h.

◆ FindClocks()

bool VBI608Extractor::FindClocks ( const unsigned char *  buf,
uint  width 
)
private

Definition at line 83 of file vbi608extractor.cpp.

Member Data Documentation

◆ m_rawMinimas

QList<uint> VBI608Extractor::m_rawMinimas
private

Definition at line 48 of file vbi608extractor.h.

◆ m_rawMaximas

QList<uint> VBI608Extractor::m_rawMaximas
private

Definition at line 49 of file vbi608extractor.h.

◆ m_maximas

QList<float> VBI608Extractor::m_maximas
private

Definition at line 50 of file vbi608extractor.h.

◆ m_minimas

QList<float> VBI608Extractor::m_minimas
private

Definition at line 51 of file vbi608extractor.h.

◆ m_start

float VBI608Extractor::m_start {0.0F}
private

Definition at line 52 of file vbi608extractor.h.

Referenced by GetClockStart().

◆ m_rate

float VBI608Extractor::m_rate {0.0F}
private

Definition at line 53 of file vbi608extractor.h.

Referenced by GetClockRate().

◆ m_code

uint16_t VBI608Extractor::m_code[2] {UINT16_MAX, UINT16_MAX}
private

Definition at line 54 of file vbi608extractor.h.

Referenced by GetCode1(), and GetCode2().


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