Mercurial > libavcodec.hg
annotate ac3tab.h @ 6582:7d40da88f0c7 libavcodec
Crop parameters are unsigned, having them negative could be bad and lead
to crashes or maybe exploits (not checked at all if this is possible).
author | michael |
---|---|
date | Fri, 11 Apr 2008 12:57:49 +0000 |
parents | 29635f7c3d9c |
children | 2d0b86dfe5bb |
rev | line source |
---|---|
782 | 1 /* |
4879 | 2 * AC3 tables |
782 | 3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard. |
4 * | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
5 * This file is part of FFmpeg. |
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
6 * |
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
7 * FFmpeg is free software; you can redistribute it and/or |
782 | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
10 * version 2.1 of the License, or (at your option) any later version. |
782 | 11 * |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
12 * FFmpeg is distributed in the hope that it will be useful, |
782 | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 * Lesser General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU Lesser General Public | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
18 * License along with FFmpeg; if not, write to the Free Software |
3036
0b546eab515d
Update licensing information: The FSF changed postal address.
diego
parents:
2967
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
782 | 20 */ |
21 | |
5830
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
4880
diff
changeset
|
22 #ifndef FFMPEG_AC3TAB_H |
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
4880
diff
changeset
|
23 #define FFMPEG_AC3TAB_H |
782 | 24 |
4879 | 25 #include "common.h" |
4648 | 26 |
6002 | 27 extern const uint16_t ff_ac3_frame_size_tab[38][3]; |
28 extern const uint8_t ff_ac3_channels_tab[8]; | |
29 extern const uint16_t ff_ac3_sample_rate_tab[3]; | |
30 extern const uint16_t ff_ac3_bitrate_tab[19]; | |
4880 | 31 extern const int16_t ff_ac3_window[256]; |
6002 | 32 extern const uint8_t ff_ac3_log_add_tab[260]; |
33 extern const uint16_t ff_ac3_hearing_threshold_tab[50][3]; | |
34 extern const uint8_t ff_ac3_bap_tab[64]; | |
35 extern const uint8_t ff_ac3_slow_decay_tab[4]; | |
36 extern const uint8_t ff_ac3_fast_decay_tab[4]; | |
37 extern const uint16_t ff_ac3_slow_gain_tab[4]; | |
38 extern const uint16_t ff_ac3_db_per_bit_tab[4]; | |
39 extern const int16_t ff_ac3_floor_tab[8]; | |
40 extern const uint16_t ff_ac3_fast_gain_tab[8]; | |
41 extern const uint8_t ff_ac3_critical_band_size_tab[50]; | |
4684
6ec0afffc572
split ac3_parametric_bit_allocation into 3 separate functions
jbr
parents:
4679
diff
changeset
|
42 |
5830
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
4880
diff
changeset
|
43 #endif /* FFMPEG_AC3TAB_H */ |