Searched refs:sr_shift (Results 1 – 6 of 6) sorted by relevance
104 hdr->sr_shift = FFMAX(hdr->bitstream_id, 8) - 8; in ff_ac3_parse_header()105 hdr->sample_rate = ff_ac3_sample_rate_tab[hdr->sr_code] >> hdr->sr_shift; in ff_ac3_parse_header()106 hdr->bit_rate = (ff_ac3_bitrate_tab[frame_size_code>>1] * 1000) >> hdr->sr_shift; in ff_ac3_parse_header()130 hdr->sr_shift = 1; in ff_ac3_parse_header()134 hdr->sr_shift = 0; in ff_ac3_parse_header()
167 int sr_shift; member199 uint8_t sr_shift; member
186 … mask[band] = FFMAX(ff_ac3_hearing_threshold_tab[band >> s->sr_shift][s->sr_code], excite[band]); in ff_ac3_bit_alloc_calc_mask()
136 if (s->bit_alloc.sr_shift) { in ff_eac3_output_frame_header()
319 s->bit_alloc_params.sr_shift = hdr.sr_shift; in parse_frame_header()1231 …_alloc_params.slow_decay = ff_ac3_slow_decay_tab[get_bits(gbc, 2)] >> s->bit_alloc_params.sr_shift; in decode_audio_block()1232 …_alloc_params.fast_decay = ff_ac3_fast_decay_tab[get_bits(gbc, 2)] >> s->bit_alloc_params.sr_shift; in decode_audio_block()
845 s->bit_alloc.slow_decay = ff_ac3_slow_decay_tab[s->slow_decay_code] >> s->bit_alloc.sr_shift; in bit_alloc_init()846 s->bit_alloc.fast_decay = ff_ac3_fast_decay_tab[s->fast_decay_code] >> s->bit_alloc.sr_shift; in bit_alloc_init()2236 s->bit_alloc.sr_shift = i / 3; in validate_options()2238 s->bitstream_id = s->eac3 ? 16 : 8 + s->bit_alloc.sr_shift; in validate_options()2303 int br = (ff_ac3_bitrate_tab[i] >> s->bit_alloc.sr_shift) * 1000; in validate_options()