Lines Matching refs:pAacDecoderStaticChannelInfo

858                      CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo,  in CLpd_FdnsDecode()  argument
936 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, UINT flags, in CLpd_TcxDecode() argument
938 FIXP_DBL *pAlfd_gains = pAacDecoderStaticChannelInfo->last_alfd_gains; in CLpd_TcxDecode()
939 ULONG *pSeed = &pAacDecoderStaticChannelInfo->nfRandomSeed; in CLpd_TcxDecode()
958 pAacDecoderStaticChannelInfo->last_tcx_pitch = find_mpitch(coeffs, lg); in CLpd_TcxDecode()
962 pAacDecoderStaticChannelInfo->last_tcx_noise_factor = tcx_noise_factor; in CLpd_TcxDecode()
965 tcx_noise_factor = pAacDecoderStaticChannelInfo->last_tcx_noise_factor; in CLpd_TcxDecode()
1029 pAacDecoderChannelInfo, pAacDecoderStaticChannelInfo, in CLpd_TcxDecode()
1052 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, int lg, in CLpd_TCX_Read() argument
1082 error = CArco_DecodeArithData(pAacDecoderStaticChannelInfo->hArCo, hBs, pSpec, in CLpd_TCX_Read()
1159 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, in CLpd_Reset() argument
1165 FDKmemclear(pAacDecoderStaticChannelInfo->old_synth, in CLpd_Reset()
1166 sizeof(pAacDecoderStaticChannelInfo->old_synth)); in CLpd_Reset()
1171 pAacDecoderStaticChannelInfo->lpc4_lsf[i] = fdk_dec_lsf_init[i]; in CLpd_Reset()
1175 FDKmemclear(pAacDecoderStaticChannelInfo->mem_bpf, in CLpd_Reset()
1176 sizeof(pAacDecoderStaticChannelInfo->mem_bpf)); in CLpd_Reset()
1178 pAacDecoderStaticChannelInfo->old_bpf_control_info = 0; in CLpd_Reset()
1180 pAacDecoderStaticChannelInfo->old_T_pf[i] = 64; in CLpd_Reset()
1181 pAacDecoderStaticChannelInfo->old_gain_pf[i] = (FIXP_DBL)0; in CLpd_Reset()
1185 CLpd_AcelpReset(&pAacDecoderStaticChannelInfo->acelp); in CLpd_Reset()
1187 pAacDecoderStaticChannelInfo->last_lpc_lost = 0; /* prev_lpc_lost */ in CLpd_Reset()
1188 pAacDecoderStaticChannelInfo->last_tcx_pitch = L_DIV; /* pitch_tcx */ in CLpd_Reset()
1189 pAacDecoderStaticChannelInfo->numLostLpdFrames = 0; /* nbLostCmpt */ in CLpd_Reset()
1198 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, in CLpdChannelStream_Read() argument
1211 int last_lpc_lost = pAacDecoderStaticChannelInfo->last_lpc_lost; in CLpdChannelStream_Read()
1214 &pAacDecoderStaticChannelInfo->concealmentInfo, 1); in CLpdChannelStream_Read()
1249 pAacDecoderStaticChannelInfo->last_core_mode; in CLpdChannelStream_Read()
1251 pAacDecoderStaticChannelInfo->last_lpd_mode; in CLpdChannelStream_Read()
1278 if (pAacDecoderStaticChannelInfo->last_core_mode != in CLpdChannelStream_Read()
1280 CLpd_Reset(pAacDecoderChannelInfo, pAacDecoderStaticChannelInfo, 0); in CLpdChannelStream_Read()
1341 pAacDecoderStaticChannelInfo, lg_table[mod[k]], in CLpdChannelStream_Read()
1360 pAacDecoderStaticChannelInfo->lpc4_lsf, in CLpdChannelStream_Read()
1367 pAacDecoderStaticChannelInfo->last_core_mode != LPD), in CLpdChannelStream_Read()
1396 &pAacDecoderStaticChannelInfo->concealmentInfo, 1)) { in CLpdChannelStream_Read()
1401 } else if (pAacDecoderStaticChannelInfo->last_lpd_mode != 0) { in CLpdChannelStream_Read()
1402 if (pAacDecoderStaticChannelInfo->last_lpd_mode == 255) { in CLpdChannelStream_Read()
1412 pAacDecoderStaticChannelInfo->lp_coeff_old[0], in CLpdChannelStream_Read()
1415 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[0]; in CLpdChannelStream_Read()
1429 if ((pAacDecoderStaticChannelInfo->last_core_mode != FD_SHORT) && in CLpdChannelStream_Read()
1431 &pAacDecoderStaticChannelInfo->concealmentInfo, 1)) { in CLpdChannelStream_Read()
1467 pAacDecoderStaticChannelInfo->last_core_mode) && in CLpdChannelStream_Read()
1468 (pAacDecoderStaticChannelInfo->last_lpc_lost == 0)) { in CLpdChannelStream_Read()
1473 pAacDecoderStaticChannelInfo->last_lpd_mode) && in CLpdChannelStream_Read()
1474 (pAacDecoderStaticChannelInfo->last_lpc_lost == 0)) { in CLpdChannelStream_Read()
1485 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, UINT flags) { in CLpdChannelStream_Decode() argument
1507 pAacDecoderStaticChannelInfo->last_tcx_gain, in CLpdChannelStream_Decode()
1508 pAacDecoderStaticChannelInfo->last_alfd_gains, in CLpdChannelStream_Decode()
1512 pAacDecoderStaticChannelInfo->last_tcx_gain_e; in CLpdChannelStream_Decode()
1516 CLpd_TcxDecode(pAacDecoderChannelInfo, pAacDecoderStaticChannelInfo, in CLpdChannelStream_Decode()
1521 pAacDecoderStaticChannelInfo->last_tcx_gain = in CLpdChannelStream_Decode()
1523 pAacDecoderStaticChannelInfo->last_tcx_gain_e = in CLpdChannelStream_Decode()
1532 pAacDecoderStaticChannelInfo->last_alfd_gains, mod[k]); in CLpdChannelStream_Decode()
1548 CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, in CLpd_RenderTimeSignal() argument
1590 CLpd_Reset(pAacDecoderChannelInfo, pAacDecoderStaticChannelInfo, in CLpd_RenderTimeSignal()
1608 &pAacDecoderStaticChannelInfo->concealmentInfo, 0); in CLpd_RenderTimeSignal()
1611 if ((pAacDecoderStaticChannelInfo->last_core_mode == FD_LONG) || in CLpd_RenderTimeSignal()
1612 (pAacDecoderStaticChannelInfo->last_core_mode == FD_SHORT)) { in CLpd_RenderTimeSignal()
1613 pAacDecoderStaticChannelInfo->last_lpd_mode = 255; in CLpd_RenderTimeSignal()
1622 last_lpd_mode = pAacDecoderStaticChannelInfo->last_lpd_mode; in CLpd_RenderTimeSignal()
1623 old_tcx_gain = pAacDecoderStaticChannelInfo->last_tcx_gain; in CLpd_RenderTimeSignal()
1624 old_tcx_gain_e = pAacDecoderStaticChannelInfo->last_tcx_gain_e; in CLpd_RenderTimeSignal()
1625 old_stab = pAacDecoderStaticChannelInfo->oldStability; in CLpd_RenderTimeSignal()
1626 nLostSf = pAacDecoderStaticChannelInfo->numLostLpdFrames; in CLpd_RenderTimeSignal()
1657 pAacDecoderStaticChannelInfo->lpc4_lsf, in CLpd_RenderTimeSignal()
1658 pAacDecoderStaticChannelInfo->lsf_adaptive_mean, in CLpd_RenderTimeSignal()
1666 pAacDecoderStaticChannelInfo->lp_coeff_old[0], in CLpd_RenderTimeSignal()
1669 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[0]; in CLpd_RenderTimeSignal()
1690 if ((pAacDecoderStaticChannelInfo->last_lpd_mode == 4) && (mod[0] > 0)) { in CLpd_RenderTimeSignal()
1694 pAacDecoderStaticChannelInfo->lp_coeff_old[0], in CLpd_RenderTimeSignal()
1697 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[0]; in CLpd_RenderTimeSignal()
1701 Acelp_PreProcessing(synth_buf, pAacDecoderStaticChannelInfo->old_synth, pitch, in CLpd_RenderTimeSignal()
1702 pAacDecoderStaticChannelInfo->old_T_pf, pit_gain, in CLpd_RenderTimeSignal()
1703 pAacDecoderStaticChannelInfo->old_gain_pf, samplingRate, in CLpd_RenderTimeSignal()
1710 last_lpd_mode = pAacDecoderStaticChannelInfo->last_lpd_mode; in CLpd_RenderTimeSignal()
1711 last_last_lpd_mode = pAacDecoderStaticChannelInfo->last_last_lpd_mode; in CLpd_RenderTimeSignal()
1712 last_lpc_lost = pAacDecoderStaticChannelInfo->last_lpc_lost | last_frame_lost; in CLpd_RenderTimeSignal()
1720 pAacDecoderStaticChannelInfo->numLostLpdFrames++; in CLpd_RenderTimeSignal()
1723 (pAacDecoderStaticChannelInfo->numLostLpdFrames > 0) ? 1 : 0; in CLpd_RenderTimeSignal()
1724 pAacDecoderStaticChannelInfo->numLostLpdFrames = 0; in CLpd_RenderTimeSignal()
1740 &pAacDecoderStaticChannelInfo->IMdct, synth + nrSamples, pFacData, in CLpd_RenderTimeSignal()
1746 (pAacDecoderStaticChannelInfo->last_core_mode != FD_SHORT) || in CLpd_RenderTimeSignal()
1749 (pAacDecoderStaticChannelInfo->last_core_mode != LPD) && (k == 0), in CLpd_RenderTimeSignal()
1753 synth + nrSamples, pAacDecoderStaticChannelInfo->IMdct.overlap.time, in CLpd_RenderTimeSignal()
1754 pAacDecoderStaticChannelInfo->IMdct.ov_offset * sizeof(FIXP_DBL)); in CLpd_RenderTimeSignal()
1764 lp_prev = pAacDecoderStaticChannelInfo->lp_coeff_old[1]; in CLpd_RenderTimeSignal()
1765 lp_prev_exp = pAacDecoderStaticChannelInfo->lp_coeff_old_exp[1]; in CLpd_RenderTimeSignal()
1778 lp_prev_exp, &pAacDecoderStaticChannelInfo->acelp, lFrame, in CLpd_RenderTimeSignal()
1782 if (k == 0 && pAacDecoderStaticChannelInfo->IMdct.ov_offset != in CLpd_RenderTimeSignal()
1784 pAacDecoderStaticChannelInfo->IMdct.ov_offset = lFrame / facFB / 2; in CLpd_RenderTimeSignal()
1786 nrSamples += imdct_drain(&pAacDecoderStaticChannelInfo->IMdct, in CLpd_RenderTimeSignal()
1795 acelp_out = pAacDecoderStaticChannelInfo->IMdct.overlap.time + in CLpd_RenderTimeSignal()
1796 pAacDecoderStaticChannelInfo->IMdct.ov_offset; in CLpd_RenderTimeSignal()
1799 pAacDecoderStaticChannelInfo->IMdct.ov_offset += lDiv; in CLpd_RenderTimeSignal()
1810 pAacDecoderStaticChannelInfo->acelp.wsyn_rms = scaleValue( in CLpd_RenderTimeSignal()
1814 CLpd_TcxTDConceal(&pAacDecoderStaticChannelInfo->acelp, in CLpd_RenderTimeSignal()
1815 &pAacDecoderStaticChannelInfo->last_tcx_pitch, in CLpd_RenderTimeSignal()
1819 pAacDecoderStaticChannelInfo->numLostLpdFrames, in CLpd_RenderTimeSignal()
1821 pAacDecoderStaticChannelInfo->last_tcx_noise_factor); in CLpd_RenderTimeSignal()
1826 CLpd_AcelpDecode(&pAacDecoderStaticChannelInfo->acelp, i_offset, in CLpd_RenderTimeSignal()
1831 pAacDecoderStaticChannelInfo->numLostLpdFrames, in CLpd_RenderTimeSignal()
1845 if ((k > 0) || (pAacDecoderStaticChannelInfo->last_core_mode != in CLpd_RenderTimeSignal()
1875 &pAacDecoderStaticChannelInfo->IMdct, synth + nrSamples, in CLpd_RenderTimeSignal()
1887 &pAacDecoderStaticChannelInfo->acelp, in CLpd_RenderTimeSignal()
1911 &pAacDecoderStaticChannelInfo->IMdct, synth + nrSamples, in CLpd_RenderTimeSignal()
1940 pAacDecoderStaticChannelInfo->oldStability = in CLpd_RenderTimeSignal()
1942 FDKmemcpy(pAacDecoderStaticChannelInfo->lsf_adaptive_mean, in CLpd_RenderTimeSignal()
1950 FDKmemcpy(pAacDecoderStaticChannelInfo->lp_coeff_old[0], in CLpd_RenderTimeSignal()
1953 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[0] = in CLpd_RenderTimeSignal()
1955 FDKmemcpy(pAacDecoderStaticChannelInfo->lp_coeff_old[1], in CLpd_RenderTimeSignal()
1958 pAacDecoderStaticChannelInfo->lp_coeff_old_exp[1] = in CLpd_RenderTimeSignal()
1967 if (mod[0] != 0 && (pAacDecoderStaticChannelInfo->old_bpf_control_info)) { in CLpd_RenderTimeSignal()
1978 pAacDecoderStaticChannelInfo->old_T_pf[n] = pitch[nbSubfrSuperfr + n]; in CLpd_RenderTimeSignal()
1979 pAacDecoderStaticChannelInfo->old_gain_pf[n] = pit_gain[nbSubfrSuperfr + n]; in CLpd_RenderTimeSignal()
1982 pAacDecoderStaticChannelInfo->old_bpf_control_info = in CLpd_RenderTimeSignal()
1992 lookahead += imdct_copy_ov_and_nr(&pAacDecoderStaticChannelInfo->IMdct, in CLpd_RenderTimeSignal()
2014 pTimeData, pAacDecoderStaticChannelInfo->mem_bpf); in CLpd_RenderTimeSignal()
2018 Acelp_PostProcessing(synth_buf, pAacDecoderStaticChannelInfo->old_synth, in CLpd_RenderTimeSignal()
2019 pitch, pAacDecoderStaticChannelInfo->old_T_pf, lFrame, in CLpd_RenderTimeSignal()
2023 { pAacDecoderStaticChannelInfo->last_core_mode = LPD; } in CLpd_RenderTimeSignal()
2024 pAacDecoderStaticChannelInfo->last_lpd_mode = last_lpd_mode; in CLpd_RenderTimeSignal()
2025 pAacDecoderStaticChannelInfo->last_last_lpd_mode = last_last_lpd_mode; in CLpd_RenderTimeSignal()
2026 pAacDecoderStaticChannelInfo->last_lpc_lost = last_lpc_lost; in CLpd_RenderTimeSignal()