Lines Matching refs:fcb
1052 * @param fcb structure containing fixed codebook vector info
1056 int block_idx, AMRFixed *fcb)
1073 pulse_off += fcb->pitch_lag;
1095 for (idx = pulse_off; idx < MAX_FRAMESIZE / 2; idx += fcb->pitch_lag) {
1111 for (idx = pulse_start; idx < 0; idx += fcb->pitch_lag) ;
1128 fcb->x[fcb->n] = start_off;
1129 fcb->y[fcb->n] = get_bits1(gb) ? -1.0 : 1.0;
1130 fcb->n++;
1133 n = (MAX_FRAMESIZE / 2 - start_off) % fcb->pitch_lag;
1134 s->aw_next_pulse_off_cache = n ? fcb->pitch_lag - n : 0;
1143 * @param fcb storage location for fixed codebook pulse info
1146 int block_idx, AMRFixed *fcb)
1167 fcb->y[fcb->n] = (val & v_mask) ? -1.0 : 1.0;
1168 fcb->x[fcb->n] = (val & i_mask) * n_pulses + n +
1170 while (fcb->x[fcb->n] < 0)
1171 fcb->x[fcb->n] += fcb->pitch_lag;
1172 if (fcb->x[fcb->n] < MAX_FRAMESIZE / 2)
1173 fcb->n++;
1184 fcb->no_repeat_mask |= 3 << fcb->n;
1185 fcb->x[fcb->n] = idx - delta;
1186 fcb->y[fcb->n] = v;
1187 fcb->x[fcb->n + 1] = idx;
1188 fcb->y[fcb->n + 1] = (val & 1) ? -v : v;
1189 fcb->n += 2;
1284 AMRFixed fcb;
1289 fcb.pitch_lag = block_pitch_sh2 >> 2;
1290 fcb.pitch_fac = 1.0;
1291 fcb.no_repeat_mask = 0;
1292 fcb.n = 0;
1297 aw_pulse_set1(s, gb, block_idx, &fcb);
1298 if (aw_pulse_set2(s, gb, block_idx, &fcb)) {
1313 fcb.no_repeat_mask = -1;
1322 fcb.x[fcb.n] = n + 5 * pos1;
1323 fcb.y[fcb.n++] = sign;
1326 fcb.x[fcb.n] = n + 5 * pos2;
1327 fcb.y[fcb.n++] = (pos1 < pos2) ? -sign : sign;
1331 ff_set_fixed_vector(pulses, &fcb, 1.0, size);