Lines Matching refs:pAacDecoderStaticChannelInfo
869 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, in CLpd_FdnsDecode() argument
947 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, UINT flags, in CLpd_TcxDecode() argument
949 FIXP_DBL *pAlfd_gains = pAacDecoderStaticChannelInfo->last_alfd_gains; in CLpd_TcxDecode()
950 ULONG *pSeed = &pAacDecoderStaticChannelInfo->nfRandomSeed; in CLpd_TcxDecode()
969 pAacDecoderStaticChannelInfo->last_tcx_pitch = find_mpitch(coeffs, lg); in CLpd_TcxDecode()
973 pAacDecoderStaticChannelInfo->last_tcx_noise_factor = tcx_noise_factor; in CLpd_TcxDecode()
976 tcx_noise_factor = pAacDecoderStaticChannelInfo->last_tcx_noise_factor; in CLpd_TcxDecode()
1040 pAacDecoderChannelInfo, pAacDecoderStaticChannelInfo, in CLpd_TcxDecode()
1063 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, int lg, in CLpd_TCX_Read() argument
1093 error = CArco_DecodeArithData(pAacDecoderStaticChannelInfo->hArCo, hBs, pSpec, in CLpd_TCX_Read()
1170 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, in CLpd_Reset() argument
1176 FDKmemclear(pAacDecoderStaticChannelInfo->old_synth, in CLpd_Reset()
1177 sizeof(pAacDecoderStaticChannelInfo->old_synth)); in CLpd_Reset()
1182 pAacDecoderStaticChannelInfo->lpc4_lsf[i] = fdk_dec_lsf_init[i]; in CLpd_Reset()
1186 FDKmemclear(pAacDecoderStaticChannelInfo->mem_bpf, in CLpd_Reset()
1187 sizeof(pAacDecoderStaticChannelInfo->mem_bpf)); in CLpd_Reset()
1189 pAacDecoderStaticChannelInfo->old_bpf_control_info = 0; in CLpd_Reset()
1191 pAacDecoderStaticChannelInfo->old_T_pf[i] = 64; in CLpd_Reset()
1192 pAacDecoderStaticChannelInfo->old_gain_pf[i] = (FIXP_DBL)0; in CLpd_Reset()
1196 CLpd_AcelpReset(&pAacDecoderStaticChannelInfo->acelp); in CLpd_Reset()
1198 pAacDecoderStaticChannelInfo->last_lpc_lost = 0; /* prev_lpc_lost */ in CLpd_Reset()
1199 pAacDecoderStaticChannelInfo->last_tcx_pitch = L_DIV; /* pitch_tcx */ in CLpd_Reset()
1200 pAacDecoderStaticChannelInfo->numLostLpdFrames = 0; /* nbLostCmpt */ in CLpd_Reset()
1209 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, in CLpdChannelStream_Read() argument
1222 int last_lpc_lost = pAacDecoderStaticChannelInfo->last_lpc_lost; in CLpdChannelStream_Read()
1225 &pAacDecoderStaticChannelInfo->concealmentInfo, 1); in CLpdChannelStream_Read()
1260 pAacDecoderStaticChannelInfo->last_core_mode; in CLpdChannelStream_Read()
1262 pAacDecoderStaticChannelInfo->last_lpd_mode; in CLpdChannelStream_Read()
1289 if (pAacDecoderStaticChannelInfo->last_core_mode != in CLpdChannelStream_Read()
1291 CLpd_Reset(pAacDecoderChannelInfo, pAacDecoderStaticChannelInfo, 0); in CLpdChannelStream_Read()
1352 pAacDecoderStaticChannelInfo, lg_table[mod[k]], in CLpdChannelStream_Read()
1371 pAacDecoderStaticChannelInfo->lpc4_lsf, in CLpdChannelStream_Read()
1378 pAacDecoderStaticChannelInfo->last_core_mode != LPD), in CLpdChannelStream_Read()
1407 &pAacDecoderStaticChannelInfo->concealmentInfo, 1)) { in CLpdChannelStream_Read()
1412 } else if (pAacDecoderStaticChannelInfo->last_lpd_mode != 0) { in CLpdChannelStream_Read()
1413 if (pAacDecoderStaticChannelInfo->last_lpd_mode == 255) { in CLpdChannelStream_Read()
1423 pAacDecoderStaticChannelInfo->lp_coeff_old[0], in CLpdChannelStream_Read()
1426 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[0]; in CLpdChannelStream_Read()
1440 if ((pAacDecoderStaticChannelInfo->last_core_mode != FD_SHORT) && in CLpdChannelStream_Read()
1442 &pAacDecoderStaticChannelInfo->concealmentInfo, 1)) { in CLpdChannelStream_Read()
1478 pAacDecoderStaticChannelInfo->last_core_mode) && in CLpdChannelStream_Read()
1479 (pAacDecoderStaticChannelInfo->last_lpc_lost == 0)) { in CLpdChannelStream_Read()
1484 pAacDecoderStaticChannelInfo->last_lpd_mode) && in CLpdChannelStream_Read()
1485 (pAacDecoderStaticChannelInfo->last_lpc_lost == 0)) { in CLpdChannelStream_Read()
1496 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, UINT flags) { in CLpdChannelStream_Decode() argument
1518 pAacDecoderStaticChannelInfo->last_tcx_gain, in CLpdChannelStream_Decode()
1519 pAacDecoderStaticChannelInfo->last_alfd_gains, in CLpdChannelStream_Decode()
1523 pAacDecoderStaticChannelInfo->last_tcx_gain_e; in CLpdChannelStream_Decode()
1527 CLpd_TcxDecode(pAacDecoderChannelInfo, pAacDecoderStaticChannelInfo, in CLpdChannelStream_Decode()
1532 pAacDecoderStaticChannelInfo->last_tcx_gain = in CLpdChannelStream_Decode()
1534 pAacDecoderStaticChannelInfo->last_tcx_gain_e = in CLpdChannelStream_Decode()
1543 pAacDecoderStaticChannelInfo->last_alfd_gains, mod[k]); in CLpdChannelStream_Decode()
1559 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, in CLpd_RenderTimeSignal() argument
1601 CLpd_Reset(pAacDecoderChannelInfo, pAacDecoderStaticChannelInfo, in CLpd_RenderTimeSignal()
1619 &pAacDecoderStaticChannelInfo->concealmentInfo, 0); in CLpd_RenderTimeSignal()
1622 if ((pAacDecoderStaticChannelInfo->last_core_mode == FD_LONG) || in CLpd_RenderTimeSignal()
1623 (pAacDecoderStaticChannelInfo->last_core_mode == FD_SHORT)) { in CLpd_RenderTimeSignal()
1624 pAacDecoderStaticChannelInfo->last_lpd_mode = 255; in CLpd_RenderTimeSignal()
1633 last_lpd_mode = pAacDecoderStaticChannelInfo->last_lpd_mode; in CLpd_RenderTimeSignal()
1634 old_tcx_gain = pAacDecoderStaticChannelInfo->last_tcx_gain; in CLpd_RenderTimeSignal()
1635 old_tcx_gain_e = pAacDecoderStaticChannelInfo->last_tcx_gain_e; in CLpd_RenderTimeSignal()
1636 old_stab = pAacDecoderStaticChannelInfo->oldStability; in CLpd_RenderTimeSignal()
1637 nLostSf = pAacDecoderStaticChannelInfo->numLostLpdFrames; in CLpd_RenderTimeSignal()
1668 pAacDecoderStaticChannelInfo->lpc4_lsf, in CLpd_RenderTimeSignal()
1669 pAacDecoderStaticChannelInfo->lsf_adaptive_mean, in CLpd_RenderTimeSignal()
1677 pAacDecoderStaticChannelInfo->lp_coeff_old[0], in CLpd_RenderTimeSignal()
1680 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[0]; in CLpd_RenderTimeSignal()
1701 if ((pAacDecoderStaticChannelInfo->last_lpd_mode == 4) && (mod[0] > 0)) { in CLpd_RenderTimeSignal()
1705 pAacDecoderStaticChannelInfo->lp_coeff_old[0], in CLpd_RenderTimeSignal()
1708 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[0]; in CLpd_RenderTimeSignal()
1712 Acelp_PreProcessing(synth_buf, pAacDecoderStaticChannelInfo->old_synth, pitch, in CLpd_RenderTimeSignal()
1713 pAacDecoderStaticChannelInfo->old_T_pf, pit_gain, in CLpd_RenderTimeSignal()
1714 pAacDecoderStaticChannelInfo->old_gain_pf, samplingRate, in CLpd_RenderTimeSignal()
1721 last_lpd_mode = pAacDecoderStaticChannelInfo->last_lpd_mode; in CLpd_RenderTimeSignal()
1722 last_last_lpd_mode = pAacDecoderStaticChannelInfo->last_last_lpd_mode; in CLpd_RenderTimeSignal()
1723 last_lpc_lost = pAacDecoderStaticChannelInfo->last_lpc_lost | last_frame_lost; in CLpd_RenderTimeSignal()
1731 pAacDecoderStaticChannelInfo->numLostLpdFrames++; in CLpd_RenderTimeSignal()
1734 (pAacDecoderStaticChannelInfo->numLostLpdFrames > 0) ? 1 : 0; in CLpd_RenderTimeSignal()
1735 pAacDecoderStaticChannelInfo->numLostLpdFrames = 0; in CLpd_RenderTimeSignal()
1751 &pAacDecoderStaticChannelInfo->IMdct, synth + nrSamples, pFacData, in CLpd_RenderTimeSignal()
1757 (pAacDecoderStaticChannelInfo->last_core_mode != FD_SHORT) || in CLpd_RenderTimeSignal()
1760 (pAacDecoderStaticChannelInfo->last_core_mode != LPD) && (k == 0), in CLpd_RenderTimeSignal()
1764 synth + nrSamples, pAacDecoderStaticChannelInfo->IMdct.overlap.time, in CLpd_RenderTimeSignal()
1765 pAacDecoderStaticChannelInfo->IMdct.ov_offset * sizeof(FIXP_DBL)); in CLpd_RenderTimeSignal()
1775 lp_prev = pAacDecoderStaticChannelInfo->lp_coeff_old[1]; in CLpd_RenderTimeSignal()
1776 lp_prev_exp = pAacDecoderStaticChannelInfo->lp_coeff_old_exp[1]; in CLpd_RenderTimeSignal()
1789 lp_prev_exp, &pAacDecoderStaticChannelInfo->acelp, lFrame, in CLpd_RenderTimeSignal()
1793 if (k == 0 && pAacDecoderStaticChannelInfo->IMdct.ov_offset != in CLpd_RenderTimeSignal()
1795 pAacDecoderStaticChannelInfo->IMdct.ov_offset = lFrame / facFB / 2; in CLpd_RenderTimeSignal()
1797 nrSamples += imdct_drain(&pAacDecoderStaticChannelInfo->IMdct, in CLpd_RenderTimeSignal()
1806 acelp_out = pAacDecoderStaticChannelInfo->IMdct.overlap.time + in CLpd_RenderTimeSignal()
1807 pAacDecoderStaticChannelInfo->IMdct.ov_offset; in CLpd_RenderTimeSignal()
1810 pAacDecoderStaticChannelInfo->IMdct.ov_offset += lDiv; in CLpd_RenderTimeSignal()
1821 pAacDecoderStaticChannelInfo->acelp.wsyn_rms = scaleValue( in CLpd_RenderTimeSignal()
1825 CLpd_TcxTDConceal(&pAacDecoderStaticChannelInfo->acelp, in CLpd_RenderTimeSignal()
1826 &pAacDecoderStaticChannelInfo->last_tcx_pitch, in CLpd_RenderTimeSignal()
1830 pAacDecoderStaticChannelInfo->numLostLpdFrames, in CLpd_RenderTimeSignal()
1832 pAacDecoderStaticChannelInfo->last_tcx_noise_factor); in CLpd_RenderTimeSignal()
1837 CLpd_AcelpDecode(&pAacDecoderStaticChannelInfo->acelp, i_offset, in CLpd_RenderTimeSignal()
1842 pAacDecoderStaticChannelInfo->numLostLpdFrames, in CLpd_RenderTimeSignal()
1856 if ((k > 0) || (pAacDecoderStaticChannelInfo->last_core_mode != in CLpd_RenderTimeSignal()
1886 &pAacDecoderStaticChannelInfo->IMdct, synth + nrSamples, in CLpd_RenderTimeSignal()
1898 &pAacDecoderStaticChannelInfo->acelp, in CLpd_RenderTimeSignal()
1922 &pAacDecoderStaticChannelInfo->IMdct, synth + nrSamples, in CLpd_RenderTimeSignal()
1951 pAacDecoderStaticChannelInfo->oldStability = in CLpd_RenderTimeSignal()
1953 FDKmemcpy(pAacDecoderStaticChannelInfo->lsf_adaptive_mean, in CLpd_RenderTimeSignal()
1961 FDKmemcpy(pAacDecoderStaticChannelInfo->lp_coeff_old[0], in CLpd_RenderTimeSignal()
1964 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[0] = in CLpd_RenderTimeSignal()
1966 FDKmemcpy(pAacDecoderStaticChannelInfo->lp_coeff_old[1], in CLpd_RenderTimeSignal()
1969 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[1] = in CLpd_RenderTimeSignal()
1978 if (mod[0] != 0 && (pAacDecoderStaticChannelInfo->old_bpf_control_info)) { in CLpd_RenderTimeSignal()
1989 pAacDecoderStaticChannelInfo->old_T_pf[n] = pitch[nbSubfrSuperfr + n]; in CLpd_RenderTimeSignal()
1990 pAacDecoderStaticChannelInfo->old_gain_pf[n] = pit_gain[nbSubfrSuperfr + n]; in CLpd_RenderTimeSignal()
1993 pAacDecoderStaticChannelInfo->old_bpf_control_info = in CLpd_RenderTimeSignal()
2003 lookahead += imdct_copy_ov_and_nr(&pAacDecoderStaticChannelInfo->IMdct, in CLpd_RenderTimeSignal()
2026 pAacDecoderStaticChannelInfo->mem_bpf); in CLpd_RenderTimeSignal()
2030 Acelp_PostProcessing(synth_buf, pAacDecoderStaticChannelInfo->old_synth, in CLpd_RenderTimeSignal()
2031 pitch, pAacDecoderStaticChannelInfo->old_T_pf, lFrame, in CLpd_RenderTimeSignal()
2035 { pAacDecoderStaticChannelInfo->last_core_mode = LPD; } in CLpd_RenderTimeSignal()
2036 pAacDecoderStaticChannelInfo->last_lpd_mode = last_lpd_mode; in CLpd_RenderTimeSignal()
2037 pAacDecoderStaticChannelInfo->last_last_lpd_mode = last_last_lpd_mode; in CLpd_RenderTimeSignal()
2038 pAacDecoderStaticChannelInfo->last_lpc_lost = last_lpc_lost; in CLpd_RenderTimeSignal()