Lines Matching refs:AC3_MAX_COEFS
398 int chan_size = AC3_MAX_COEFS * s->num_blocks * (s->channels - ch + 1); in extract_exponents()
437 exp += AC3_MAX_COEFS; in compute_exp_strategy()
438 for (blk = 1; blk < s->num_blocks; blk++, exp += AC3_MAX_COEFS) { in compute_exp_strategy()
451 exp_diff = s->mecc.sad[0](NULL, exp, exp - AC3_MAX_COEFS, 16, 16); in compute_exp_strategy()
453 …xp_diff > (EXP_DIFF_THRESHOLD * (s->blocks[blk].end_freq[ch] - s->start_freq[ch]) / AC3_MAX_COEFS)) in compute_exp_strategy()
579 exp += AC3_MAX_COEFS; in encode_exponents()
597 AC3_MAX_COEFS); in encode_exponents()
601 exp += AC3_MAX_COEFS * (num_reuse_blocks + 1); in encode_exponents()
1049 s->ref_bap[ch][blk] = ref_bap + AC3_MAX_COEFS * s->exp_ref_block[ch][blk]; in reset_block_bap()
1050 ref_bap += AC3_MAX_COEFS * s->num_blocks; in reset_block_bap()
2357 fbw_coeffs = s->cutoff * 2 * AC3_MAX_COEFS / s->sample_rate; in set_bandwidth()
2425 int total_coefs = AC3_MAX_COEFS * channel_blocks; in allocate_buffers()
2467 block->psd[ch] = &s->psd_buffer [AC3_MAX_COEFS * (blk * channels + ch)]; in allocate_buffers()
2470 block->qmant[ch] = &s->qmant_buffer [AC3_MAX_COEFS * (blk * channels + ch)]; in allocate_buffers()
2477 … block->exp[ch] = &s->exp_buffer [AC3_MAX_COEFS * (s->num_blocks * ch + blk)]; in allocate_buffers()
2478 … block->mdct_coef[ch] = &s->mdct_coef_buffer [AC3_MAX_COEFS * (s->num_blocks * ch + blk)]; in allocate_buffers()
2490 … block->fixed_coef[ch] = &s->fixed_coef_buffer[AC3_MAX_COEFS * (s->num_blocks * ch + blk)]; in allocate_buffers()