MythTV  master
Go to the documentation of this file.
1 #ifndef VBILUT_H
2 #define VBILUT_H
4 #include <cstdint>
6 extern const unsigned char lang_chars[][16];
7 extern const unsigned char chartab_original[];
8 extern const char chartab_swedish[];
9 extern const unsigned short hammtab[];
10 extern const uint8_t hamm84tab[];
11 extern const uint8_t unham84tab[];
12 extern const uint8_t vbi_bit_reverse[];
13 extern const char *formats[];
14 extern const char *subtitles[];
15 extern const char hamm24par[][256];
16 extern const char hamm24val[];
17 extern const short hamm24err[];
18 extern const int hamm24cor[];
20 enum vbimode
21 {
25 };
27 int hamm8(const uint8_t *p, int *err);
28 int hamm84(const uint8_t *p, int *err);
29 int hamm16(const uint8_t *p, int *err);
30 int hamm24(const uint8_t *p, int *err);
32 #endif // VBILUT_H
const char hamm24val[]
Table to extract the lower 4 bit from hamm24/18 encoded bytes.
Definition: vbilut.cpp:272
const unsigned char chartab_original[]
Definition: vbilut.cpp:45
< DVB packet
Definition: vbilut.h:24
Definition: vbilut.h:20
int hamm84(const uint8_t *p, int *err)
Definition: vbilut.cpp:333
const uint8_t vbi_bit_reverse[]
Definition: vbilut.cpp:152
const char * formats[]
Definition: vbilut.cpp:188
int hamm8(const uint8_t *p, int *err)
Definition: vbilut.cpp:326
const char * subtitles[]
Definition: vbilut.cpp:200
const uint8_t hamm84tab[]
Definition: vbilut.cpp:86
const unsigned short hammtab[]
Definition: vbilut.cpp:50
const char chartab_swedish[]
< IVTV packet
Definition: vbilut.h:23
int hamm16(const uint8_t *p, int *err)
Definition: vbilut.cpp:343
const uint8_t unham84tab[]
Definition: vbilut.cpp:116
int hamm24(const uint8_t *p, int *err)
Definition: vbilut.cpp:352
const short hamm24err[]
Mapping from parity checks made by table hamm24par to error results return by hamm24.
Definition: vbilut.cpp:298
const char hamm24par[][256]
This table generates the parity checks for hamm24/18 decoding.
Definition: vbilut.cpp:212
const unsigned char lang_chars[][16]
Definition: vbilut.cpp:3
const int hamm24cor[]
Mapping from parity checks made by table hamm24par to faulty bit in the decoded 18 bit word.
Definition: vbilut.cpp:314