Mercurial > libavcodec.hg
comparison ac3tab.h @ 6671:2d0b86dfe5bb libavcodec
add a ff_ac3_parse_header_full() which calls ff_ac3_parse_header()
and then reads the channel_map stuff
author | bwolowiec |
---|---|
date | Thu, 24 Apr 2008 22:27:13 +0000 |
parents | 29635f7c3d9c |
children | f7cbb7733146 |
comparison
equal
deleted
inserted
replaced
6670:33d3c14d5a57 | 6671:2d0b86dfe5bb |
---|---|
37 extern const uint16_t ff_ac3_slow_gain_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]; | 38 extern const uint16_t ff_ac3_db_per_bit_tab[4]; |
39 extern const int16_t ff_ac3_floor_tab[8]; | 39 extern const int16_t ff_ac3_floor_tab[8]; |
40 extern const uint16_t ff_ac3_fast_gain_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]; | 41 extern const uint8_t ff_ac3_critical_band_size_tab[50]; |
42 extern const uint16_t ff_eac3_default_chmap[8]; | |
43 | |
44 /** Custom channel map locations bitmask | |
45 * Other channels described in documentation: | |
46 * Lc/Rc pair, Lrs/Rrs pair, Ts, Lsd/Rsd pair, | |
47 * Lw/Rw pair, Lvh/Rvh pair, Cvh, Reserved, LFE2 | |
48 */ | |
49 enum CustomChannelMapLocation{ | |
50 AC3_CHMAP_L= 1<<(15-0), | |
51 AC3_CHMAP_C= 1<<(15-1), | |
52 AC3_CHMAP_R= 1<<(15-2), | |
53 AC3_CHMAP_L_SUR= 1<<(15-3), | |
54 AC3_CHMAP_R_SUR = 1<<(15-4), | |
55 AC3_CHMAP_C_SUR= 1<<(15-7), | |
56 AC3_CHMAP_LFE = 1<<(15-15) | |
57 }; | |
42 | 58 |
43 #endif /* FFMPEG_AC3TAB_H */ | 59 #endif /* FFMPEG_AC3TAB_H */ |