mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Cosmetics: Rename some variables to be more descriptive of their use.
Originally committed as revision 20046 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8a547c25a0
commit
84cb4bc6a2
@ -268,16 +268,14 @@ void ac3_parametric_bit_allocation(AC3BitAllocParameters *s, uint8_t *bap,
|
|||||||
av_cold void ac3_common_init(void)
|
av_cold void ac3_common_init(void)
|
||||||
{
|
{
|
||||||
#if !CONFIG_HARDCODED_TABLES
|
#if !CONFIG_HARDCODED_TABLES
|
||||||
int i, k, l;
|
|
||||||
/* compute bndtab and masktab from bandsz */
|
/* compute bndtab and masktab from bandsz */
|
||||||
k = 0;
|
int bin = 0, band;
|
||||||
l = 0;
|
for (band = 0; band < 50; band++) {
|
||||||
for (i = 0; i < 50; i++) {
|
int band_end = bin + ff_ac3_critical_band_size_tab[band];
|
||||||
band_start_tab[i] = k;
|
band_start_tab[band] = bin;
|
||||||
l = k + ff_ac3_critical_band_size_tab[i];
|
while (bin < band_end)
|
||||||
while (k < l)
|
bin_to_band_tab[bin++] = band;
|
||||||
bin_to_band_tab[k++] = i;
|
|
||||||
}
|
}
|
||||||
band_start_tab[50] = k;
|
band_start_tab[50] = bin;
|
||||||
#endif /* !CONFIG_HARDCODED_TABLES */
|
#endif /* !CONFIG_HARDCODED_TABLES */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user