Mercurial > libavcodec.hg
comparison ac3.c @ 12024:fdafbcef52f5 libavcodec
Fix grammar errors in documentation
author | mru |
---|---|
date | Wed, 30 Jun 2010 15:38:06 +0000 |
parents | 7dd2a45249a9 |
children |
comparison
equal
deleted
inserted
replaced
12023:c7455450364d | 12024:fdafbcef52f5 |
---|---|
40 34, 37, 40, 43, 46, 49, 55, 61, 67, 73, | 40 34, 37, 40, 43, 46, 49, 55, 61, 67, 73, |
41 79, 85, 97, 109, 121, 133, 157, 181, 205, 229, 253 | 41 79, 85, 97, 109, 121, 133, 157, 181, 205, 229, 253 |
42 }; | 42 }; |
43 | 43 |
44 /** | 44 /** |
45 * Maps each frequency coefficient bin to the critical band that contains it. | 45 * Map each frequency coefficient bin to the critical band that contains it. |
46 */ | 46 */ |
47 static const uint8_t bin_to_band_tab[253] = { | 47 static const uint8_t bin_to_band_tab[253] = { |
48 0, | 48 0, |
49 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, | 49 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, |
50 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, | 50 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, |
259 ff_ac3_bit_alloc_calc_bap(mask, psd, start, end, snr_offset, s->floor, | 259 ff_ac3_bit_alloc_calc_bap(mask, psd, start, end, snr_offset, s->floor, |
260 ff_ac3_bap_tab, bap); | 260 ff_ac3_bap_tab, bap); |
261 } | 261 } |
262 | 262 |
263 /** | 263 /** |
264 * Initializes some tables. | 264 * Initialize some tables. |
265 * note: This function must remain thread safe because it is called by the | 265 * note: This function must remain thread safe because it is called by the |
266 * AVParser init code. | 266 * AVParser init code. |
267 */ | 267 */ |
268 av_cold void ac3_common_init(void) | 268 av_cold void ac3_common_init(void) |
269 { | 269 { |