Home
last modified time | relevance | path

Searched refs:CPL_CH (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dac3enc_template.c129 cpl_start = s->start_freq[CPL_CH] - 1; in apply_channel_coupling()
136 CoefType *cpl_coef = &block->mdct_coef[CPL_CH][cpl_start]; in apply_channel_coupling()
155 i = s->start_freq[CPL_CH]; in apply_channel_coupling()
158 for (ch = CPL_CH; ch <= s->fbw_channels; ch++) { in apply_channel_coupling()
161 if (!block->cpl_in_use || (ch > CPL_CH && !block->channel_in_cpl[ch])) in apply_channel_coupling()
183 energy[blk][CPL_CH][bnd]); in apply_channel_coupling()
242 energy_cpl = energy[blk][CPL_CH][bnd]; in apply_channel_coupling()
247 energy_cpl += energy[blk1][CPL_CH][bnd]; in apply_channel_coupling()
333 block->num_rematrixing_bands -= (s->start_freq[CPL_CH] <= 61); in compute_rematrixing_strategy()
334 block->num_rematrixing_bands -= (s->start_freq[CPL_CH] == 37); in compute_rematrixing_strategy()
Dac3dec.c482 bin = s->start_freq[CPL_CH]; in calc_transform_coeffs_cpl()
491 MULH(s->fixed_coeffs[CPL_CH][bin] * (1 << 4), cpl_coord); in calc_transform_coeffs_cpl()
526 int dither = (ch_index == CPL_CH) || s->dither_flag[ch_index]; in ac3_decode_transform_coeffs_ch()
605 for (i = s->start_freq[CPL_CH]; i < s->end_freq[CPL_CH]; i++) { in remove_dithering()
606 if (!s->bap[CPL_CH][i]) in remove_dithering()
648 decode_transform_coeffs_ch(s, blk, CPL_CH, &m); in decode_transform_coeffs()
652 end = s->end_freq[CPL_CH]; in decode_transform_coeffs()
1006 s->start_freq[CPL_CH] = cpl_start_subband * 12 + 37; in coupling_strategy()
1007 s->end_freq[CPL_CH] = cpl_end_subband * 12 + 37; in coupling_strategy()
1163 if (cpl_in_use && s->start_freq[CPL_CH] <= 61) { in decode_audio_block()
[all …]
Dac3enc.c329 block->end_freq[ch] = s->start_freq[CPL_CH]; in ff_ac3_compute_coupling_strategy()
439 if (ch == CPL_CH) { in compute_exp_strategy()
453 …if (ch == CPL_CH && exp_diff > (EXP_DIFF_THRESHOLD * (s->blocks[blk].end_freq[ch] - s->start_freq[… in compute_exp_strategy()
455 else if (ch > CPL_CH && exp_diff > EXP_DIFF_THRESHOLD) in compute_exp_strategy()
574 cpl = (ch == CPL_CH); in encode_exponents()
624 int cpl = (ch == CPL_CH); in count_exponent_bits()
660 cpl = (ch == CPL_CH); in ac3_group_exponents()
1093 if (ch == CPL_CH && !block->cpl_in_use) in count_mantissa_bits_update_ch()
1379 ch = CPL_CH; in ac3_quantize_mantissas()
1386 if (ch == CPL_CH) in ac3_quantize_mantissas()
[all …]
Dac3.h32 #define CPL_CH 0 /**< coupling channel index */ macro
Deac3dec.c494 s->dither_flag[CPL_CH] = s->dither_flag[s->lfe_ch] = 0; in ff_eac3_parse_header()
562 s->channel_uses_aht[CPL_CH]=0; in ff_eac3_parse_header()