1 |
|
/***************************************************************************** |
2 |
|
* |
3 |
|
* XVID MPEG-4 VIDEO CODEC |
4 |
|
* - Variable Length Code header - |
5 |
|
* |
6 |
|
* Copyright(C) 2002 Michael Militzer <isibaar@xvid.org> |
7 |
|
* |
8 |
|
* This program is free software ; you can redistribute it and/or modify |
9 |
|
* it under the terms of the GNU General Public License as published by |
10 |
|
* the Free Software Foundation ; either version 2 of the License, or |
11 |
|
* (at your option) any later version. |
12 |
|
* |
13 |
|
* This program is distributed in the hope that it will be useful, |
14 |
|
* but WITHOUT ANY WARRANTY ; without even the implied warranty of |
15 |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
|
* GNU General Public License for more details. |
17 |
|
* |
18 |
|
* You should have received a copy of the GNU General Public License |
19 |
|
* along with this program ; if not, write to the Free Software |
20 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
|
* |
22 |
|
* $Id$ |
23 |
|
* |
24 |
|
****************************************************************************/ |
25 |
#ifndef _VLC_CODES_H_ |
#ifndef _VLC_CODES_H_ |
26 |
#define _VLC_CODES_H_ |
#define _VLC_CODES_H_ |
27 |
|
|
68 |
* common tables between encoder/decoder * |
* common tables between encoder/decoder * |
69 |
******************************************************************/ |
******************************************************************/ |
70 |
|
|
|
extern short const dc_threshold[]; |
|
|
|
|
71 |
extern VLC const dc_lum_tab[]; |
extern VLC const dc_lum_tab[]; |
72 |
|
extern short const dc_threshold[]; |
73 |
extern VLC_TABLE const coeff_tab[2][102]; |
extern VLC_TABLE const coeff_tab[2][102]; |
74 |
extern uint8_t const max_level[2][2][64]; |
extern uint8_t const max_level[2][2][64]; |
75 |
extern uint8_t const max_run[2][2][64]; |
extern uint8_t const max_run[2][2][64]; |
87 |
extern VLC const TMNMVtab0[]; |
extern VLC const TMNMVtab0[]; |
88 |
extern VLC const TMNMVtab1[]; |
extern VLC const TMNMVtab1[]; |
89 |
extern VLC const TMNMVtab2[]; |
extern VLC const TMNMVtab2[]; |
|
extern short const dc_threshold[]; |
|
|
extern VLC const dc_lum_tab[]; |
|
|
|
|
90 |
|
|
91 |
#endif /* _VLC_CODES_H */ |
#endif /* _VLC_CODES_H */ |