MythTV  master
lang.h
Go to the documentation of this file.
1 #ifndef LANG_H
2 #define LANG_H
3 
4 #include "captions/vbilut.h"
5 #include "vt.h"
6 
7 extern int isLatin1;
8 
9 struct enhance
10 {
11  int next_des; // next expected designation code
12  unsigned int trip[13*16]; // tripplets
13 };
14 
15 void lang_init(void);
16 void conv2latin(unsigned char *p, int n, int lang);
17 
18 void init_enhance(struct enhance *eh);
19 void add_enhance(struct enhance *eh, int dcode, std::array<unsigned int,13>& data);
20 void do_enhancements(struct enhance *eh, struct vt_page *vtp);
21 
22 #endif // LANG_H
23 
vt.h
enhance
Definition: lang.h:9
enhance::next_des
int next_des
Definition: lang.h:11
vt_page
Definition: vt.h:36
conv2latin
void conv2latin(unsigned char *p, int n, int lang)
Definition: lang.cpp:107
init_enhance
void init_enhance(struct enhance *eh)
Definition: lang.cpp:128
vbilut.h
isLatin1
int isLatin1
Definition: lang.cpp:7
hardwareprofile.config.p
p
Definition: config.py:33
lang_init
void lang_init(void)
Definition: lang.cpp:96
do_enhancements
void do_enhancements(struct enhance *eh, struct vt_page *vtp)
Definition: lang.cpp:147
enhance::trip
unsigned int trip[13 *16]
Definition: lang.h:12
add_enhance
void add_enhance(struct enhance *eh, int dcode, std::array< unsigned int, 13 > &data)
Definition: lang.cpp:134