MythTV  master
vbilut.h
Go to the documentation of this file.
1 #ifndef _VBILUT_H_
2 #define _VBILUT_H_
3 
4 #include <cstdint>
5 
6 extern "C" 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[];
19 
20 enum vbimode
21 {
25 };
26 
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 
31 #endif // _VBILUT_H_
const char hamm24val[]
Table to extract the lower 4 bit from hamm24/18 encoded bytes.
Definition: vbilut.cpp:274
const unsigned char chartab_original[]
Definition: vbilut.cpp:47
< DVB packet
Definition: vbilut.h:24
vbimode
Definition: vbilut.h:20
int hamm84(const uint8_t *p, int *err)
Definition: vbilut.cpp:335
const uint8_t vbi_bit_reverse[]
Definition: vbilut.cpp:154
const char * formats[]
Definition: vbilut.cpp:190
int hamm8(const uint8_t *p, int *err)
Definition: vbilut.cpp:328
const char * subtitles[]
Definition: vbilut.cpp:202
const uint8_t hamm84tab[]
Definition: vbilut.cpp:88
const unsigned short hammtab[]
Definition: vbilut.cpp:52
const char chartab_swedish[]
< IVTV packet
Definition: vbilut.h:23
int hamm16(const uint8_t *p, int *err)
Definition: vbilut.cpp:345
const uint8_t unham84tab[]
Definition: vbilut.cpp:118
const short hamm24err[]
Mapping from parity checks made by table hamm24par to error results return by hamm24.
Definition: vbilut.cpp:300
const char hamm24par[][256]
This table generates the parity checks for hamm24/18 decoding.
Definition: vbilut.cpp:214
const unsigned char lang_chars[][16]
Definition: vbilut.h:6
const int hamm24cor[]
Mapping from parity checks made by table hamm24par to faulty bit in the decoded 18 bit word.
Definition: vbilut.cpp:316