• Home
  • Raw
  • Download

Lines Matching refs:ltp

318       ixheaacd_init_ltp_object(&(ptr_ics_info->ltp));  in ixheaacd_ltp_decode()
319 ptr_ics_info->ltp.data_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_ltp_decode()
320 if (ptr_ics_info->ltp.data_present) { in ixheaacd_ltp_decode()
322 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ltp_decode()
387 ixheaacd_init_ltp_object(&(ptr_ics_info->ltp)); in ixheaacd_ics_read()
389 if ((ptr_ics_info->ltp.data_present = in ixheaacd_ics_read()
393 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ics_read()
413 if ((ptr_ics_info->ltp.data_present = in ixheaacd_ics_read()
417 &(ptr_ics_info->ltp), it_bit_buff, in ixheaacd_ics_read()
494 ptr_ics_info->ltp.lag; in ixheaacd_individual_ch_stream()
532 aac_dec_handle->pstr_aac_dec_ch_info[ch + 1]->str_ics_info.ltp.lag = in ixheaacd_individual_ch_stream()
637 &(ptr_aac_dec_channel_info[channel]->str_ics_info.ltp); in ixheaacd_channel_pair_process()
651 &(ptr_aac_dec_channel_info[1]->str_ics_info.ltp); in ixheaacd_channel_pair_process()
1122 void ixheaacd_init_ltp_object(ltp_info *ltp) { in ixheaacd_init_ltp_object() argument
1123 ltp->data_present = 0; in ixheaacd_init_ltp_object()
1124 ltp->last_band = 0; in ixheaacd_init_ltp_object()
1126 ltp->lag_update = 0; in ixheaacd_init_ltp_object()
1127 ltp->coef = 0; in ixheaacd_init_ltp_object()
1131 ltp_info *ltp, ia_handle_bit_buf_struct bs, in ixheaacd_ltp_data() argument
1136 ltp->lag_update = ixheaacd_read_bits_buf(bs, 1); in ixheaacd_ltp_data()
1138 if (ltp->lag_update) { in ixheaacd_ltp_data()
1139 ltp->lag = (UWORD16)ixheaacd_read_bits_buf(bs, 10); in ixheaacd_ltp_data()
1142 ltp->lag = (UWORD16)ixheaacd_read_bits_buf(bs, 11); in ixheaacd_ltp_data()
1145 if (ltp->lag > (frame_len << 1)) return -1; in ixheaacd_ltp_data()
1147 ltp->coef = (UWORD8)ixheaacd_read_bits_buf(bs, 3); in ixheaacd_ltp_data()
1151 if ((ltp->short_used[w] = ixheaacd_read_bits_buf(bs, 1)) & 1) { in ixheaacd_ltp_data()
1152 ltp->short_lag_present[w] = ixheaacd_read_bits_buf(bs, 1); in ixheaacd_ltp_data()
1153 if (ltp->short_lag_present[w]) { in ixheaacd_ltp_data()
1154 ltp->short_lag[w] = (UWORD8)ixheaacd_read_bits_buf(bs, 4); in ixheaacd_ltp_data()
1159 ltp->last_band = (ics->max_sfb < MAX_LTP_SFB ? ics->max_sfb : MAX_LTP_SFB); in ixheaacd_ltp_data()
1161 for (sfb = 0; sfb < ltp->last_band; sfb++) { in ixheaacd_ltp_data()
1162 ltp->long_used[sfb] = ixheaacd_read_bits_buf(bs, 1); in ixheaacd_ltp_data()
1167 (ltp->last_band > MAX_LTP_SFB_SR_FIVE_PLUS_480)) in ixheaacd_ltp_data()
1168 ltp->last_band = MAX_LTP_SFB_SR_FIVE_PLUS_480; in ixheaacd_ltp_data()
1170 (ltp->last_band > MAX_LTP_SFB_SR_FIVE_480)) in ixheaacd_ltp_data()
1171 ltp->last_band = MAX_LTP_SFB_SR_FIVE_480; in ixheaacd_ltp_data()
1173 (ltp->last_band > MAX_LTP_SFB_SR_FIVE_LESS_480)) in ixheaacd_ltp_data()
1174 ltp->last_band = MAX_LTP_SFB_SR_FIVE_LESS_480; in ixheaacd_ltp_data()
1177 (ltp->last_band > MAX_LTP_SFB_SR_FIVE_PLUS_512)) in ixheaacd_ltp_data()
1178 ltp->last_band = MAX_LTP_SFB_SR_FIVE_PLUS_512; in ixheaacd_ltp_data()
1180 (ltp->last_band > MAX_LTP_SFB_SR_FIVE_512)) in ixheaacd_ltp_data()
1181 ltp->last_band = MAX_LTP_SFB_SR_FIVE_512; in ixheaacd_ltp_data()
1183 (ltp->last_band > MAX_LTP_SFB_SR_FIVE_LESS_512)) in ixheaacd_ltp_data()
1184 ltp->last_band = MAX_LTP_SFB_SR_FIVE_LESS_512; in ixheaacd_ltp_data()