Lines Matching refs:ltp
712 static void decode_ltp(AACContext *ac, LongTermPrediction *ltp,
717 ltp->lag = get_bits(gb, 11);
718 ltp->coef = ltp_coef[get_bits(gb, 3)];
720 ltp->used[sfb] = get_bits1(gb);
772 if ((ics->ltp.present = get_bits(gb, 1)))
773 decode_ltp(ac, &ics->ltp, gb, ics->max_sfb);
1511 if ((cpe->ch[1].ics.ltp.present = get_bits(gb, 1)))
1512 decode_ltp(ac, &cpe->ch[1].ics.ltp, gb, cpe->ch[1].ics.max_sfb);
1829 const LongTermPrediction *ltp = &sce->ics.ltp;
1838 if (ltp->lag < 1024)
1839 num_samples = ltp->lag + 1024;
1841 predTime[i] = sce->ltp_state[i + 2048 - ltp->lag] * ltp->coef;
1850 if (ltp->used[sfb])
2058 if (che->ch[0].ics.ltp.present)
2060 if (che->ch[1].ics.ltp.present && type == TYPE_CPE)