Home
last modified time | relevance | path

Searched refs:cpl_in_use (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dac3enc_template.c137 if (!block->cpl_in_use) in apply_channel_coupling()
161 if (!block->cpl_in_use || (ch > CPL_CH && !block->channel_in_cpl[ch])) in apply_channel_coupling()
176 if (!block->cpl_in_use) in apply_channel_coupling()
195 if (block->cpl_in_use) { in apply_channel_coupling()
201 if (blk == 0 || !block0->cpl_in_use) { in apply_channel_coupling()
233 if (!block->cpl_in_use) { in apply_channel_coupling()
246 if (s->blocks[blk1].cpl_in_use) { in apply_channel_coupling()
261 if (!block->cpl_in_use) in apply_channel_coupling()
332 if (block->cpl_in_use) { in compute_rematrixing_strategy()
Dac3enc.c294 block->cpl_in_use = block->num_cpl_channels > 1; in ff_ac3_compute_coupling_strategy()
295 num_cpl_blocks += block->cpl_in_use; in ff_ac3_compute_coupling_strategy()
296 if (!block->cpl_in_use) { in ff_ac3_compute_coupling_strategy()
313 if (!blk || (block->cpl_in_use && !got_cpl_snr)) { in ff_ac3_compute_coupling_strategy()
315 if (block->cpl_in_use) in ff_ac3_compute_coupling_strategy()
440 if (!s->blocks[blk-1].cpl_in_use) { in compute_exp_strategy()
443 } else if (!s->blocks[blk].cpl_in_use) { in compute_exp_strategy()
578 if (cpl && !block->cpl_in_use) { in encode_exponents()
622 for (ch = !block->cpl_in_use; ch <= s->channels; ch++) { in count_exponent_bits()
656 for (ch = !block->cpl_in_use; ch <= s->channels; ch++) { in ac3_group_exponents()
[all …]
Dac3dec.c967 s->cpl_in_use[blk] = get_bits1(bc); in coupling_strategy()
968 if (s->cpl_in_use[blk]) { in coupling_strategy()
1080 int cpl_in_use; in decode_audio_block() local
1148 s->cpl_in_use[blk] = s->cpl_in_use[blk-1]; in decode_audio_block()
1151 cpl_in_use = s->cpl_in_use[blk]; in decode_audio_block()
1154 if (cpl_in_use) { in decode_audio_block()
1163 if (cpl_in_use && s->start_freq[CPL_CH] <= 61) { in decode_audio_block()
1178 for (ch = !cpl_in_use; ch <= s->channels; ch++) { in decode_audio_block()
1209 if (cpl_in_use && s->exp_strategy[blk][CPL_CH] != EXP_REUSE) { in decode_audio_block()
1215 for (ch = !cpl_in_use; ch <= s->channels; ch++) { in decode_audio_block()
[all …]
Deac3dec.c517 s->cpl_in_use[blk] = get_bits1(gbc); in ff_eac3_parse_header()
519 s->cpl_in_use[blk] = s->cpl_in_use[blk-1]; in ff_eac3_parse_header()
521 num_cpl_blocks += s->cpl_in_use[blk]; in ff_eac3_parse_header()
524 memset(s->cpl_in_use, 0, sizeof(s->cpl_in_use)); in ff_eac3_parse_header()
531 for (ch = !s->cpl_in_use[blk]; ch <= s->fbw_channels; ch++) { in ff_eac3_parse_header()
Deac3enc.c117 if (block->cpl_in_use) { in ff_eac3_set_cpl_states()
210 put_bits(&s->pb, 1, s->blocks[0].cpl_in_use); in ff_eac3_output_frame_header()
215 put_bits(&s->pb, 1, block->cpl_in_use); in ff_eac3_output_frame_header()
224 for (ch = !s->blocks[blk].cpl_in_use; ch <= s->fbw_channels; ch++) in ff_eac3_output_frame_header()
Dac3dec.h128 int cpl_in_use[AC3_MAX_BLOCKS]; ///< coupling in use (cplinu) member
Dac3enc.h141 int cpl_in_use; ///< coupling in use for this block (cplinu) member