Lines Matching refs:fcb
1048 * @param fcb structure containing fixed codebook vector info
1051 int block_idx, AMRFixed *fcb)
1068 pulse_off += fcb->pitch_lag;
1090 for (idx = pulse_off; idx < MAX_FRAMESIZE / 2; idx += fcb->pitch_lag) {
1106 for (idx = pulse_start; idx < 0; idx += fcb->pitch_lag) ;
1123 fcb->x[fcb->n] = start_off;
1124 fcb->y[fcb->n] = get_bits1(gb) ? -1.0 : 1.0;
1125 fcb->n++;
1128 n = (MAX_FRAMESIZE / 2 - start_off) % fcb->pitch_lag;
1129 s->aw_next_pulse_off_cache = n ? fcb->pitch_lag - n : 0;
1137 * @param fcb storage location for fixed codebook pulse info
1140 int block_idx, AMRFixed *fcb)
1161 fcb->y[fcb->n] = (val & v_mask) ? -1.0 : 1.0;
1162 fcb->x[fcb->n] = (val & i_mask) * n_pulses + n +
1164 while (fcb->x[fcb->n] < 0)
1165 fcb->x[fcb->n] += fcb->pitch_lag;
1166 if (fcb->x[fcb->n] < MAX_FRAMESIZE / 2)
1167 fcb->n++;
1178 fcb->no_repeat_mask |= 3 << fcb->n;
1179 fcb->x[fcb->n] = idx - delta;
1180 fcb->y[fcb->n] = v;
1181 fcb->x[fcb->n + 1] = idx;
1182 fcb->y[fcb->n + 1] = (val & 1) ? -v : v;
1183 fcb->n += 2;
1278 AMRFixed fcb;
1283 fcb.pitch_lag = block_pitch_sh2 >> 2;
1284 fcb.pitch_fac = 1.0;
1285 fcb.no_repeat_mask = 0;
1286 fcb.n = 0;
1291 aw_pulse_set1(s, gb, block_idx, &fcb);
1292 aw_pulse_set2(s, gb, block_idx, &fcb);
1296 fcb.no_repeat_mask = -1;
1305 fcb.x[fcb.n] = n + 5 * pos1;
1306 fcb.y[fcb.n++] = sign;
1309 fcb.x[fcb.n] = n + 5 * pos2;
1310 fcb.y[fcb.n++] = (pos1 < pos2) ? -sign : sign;
1314 ff_set_fixed_vector(pulses, &fcb, 1.0, size);