annotate ac3tab.h @ 5579:1d68a08be2f9 libavcodec

Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor directives are aimed at idiosyncracies of Apple's gcc version.
author diego
date Fri, 24 Aug 2007 14:57:46 +0000
parents 5e714485a55c
children 1d83e9c34641
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
782
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
1 /*
4879
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
2 * AC3 tables
782
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard.
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
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
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
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
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
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
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
15 * Lesser General Public License for more details.
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
16 *
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
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
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
20 */
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
21
4879
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
22 #ifndef AC3TAB_H
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
23 #define AC3TAB_H
782
dd7d5748d064 preparing integration of new AC3 decoder
bellard
parents:
diff changeset
24
4879
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
25 #include "common.h"
4648
5683b496ffbc move AC-3 header parsing to ac3.c
jbr
parents: 4645
diff changeset
26
4679
acdd4b24f5c5 hardcode ff_ac3_frame_sizes table
jbr
parents: 4648
diff changeset
27 extern const uint16_t ff_ac3_frame_sizes[38][3];
4880
5e714485a55c cosmetics: align
aurel
parents: 4879
diff changeset
28 extern const uint8_t ff_ac3_channels[8];
4643
1e175640dad3 Remove common code from AC-3 encoder and utilize ac3.c.
jbr
parents: 4197
diff changeset
29 extern const uint16_t ff_ac3_freqs[3];
1e175640dad3 Remove common code from AC-3 encoder and utilize ac3.c.
jbr
parents: 4197
diff changeset
30 extern const uint16_t ff_ac3_bitratetab[19];
4880
5e714485a55c cosmetics: align
aurel
parents: 4879
diff changeset
31 extern const int16_t ff_ac3_window[256];
4879
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
32 extern const uint8_t ff_ac3_latab[260];
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
33 extern const uint16_t ff_ac3_hth[50][3];
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
34 extern const uint8_t ff_ac3_baptab[64];
4880
5e714485a55c cosmetics: align
aurel
parents: 4879
diff changeset
35 extern const uint8_t ff_sdecaytab[4];
5e714485a55c cosmetics: align
aurel
parents: 4879
diff changeset
36 extern const uint8_t ff_fdecaytab[4];
4643
1e175640dad3 Remove common code from AC-3 encoder and utilize ac3.c.
jbr
parents: 4197
diff changeset
37 extern const uint16_t ff_sgaintab[4];
1e175640dad3 Remove common code from AC-3 encoder and utilize ac3.c.
jbr
parents: 4197
diff changeset
38 extern const uint16_t ff_dbkneetab[4];
4880
5e714485a55c cosmetics: align
aurel
parents: 4879
diff changeset
39 extern const int16_t ff_floortab[8];
4643
1e175640dad3 Remove common code from AC-3 encoder and utilize ac3.c.
jbr
parents: 4197
diff changeset
40 extern const uint16_t ff_fgaintab[8];
4879
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
41 extern const uint8_t ff_ac3_bndsz[50];
4684
6ec0afffc572 split ac3_parametric_bit_allocation into 3 separate functions
jbr
parents: 4679
diff changeset
42
4879
60603c9c89d1 move ac3 tables from a .h to a .c
aurel
parents: 4855
diff changeset
43 #endif /* AC3TAB_H */