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_teletext_reader(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
vbimode
Definition: vbilut.h:20
void Decode(const unsigned char *buf, int vbimode)
Decodes teletext data.
TeletextDecoder(TeletextReader *reader)
TeletextReader * m_teletext_reader
virtual ~TeletextDecoder()=default
int GetDecoderType(void) const