Lines Matching refs:block_idx
1091 int block_idx, AMRFixed *fcb) in aw_pulse_set2() argument
1102 int pulse_off = s->aw_first_pulse_off[block_idx], in aw_pulse_set2()
1106 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2()
1112 if (block_idx == 0) { in aw_pulse_set2()
1116 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2()
1121 pulse_start = s->aw_n_pulses[block_idx] > 0 ? pulse_off - range / 2 : 0; in aw_pulse_set2()
1129 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2()
1144 aidx = get_bits(gb, s->aw_n_pulses[0] > 0 ? 5 - 2 * block_idx : 4); in aw_pulse_set2()
1181 int block_idx, AMRFixed *fcb) in aw_pulse_set1() argument
1183 int val = get_bits(gb, 12 - 2 * (s->aw_idx_is_ext && !block_idx)); in aw_pulse_set1()
1186 if (s->aw_n_pulses[block_idx] > 0) { in aw_pulse_set1()
1204 s->aw_first_pulse_off[block_idx]; in aw_pulse_set1()
1278 int block_idx, int size, in synth_block_hardcoded() argument
1289 r_idx = pRNG(s->frame_cntr, block_idx, size); in synth_block_hardcoded()
1309 int block_idx, int size, in synth_block_fcb_acb() argument
1332 aw_pulse_set1(s, gb, block_idx, &fcb); in synth_block_fcb_acb()
1333 if (aw_pulse_set2(s, gb, block_idx, &fcb)) { in synth_block_fcb_acb()
1337 int r_idx = pRNG(s->frame_cntr, block_idx, size); in synth_block_fcb_acb()
1390 int abs_idx = block_idx * size + n; in synth_block_fcb_acb()
1443 int block_idx, int size, in synth_block() argument
1455 synth_block_hardcoded(s, gb, block_idx, size, frame_desc, excitation); in synth_block()
1457 synth_block_fcb_acb(s, gb, block_idx, size, block_pitch_sh2, in synth_block()
1461 fac = (block_idx + 0.5) / frame_desc->n_blocks; in synth_block()