Mercurial > libavcodec.hg
comparison ac3.c @ 7470:1a93d3bbe3ee libavcodec
cosmetics: make all references to AC-3 capitalized and hyphenated
author | jbr |
---|---|
date | Sun, 03 Aug 2008 16:42:32 +0000 |
parents | 60fd9ae9540e |
children | 6c2dcc1410bb |
comparison
equal
deleted
inserted
replaced
7469:856df346b536 | 7470:1a93d3bbe3ee |
---|---|
1 /* | 1 /* |
2 * Common code between AC3 encoder and decoder | 2 * Common code between the AC-3 encoder and decoder |
3 * Copyright (c) 2000 Fabrice Bellard. | 3 * Copyright (c) 2000 Fabrice Bellard. |
4 * | 4 * |
5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
6 * | 6 * |
7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 */ | 20 */ |
21 | 21 |
22 /** | 22 /** |
23 * @file ac3.c | 23 * @file ac3.c |
24 * Common code between AC3 encoder and decoder. | 24 * Common code between the AC-3 encoder and decoder. |
25 */ | 25 */ |
26 | 26 |
27 #include "avcodec.h" | 27 #include "avcodec.h" |
28 #include "ac3.h" | 28 #include "ac3.h" |
29 #include "bitstream.h" | 29 #include "bitstream.h" |
195 i++; | 195 i++; |
196 } | 196 } |
197 } while (end > band_start_tab[j++]); | 197 } while (end > band_start_tab[j++]); |
198 } | 198 } |
199 | 199 |
200 /* AC3 bit allocation. The algorithm is the one described in the AC3 | 200 /* AC-3 bit allocation. The algorithm is the one described in the AC-3 |
201 spec. */ | 201 spec. */ |
202 void ac3_parametric_bit_allocation(AC3BitAllocParameters *s, uint8_t *bap, | 202 void ac3_parametric_bit_allocation(AC3BitAllocParameters *s, uint8_t *bap, |
203 int8_t *exp, int start, int end, | 203 int8_t *exp, int start, int end, |
204 int snr_offset, int fast_gain, int is_lfe, | 204 int snr_offset, int fast_gain, int is_lfe, |
205 int dba_mode, int dba_nsegs, | 205 int dba_mode, int dba_nsegs, |