Parent Directory | Revision Log
Revision 1.17 - (view) (download)
1 : | Isibaar | 1.1 | #ifndef _VLC_CODES_H_ |
2 : | #define _VLC_CODES_H_ | ||
3 : | |||
4 : | #include "../portab.h" | ||
5 : | |||
6 : | #define VLC_ERROR (-1) | ||
7 : | edgomez | 1.13 | |
8 : | #define ESCAPE 3 | ||
9 : | #define ESCAPE1 6 | ||
10 : | #define ESCAPE2 14 | ||
11 : | #define ESCAPE3 15 | ||
12 : | Isibaar | 1.1 | |
13 : | typedef struct | ||
14 : | { | ||
15 : | uint32_t code; | ||
16 : | edgomez | 1.13 | uint8_t len; |
17 : | edgomez | 1.6 | } |
18 : | VLC; | ||
19 : | Isibaar | 1.1 | |
20 : | edgomez | 1.13 | typedef struct |
21 : | { | ||
22 : | uint8_t last; | ||
23 : | uint8_t run; | ||
24 : | int8_t level; | ||
25 : | } | ||
26 : | EVENT; | ||
27 : | |||
28 : | typedef struct | ||
29 : | { | ||
30 : | uint8_t len; | ||
31 : | EVENT event; | ||
32 : | } | ||
33 : | REVERSE_EVENT; | ||
34 : | |||
35 : | typedef struct | ||
36 : | { | ||
37 : | VLC vlc; | ||
38 : | EVENT event; | ||
39 : | } | ||
40 : | VLC_TABLE; | ||
41 : | Isibaar | 1.5 | |
42 : | Isibaar | 1.1 | |
43 : | edgomez | 1.15 | /****************************************************************** |
44 : | * common tables between encoder/decoder * | ||
45 : | ******************************************************************/ | ||
46 : | Isibaar | 1.1 | |
47 : | edgomez | 1.16 | extern short const dc_threshold[]; |
48 : | edgomez | 1.6 | |
49 : | edgomez | 1.16 | extern VLC const dc_lum_tab[]; |
50 : | extern VLC_TABLE const coeff_tab[2][102]; | ||
51 : | extern uint8_t const max_level[2][2][64]; | ||
52 : | extern uint8_t const max_run[2][2][64]; | ||
53 : | extern VLC sprite_trajectory_code[32768]; | ||
54 : | extern VLC sprite_trajectory_len[15]; | ||
55 : | extern VLC mcbpc_intra_tab[15]; | ||
56 : | extern VLC mcbpc_inter_tab[29]; | ||
57 : | chl | 1.17 | extern const VLC xvid_cbpy_tab[16]; |
58 : | edgomez | 1.16 | extern const VLC dcy_tab[511]; |
59 : | extern const VLC dcc_tab[511]; | ||
60 : | extern const VLC mb_motion_table[65]; | ||
61 : | extern VLC const mcbpc_intra_table[64]; | ||
62 : | extern VLC const mcbpc_inter_table[257]; | ||
63 : | extern VLC const cbpy_table[64]; | ||
64 : | extern VLC const TMNMVtab0[]; | ||
65 : | extern VLC const TMNMVtab1[]; | ||
66 : | extern VLC const TMNMVtab2[]; | ||
67 : | extern short const dc_threshold[]; | ||
68 : | extern VLC const dc_lum_tab[]; | ||
69 : | Isibaar | 1.1 | |
70 : | |||
71 : | edgomez | 1.7 | #endif /* _VLC_CODES_H */ |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |