Lines Matching refs:block_idx
1090 int block_idx, AMRFixed *fcb) in aw_pulse_set2() argument
1101 int pulse_off = s->aw_first_pulse_off[block_idx], in aw_pulse_set2()
1105 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2()
1111 if (block_idx == 0) { in aw_pulse_set2()
1115 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2()
1120 pulse_start = s->aw_n_pulses[block_idx] > 0 ? pulse_off - range / 2 : 0; in aw_pulse_set2()
1128 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2()
1143 aidx = get_bits(gb, s->aw_n_pulses[0] > 0 ? 5 - 2 * block_idx : 4); in aw_pulse_set2()
1180 int block_idx, AMRFixed *fcb) in aw_pulse_set1() argument
1182 int val = get_bits(gb, 12 - 2 * (s->aw_idx_is_ext && !block_idx)); in aw_pulse_set1()
1185 if (s->aw_n_pulses[block_idx] > 0) { in aw_pulse_set1()
1203 s->aw_first_pulse_off[block_idx]; in aw_pulse_set1()
1277 int block_idx, int size, in synth_block_hardcoded() argument
1288 r_idx = pRNG(s->frame_cntr, block_idx, size); in synth_block_hardcoded()
1308 int block_idx, int size, in synth_block_fcb_acb() argument
1331 aw_pulse_set1(s, gb, block_idx, &fcb); in synth_block_fcb_acb()
1332 if (aw_pulse_set2(s, gb, block_idx, &fcb)) { in synth_block_fcb_acb()
1336 int r_idx = pRNG(s->frame_cntr, block_idx, size); in synth_block_fcb_acb()
1389 int abs_idx = block_idx * size + n; in synth_block_fcb_acb()
1442 int block_idx, int size, in synth_block() argument
1454 synth_block_hardcoded(s, gb, block_idx, size, frame_desc, excitation); in synth_block()
1456 synth_block_fcb_acb(s, gb, block_idx, size, block_pitch_sh2, in synth_block()
1460 fac = (block_idx + 0.5) / frame_desc->n_blocks; in synth_block()