• Home
  • Raw
  • Download

Lines Matching refs:asc

1485 CAacDecoder_Init(HANDLE_AACDECODER self, const CSAudioSpecificConfig *asc,  in CAacDecoder_Init()  argument
1506 switch (asc->m_aot) { in CAacDecoder_Init()
1511 if (asc->m_sc.m_gaSpecificConfig.m_layer > 0) { in CAacDecoder_Init()
1534 if (CProgramConfig_IsValid(&self->pce) && (asc->m_channelConfiguration > 0)) { in CAacDecoder_Init()
1541 CProgramConfig_GetDefault(tmpPce, asc->m_channelConfiguration); in CAacDecoder_Init()
1554 switch (asc->m_channelConfiguration) { in CAacDecoder_Init()
1556 switch (asc->m_aot) { in CAacDecoder_Init()
1559 ascChannels = asc->m_sc.m_usacConfig.m_nUsacChannels; in CAacDecoder_Init()
1563 if (CProgramConfig_IsValid(&asc->m_progrConfigElement)) { in CAacDecoder_Init()
1564 ascChannels = asc->m_progrConfigElement.NumChannels; in CAacDecoder_Init()
1569 FDKmemcpy(&self->pce, &asc->m_progrConfigElement, in CAacDecoder_Init()
1573 &asc->m_progrConfigElement, self->elements, (((8)) + (8)), in CAacDecoder_Init()
1595 ascChannels = asc->m_channelConfiguration; in CAacDecoder_Init()
1609 if (asc->m_aot == AOT_USAC) { in CAacDecoder_Init()
1617 if (IS_USAC(asc->m_aot)) { in CAacDecoder_Init()
1618 for (int el = 0; el < (INT)asc->m_sc.m_usacConfig.m_usacNumElements; el++) { in CAacDecoder_Init()
1621 if (asc->m_sc.m_usacConfig.element[el].m_stereoConfigIndex == 1) { in CAacDecoder_Init()
1624 } else if (asc->m_sc.m_usacConfig.element[el].m_stereoConfigIndex == 2) { in CAacDecoder_Init()
1630 if (asc->m_sc.m_usacConfig.element[el].m_harmonicSBR) { in CAacDecoder_Init()
1631 usacResidualDelayCompSamples += asc->m_samplesPerFrame; in CAacDecoder_Init()
1633 if (asc->m_sc.m_usacConfig.m_coreSbrFrameLengthIndex == 4) { in CAacDecoder_Init()
1647 (asc->m_channelConfiguration > AACDEC_MAX_CH_CONF)) { in CAacDecoder_Init()
1655 if ((asc->m_channelConfiguration > 0) || IS_USAC(asc->m_aot)) { in CAacDecoder_Init()
1656 if (IS_USAC(asc->m_aot)) { in CAacDecoder_Init()
1661 self->pUsacConfig[streamIndex] = &asc->m_sc.m_usacConfig; in CAacDecoder_Init()
1670 asc->m_sc.m_usacConfig.m_usacNumElements) { in CAacDecoder_Init()
1676 asc->m_sc.m_usacConfig.m_usacNumElements; in CAacDecoder_Init()
1689 asc->m_sc.m_usacConfig.element[_el].m_stereoConfigIndex) { in CAacDecoder_Init()
1697 asc->m_sc.m_usacConfig.element[_el].m_stereoConfigIndex; in CAacDecoder_Init()
1704 (asc->m_sc.m_usacConfig.element[_el].m_noiseFilling) in CAacDecoder_Init()
1708 (asc->m_sc.m_usacConfig.element[_el].m_stereoConfigIndex > 0) in CAacDecoder_Init()
1711 self->elFlags[el] |= (asc->m_sc.m_usacConfig.element[_el].m_interTes) in CAacDecoder_Init()
1715 (asc->m_sc.m_usacConfig.element[_el].m_pvc) ? AC_EL_USAC_PVC : 0; in CAacDecoder_Init()
1717 (asc->m_sc.m_usacConfig.element[_el].usacElementType == ID_USAC_LFE) in CAacDecoder_Init()
1721 (asc->m_sc.m_usacConfig.element[_el].usacElementType == ID_USAC_LFE) in CAacDecoder_Init()
1724 if ((asc->m_sc.m_usacConfig.element[_el].usacElementType == in CAacDecoder_Init()
1733 self->hasAudioPreRoll = asc->m_sc.m_usacConfig.element[0] in CAacDecoder_Init()
1745 self->elements[i] = elementsTab[asc->m_channelConfiguration - 1][i]; in CAacDecoder_Init()
1763 self->chMapIndex = asc->m_channelConfiguration; in CAacDecoder_Init()
1765 if (CProgramConfig_IsValid(&asc->m_progrConfigElement)) { in CAacDecoder_Init()
1768 self->hPcmUtils, asc->m_progrConfigElement.MatrixMixdownIndexPresent, in CAacDecoder_Init()
1769 asc->m_progrConfigElement.MatrixMixdownIndex, in CAacDecoder_Init()
1770 asc->m_progrConfigElement.PseudoSurroundEnable); in CAacDecoder_Init()
1774 self->streamInfo.channelConfig = asc->m_channelConfiguration; in CAacDecoder_Init()
1776 if (self->streamInfo.aot != asc->m_aot) { in CAacDecoder_Init()
1778 self->streamInfo.aot = asc->m_aot; in CAacDecoder_Init()
1783 if (asc->m_aot == AOT_ER_AAC_ELD && in CAacDecoder_Init()
1784 asc->m_sc.m_eldSpecificConfig.m_downscaledSamplingFrequency != 0) { in CAacDecoder_Init()
1786 asc->m_sc.m_eldSpecificConfig.m_downscaledSamplingFrequency || in CAacDecoder_Init()
1788 asc->m_samplingFrequency) { in CAacDecoder_Init()
1792 asc->m_samplingFrequency / in CAacDecoder_Init()
1793 asc->m_sc.m_eldSpecificConfig.m_downscaledSamplingFrequency; in CAacDecoder_Init()
1812 if ((INT)asc->m_samplesPerFrame % downscaleFactor != 0) { in CAacDecoder_Init()
1819 if (asc->m_aot == AOT_ER_AAC_ELD) { in CAacDecoder_Init()
1821 asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign) { in CAacDecoder_Init()
1826 asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign; in CAacDecoder_Init()
1828 if (self->sbrEnabled != asc->m_sbrPresentFlag) { in CAacDecoder_Init()
1833 self->streamInfo.extAot = asc->m_extensionAudioObjectType; in CAacDecoder_Init()
1835 (INT)asc->m_extensionSamplingFrequency) { in CAacDecoder_Init()
1839 self->streamInfo.extSamplingRate = asc->m_extensionSamplingFrequency; in CAacDecoder_Init()
1841 self->flags[streamIndex] |= (asc->m_sbrPresentFlag) ? AC_SBR_PRESENT : 0; in CAacDecoder_Init()
1842 self->flags[streamIndex] |= (asc->m_psPresentFlag) ? AC_PS_PRESENT : 0; in CAacDecoder_Init()
1843 if (asc->m_sbrPresentFlag) { in CAacDecoder_Init()
1850 if (self->sbrEnabled && asc->m_extensionSamplingFrequency) { in CAacDecoder_Init()
1860 if ((asc->m_aot == AOT_AAC_LC) && (asc->m_sbrPresentFlag == 1) && in CAacDecoder_Init()
1861 (asc->m_extensionSamplingFrequency > (2 * asc->m_samplingFrequency))) { in CAacDecoder_Init()
1868 self->flags[streamIndex] |= (asc->m_vcb11Flag) ? AC_ER_VCB11 : 0; in CAacDecoder_Init()
1871 self->flags[streamIndex] |= (asc->m_rvlcFlag) ? AC_ER_RVLC : 0; in CAacDecoder_Init()
1874 self->flags[streamIndex] |= (asc->m_hcrFlag) ? AC_ER_HCR : 0; in CAacDecoder_Init()
1876 if (asc->m_aot == AOT_ER_AAC_ELD) { in CAacDecoder_Init()
1880 (asc->m_sbrPresentFlag) in CAacDecoder_Init()
1885 (asc->m_sc.m_eldSpecificConfig.m_sbrCrcFlag) ? AC_SBRCRC : 0; in CAacDecoder_Init()
1887 (asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign) ? AC_MPS_PRESENT in CAacDecoder_Init()
1890 self->mpsEnableCurr = asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign; in CAacDecoder_Init()
1893 self->flags[streamIndex] |= (asc->m_aot == AOT_ER_AAC_LD) ? AC_LD : 0; in CAacDecoder_Init()
1894 self->flags[streamIndex] |= (asc->m_epConfig >= 0) ? AC_ER : 0; in CAacDecoder_Init()
1896 if (asc->m_aot == AOT_USAC) { in CAacDecoder_Init()
1899 (asc->m_sc.m_usacConfig.element[0].m_stereoConfigIndex > 0) in CAacDecoder_Init()
1903 if (asc->m_aot == AOT_DRM_AAC) { in CAacDecoder_Init()
1906 if (asc->m_aot == AOT_DRM_SURROUND) { in CAacDecoder_Init()
1909 FDK_ASSERT(!asc->m_psPresentFlag); in CAacDecoder_Init()
1911 if ((asc->m_aot == AOT_AAC_SCAL) || (asc->m_aot == AOT_ER_AAC_SCAL)) { in CAacDecoder_Init()
1915 if ((asc->m_epConfig >= 0) && (asc->m_channelConfiguration <= 0)) { in CAacDecoder_Init()
1921 self->streamInfo.epConfig = asc->m_epConfig; in CAacDecoder_Init()
1924 if (asc->m_epConfig > 1) return AAC_DEC_UNSUPPORTED_ER_FORMAT; in CAacDecoder_Init()
1928 asc->m_samplingFrequency) || in CAacDecoder_Init()
1930 (INT)asc->m_samplesPerFrame / downscaleFactor)) { in CAacDecoder_Init()
1938 &self->samplingRateInfo[streamIndex], asc->m_samplesPerFrame, in CAacDecoder_Init()
1939 asc->m_samplingFrequencyIndex, asc->m_samplingFrequency); in CAacDecoder_Init()
1946 asc->m_samplesPerFrame / self->downscaleFactor; in CAacDecoder_Init()
1967 switch (asc->m_aot) { in CAacDecoder_Init()
2004 switch (asc->m_aot) { in CAacDecoder_Init()
2009 FDK_ASSERT(asc->m_sc.m_usacConfig.m_sbrRatioIndex > 0); in CAacDecoder_Init()
2017 map_sbrRatio_2_nAnaBands[asc->m_sc.m_usacConfig.m_sbrRatioIndex - in CAacDecoder_Init()
2021 (asc->m_sc.m_usacConfig.m_sbrRatioIndex == 1) ? 64 : 32; in CAacDecoder_Init()
2023 (asc->m_sc.m_usacConfig.m_sbrRatioIndex == 1) ? 12 : 6; in CAacDecoder_Init()
2035 asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign) { in CAacDecoder_Init()
2041 (UINT)self->streamInfo.aacSampleRate, asc->m_aot); in CAacDecoder_Init()
2073 _numElements = (int)asc->m_sc.m_usacConfig.m_usacNumElements; in CAacDecoder_Init()
2214 for (int _el2 = 0; _el2 < (int)asc->m_sc.m_usacConfig.m_usacNumElements; in CAacDecoder_Init()
2276 if (asc->m_sc.m_usacConfig.element[el2].m_stereoConfigIndex != in CAacDecoder_Init()
2385 if (asc->m_aot == AOT_USAC) { in CAacDecoder_Init()
2391 if (asc->m_aot == AOT_USAC) { in CAacDecoder_Init()