Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
H A Dac3enc_template.c130 cpl_start = s->start_freq[CPL_CH] - 1; in apply_channel_coupling()
137 CoefType *cpl_coef = &block->mdct_coef[CPL_CH][cpl_start]; in apply_channel_coupling()
156 i = s->start_freq[CPL_CH]; in apply_channel_coupling()
159 for (ch = CPL_CH; ch <= s->fbw_channels; ch++) { in apply_channel_coupling()
162 if (!block->cpl_in_use || (ch > CPL_CH && !block->channel_in_cpl[ch])) in apply_channel_coupling()
184 energy[blk][CPL_CH][bnd]); in apply_channel_coupling()
243 energy_cpl = energy[blk][CPL_CH][bnd]; in apply_channel_coupling()
248 energy_cpl += energy[blk1][CPL_CH][bnd]; in apply_channel_coupling()
334 block->num_rematrixing_bands -= (s->start_freq[CPL_CH] <= 61); in compute_rematrixing_strategy()
335 block->num_rematrixing_bands -= (s->start_freq[CPL_CH] in compute_rematrixing_strategy()
[all...]
H A Dac3dec.c499 bin = s->start_freq[CPL_CH]; in calc_transform_coeffs_cpl()
508 MULH(s->fixed_coeffs[CPL_CH][bin] * (1 << 4), cpl_coord); in calc_transform_coeffs_cpl()
543 int dither = (ch_index == CPL_CH) || s->dither_flag[ch_index]; in ac3_decode_transform_coeffs_ch()
622 for (i = s->start_freq[CPL_CH]; i < s->end_freq[CPL_CH]; i++) { in remove_dithering()
623 if (!s->bap[CPL_CH][i]) in remove_dithering()
665 decode_transform_coeffs_ch(s, blk, CPL_CH, &m); in decode_transform_coeffs()
669 end = s->end_freq[CPL_CH]; in decode_transform_coeffs()
1023 s->start_freq[CPL_CH] = cpl_start_subband * 12 + 37; in coupling_strategy()
1024 s->end_freq[CPL_CH] in coupling_strategy()
[all...]
H A Dac3enc.c383 block->end_freq[ch] = s->start_freq[CPL_CH]; in ff_ac3_compute_coupling_strategy()
493 if (ch == CPL_CH) { in compute_exp_strategy()
507 if (ch == CPL_CH && exp_diff > (EXP_DIFF_THRESHOLD * (s->blocks[blk].end_freq[ch] - s->start_freq[ch]) / AC3_MAX_COEFS)) in compute_exp_strategy()
509 else if (ch > CPL_CH && exp_diff > EXP_DIFF_THRESHOLD) in compute_exp_strategy()
628 cpl = (ch == CPL_CH); in encode_exponents()
678 int cpl = (ch == CPL_CH); in count_exponent_bits()
714 cpl = (ch == CPL_CH); in ac3_group_exponents()
1147 if (ch == CPL_CH && !block->cpl_in_use) in count_mantissa_bits_update_ch()
1434 ch = CPL_CH; in ac3_quantize_mantissas()
1441 if (ch == CPL_CH) in ac3_quantize_mantissas()
[all...]
H A Dac3defs.h27 #define CPL_CH 0 /**< coupling channel index */ macro
H A Deac3dec.c495 s->dither_flag[CPL_CH] = s->dither_flag[s->lfe_ch] = 0; in ff_eac3_parse_header()
563 s->channel_uses_aht[CPL_CH]=0; in ff_eac3_parse_header()

Completed in 8 milliseconds