MythTV  master
teletextdecoder.h
Go to the documentation of this file.
1 #ifndef VBIDECODER_H_
2 #define VBIDECODER_H_
3 
4 #include <cstdint>
5 
6 class TeletextReader;
7 
9 {
10  public:
11  explicit TeletextDecoder(TeletextReader *reader)
12  : m_teletextReader(reader) {}
13  virtual ~TeletextDecoder() = default;
14 
15  int GetDecoderType(void) const { return m_decoderType; }
16  void Decode(const unsigned char *buf, int vbimode);
17 
18  private:
20  int m_decoderType {-1};
21 };
22 
23 #endif
TeletextDecoder::Decode
void Decode(const unsigned char *buf, int vbimode)
Decodes teletext data.
Definition: teletextdecoder.cpp:40
vbimode
vbimode
Definition: vbilut.h:22
TeletextDecoder::~TeletextDecoder
virtual ~TeletextDecoder()=default
TeletextDecoder
Definition: teletextdecoder.h:9
TeletextReader
Definition: teletextreader.h:76
TeletextDecoder::m_teletextReader
TeletextReader * m_teletextReader
Definition: teletextdecoder.h:19
TeletextDecoder::TeletextDecoder
TeletextDecoder(TeletextReader *reader)
Definition: teletextdecoder.h:11
TeletextDecoder::GetDecoderType
int GetDecoderType(void) const
Definition: teletextdecoder.h:15
TeletextDecoder::m_decoderType
int m_decoderType
Definition: teletextdecoder.h:20