bit_alloc 778 libavcodec/ac3enc.c s->bit_alloc.slow_decay = ff_ac3_slow_decay_tab[s->slow_decay_code] >> s->bit_alloc.sr_shift; bit_alloc 779 libavcodec/ac3enc.c s->bit_alloc.fast_decay = ff_ac3_fast_decay_tab[s->fast_decay_code] >> s->bit_alloc.sr_shift; bit_alloc 780 libavcodec/ac3enc.c s->bit_alloc.slow_gain = ff_ac3_slow_gain_tab[s->slow_gain_code]; bit_alloc 781 libavcodec/ac3enc.c s->bit_alloc.db_per_bit = ff_ac3_db_per_bit_tab[s->db_per_bit_code]; bit_alloc 782 libavcodec/ac3enc.c s->bit_alloc.floor = ff_ac3_floor_tab[s->floor_code]; bit_alloc 783 libavcodec/ac3enc.c s->bit_alloc.cpl_fast_leak = 0; bit_alloc 784 libavcodec/ac3enc.c s->bit_alloc.cpl_slow_leak = 0; bit_alloc 955 libavcodec/ac3enc.c ff_ac3_bit_alloc_calc_mask(&s->bit_alloc, block->band_psd[ch], bit_alloc 1082 libavcodec/ac3enc.c snr_offset, s->bit_alloc.floor, bit_alloc 1110 libavcodec/ac3enc.c if (bit_alloc(s, 1023) <= bits_left) bit_alloc 1115 libavcodec/ac3enc.c bit_alloc(s, snr_offset) > bits_left) { bit_alloc 1124 libavcodec/ac3enc.c bit_alloc(s, snr_offset + snr_incr) <= bits_left) { bit_alloc 1335 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->bit_alloc.sr_code); bit_alloc 1534 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->bit_alloc.cpl_fast_leak); bit_alloc 1535 libavcodec/ac3enc.c put_bits(&s->pb, 3, s->bit_alloc.cpl_slow_leak); bit_alloc 2139 libavcodec/ac3enc.c s->bit_alloc.sr_shift = i / 3; bit_alloc 2140 libavcodec/ac3enc.c s->bit_alloc.sr_code = i % 3; bit_alloc 2141 libavcodec/ac3enc.c s->bitstream_id = s->eac3 ? 16 : 8 + s->bit_alloc.sr_shift; bit_alloc 2206 libavcodec/ac3enc.c int br = (ff_ac3_bitrate_tab[i] >> s->bit_alloc.sr_shift) * 1000; bit_alloc 2218 libavcodec/ac3enc.c s->frame_size_min = 2 * ff_ac3_frame_size_tab[s->frame_size_code][s->bit_alloc.sr_code]; bit_alloc 2264 libavcodec/ac3enc.c s->bandwidth_code = ac3_bandwidth_tab[s->fbw_channels-1][s->bit_alloc.sr_code][s->frame_size_code/2]; bit_alloc 2285 libavcodec/ac3enc.c cpl_start = ac3_coupling_start_tab[s->channel_mode-2][s->bit_alloc.sr_code][s->frame_size_code/2]; bit_alloc 2451 libavcodec/ac3enc.c if (s->bit_alloc.sr_code == 1) { bit_alloc 228 libavcodec/ac3enc.h AC3BitAllocParameters bit_alloc; ///< bit allocation parameters bit_alloc 389 libavcodec/ac3enc_template.c if (s->bit_alloc.sr_code == 1 || s->eac3) bit_alloc 139 libavcodec/eac3enc.c if (s->bit_alloc.sr_shift) { bit_alloc 141 libavcodec/eac3enc.c put_bits(&s->pb, 2, s->bit_alloc.sr_code); /* sample rate code */ bit_alloc 143 libavcodec/eac3enc.c put_bits(&s->pb, 2, s->bit_alloc.sr_code); /* sample rate code */ bit_alloc 574 libavcodec/mpegaudiodec_template.c unsigned char bit_alloc[MPA_MAX_CHANNELS][SBLIMIT]; bit_alloc 601 libavcodec/mpegaudiodec_template.c bit_alloc[ch][i] = get_bits(&s->gb, bit_alloc_bits); bit_alloc 607 libavcodec/mpegaudiodec_template.c bit_alloc[0][i] = v; bit_alloc 608 libavcodec/mpegaudiodec_template.c bit_alloc[1][i] = v; bit_alloc 615 libavcodec/mpegaudiodec_template.c if (bit_alloc[ch][i]) bit_alloc 623 libavcodec/mpegaudiodec_template.c if (bit_alloc[ch][i]) { bit_alloc 659 libavcodec/mpegaudiodec_template.c b = bit_alloc[ch][i]; bit_alloc 696 libavcodec/mpegaudiodec_template.c b = bit_alloc[0][i]; bit_alloc 511 libavcodec/mpegaudioenc_template.c unsigned char bit_alloc[MPA_MAX_CHANNELS][SBLIMIT], bit_alloc 522 libavcodec/mpegaudioenc_template.c memset(bit_alloc, 0, s->nb_channels * SBLIMIT); bit_alloc 561 libavcodec/mpegaudioenc_template.c bit_alloc[max_ch][max_sb]); bit_alloc 576 libavcodec/mpegaudioenc_template.c b = bit_alloc[max_ch][max_sb]; bit_alloc 583 libavcodec/mpegaudioenc_template.c b = ++bit_alloc[max_ch][max_sb]; bit_alloc 606 libavcodec/mpegaudioenc_template.c unsigned char bit_alloc[MPA_MAX_CHANNELS][SBLIMIT], bit_alloc 635 libavcodec/mpegaudioenc_template.c put_bits(p, bit_alloc_bits, bit_alloc[ch][i]); bit_alloc 643 libavcodec/mpegaudioenc_template.c if (bit_alloc[ch][i]) bit_alloc 651 libavcodec/mpegaudioenc_template.c if (bit_alloc[ch][i]) { bit_alloc 680 libavcodec/mpegaudioenc_template.c b = bit_alloc[ch][i]; bit_alloc 750 libavcodec/mpegaudioenc_template.c unsigned char bit_alloc[MPA_MAX_CHANNELS][SBLIMIT]; bit_alloc 764 libavcodec/mpegaudioenc_template.c compute_bit_allocation(s, smr, bit_alloc, &padding); bit_alloc 771 libavcodec/mpegaudioenc_template.c encode_frame(s, bit_alloc, padding);