• Home
  • Raw
  • Download

Lines Matching refs:fixed_sparse

454                                    AMRFixed *fixed_sparse)  in decode_8_pulses_31bits()  argument
472 fixed_sparse->n = 8; in decode_8_pulses_31bits()
477 fixed_sparse->x[i ] = pos1; in decode_8_pulses_31bits()
478 fixed_sparse->x[i + 4] = pos2; in decode_8_pulses_31bits()
479 fixed_sparse->y[i ] = sign; in decode_8_pulses_31bits()
480 fixed_sparse->y[i + 4] = pos2 < pos1 ? -sign : sign; in decode_8_pulses_31bits()
499 static void decode_fixed_sparse(AMRFixed *fixed_sparse, const uint16_t *pulses, in decode_fixed_sparse() argument
505 ff_decode_10_pulses_35bits(pulses, fixed_sparse, gray_decode, 5, 3); in decode_fixed_sparse()
507 decode_8_pulses_31bits(pulses, fixed_sparse); in decode_fixed_sparse()
509 int *pulse_position = fixed_sparse->x; in decode_fixed_sparse()
517 fixed_sparse->n = 2; in decode_fixed_sparse()
523 fixed_sparse->n = pulse_position[0] == pulse_position[1] ? 1 : 2; in decode_fixed_sparse()
530 fixed_sparse->n = 3; in decode_fixed_sparse()
537 fixed_sparse->n = 4; in decode_fixed_sparse()
539 for (i = 0; i < fixed_sparse->n; i++) in decode_fixed_sparse()
540 fixed_sparse->y[i] = (pulses[1] >> i) & 1 ? 1.0 : -1.0; in decode_fixed_sparse()
553 AMRFixed *fixed_sparse) in pitch_sharpening() argument
561 fixed_sparse->pitch_lag = p->pitch_lag_int; in pitch_sharpening()
562 fixed_sparse->pitch_fac = p->beta; in pitch_sharpening()
719 static const float *anti_sparseness(AMRContext *p, AMRFixed *fixed_sparse, in anti_sparseness() argument
760 apply_ir_filter(out, fixed_sparse, in anti_sparseness()
959 AMRFixed fixed_sparse = {0}; // fixed vector up to anti-sparseness processing in amrnb_decode_frame() local
994 decode_fixed_sparse(&fixed_sparse, amr_subframe->pulses, in amrnb_decode_frame()
1004 pitch_sharpening(p, subframe, p->cur_frame_mode, &fixed_sparse); in amrnb_decode_frame()
1006 if (fixed_sparse.pitch_lag == 0) { in amrnb_decode_frame()
1010 ff_set_fixed_vector(p->fixed_vector, &fixed_sparse, 1.0, in amrnb_decode_frame()
1026 ff_set_fixed_vector(p->excitation, &fixed_sparse, p->fixed_gain[4], in amrnb_decode_frame()
1043 synth_fixed_vector = anti_sparseness(p, &fixed_sparse, p->fixed_vector, in amrnb_decode_frame()
1057 ff_clear_fixed_vector(p->fixed_vector, &fixed_sparse, AMR_SUBFRAME_SIZE); in amrnb_decode_frame()