• Home
  • Raw
  • Download

Lines Matching refs:asc

1486                                     const CSAudioSpecificConfig *asc,  in CAacDecoder_AcceptFlags()  argument
1580 CAacDecoder_Init(HANDLE_AACDECODER self, const CSAudioSpecificConfig *asc, in CAacDecoder_Init() argument
1610 switch (asc->m_aot) { in CAacDecoder_Init()
1615 if (asc->m_sc.m_gaSpecificConfig.m_layer > 0) { in CAacDecoder_Init()
1638 if (CProgramConfig_IsValid(&self->pce) && (asc->m_channelConfiguration > 0)) { in CAacDecoder_Init()
1645 CProgramConfig_GetDefault(tmpPce, asc->m_channelConfiguration); in CAacDecoder_Init()
1658 switch (asc->m_channelConfiguration) { in CAacDecoder_Init()
1660 switch (asc->m_aot) { in CAacDecoder_Init()
1663 ascChannels = asc->m_sc.m_usacConfig.m_nUsacChannels; in CAacDecoder_Init()
1667 if (CProgramConfig_IsValid(&asc->m_progrConfigElement)) { in CAacDecoder_Init()
1668 ascChannels = asc->m_progrConfigElement.NumChannels; in CAacDecoder_Init()
1673 FDKmemcpy(&self->pce, &asc->m_progrConfigElement, in CAacDecoder_Init()
1677 &asc->m_progrConfigElement, self->elements, (((8)) + (8)), in CAacDecoder_Init()
1699 ascChannels = asc->m_channelConfiguration; in CAacDecoder_Init()
1713 if (asc->m_aot == AOT_USAC) { in CAacDecoder_Init()
1721 if (IS_USAC(asc->m_aot)) { in CAacDecoder_Init()
1722 for (int el = 0; el < (INT)asc->m_sc.m_usacConfig.m_usacNumElements; el++) { in CAacDecoder_Init()
1725 if (asc->m_sc.m_usacConfig.element[el].m_stereoConfigIndex == 1) { in CAacDecoder_Init()
1728 } else if (asc->m_sc.m_usacConfig.element[el].m_stereoConfigIndex == 2) { in CAacDecoder_Init()
1734 if (asc->m_sc.m_usacConfig.element[el].m_harmonicSBR) { in CAacDecoder_Init()
1735 usacResidualDelayCompSamples += asc->m_samplesPerFrame; in CAacDecoder_Init()
1737 if (asc->m_sc.m_usacConfig.m_coreSbrFrameLengthIndex == 4) { in CAacDecoder_Init()
1751 (asc->m_channelConfiguration > AACDEC_MAX_CH_CONF)) { in CAacDecoder_Init()
1759 if ((asc->m_channelConfiguration > 0) || IS_USAC(asc->m_aot)) { in CAacDecoder_Init()
1760 if (IS_USAC(asc->m_aot)) { in CAacDecoder_Init()
1765 self->pUsacConfig[streamIndex] = &asc->m_sc.m_usacConfig; in CAacDecoder_Init()
1774 asc->m_sc.m_usacConfig.m_usacNumElements) { in CAacDecoder_Init()
1780 asc->m_sc.m_usacConfig.m_usacNumElements; in CAacDecoder_Init()
1793 asc->m_sc.m_usacConfig.element[_el].m_stereoConfigIndex) { in CAacDecoder_Init()
1801 asc->m_sc.m_usacConfig.element[_el].m_stereoConfigIndex; in CAacDecoder_Init()
1807 elFlags[el] |= (asc->m_sc.m_usacConfig.element[_el].m_noiseFilling) in CAacDecoder_Init()
1811 (asc->m_sc.m_usacConfig.element[_el].m_stereoConfigIndex > 0) in CAacDecoder_Init()
1814 elFlags[el] |= (asc->m_sc.m_usacConfig.element[_el].m_interTes) in CAacDecoder_Init()
1818 (asc->m_sc.m_usacConfig.element[_el].m_pvc) ? AC_EL_USAC_PVC : 0; in CAacDecoder_Init()
1820 (asc->m_sc.m_usacConfig.element[_el].usacElementType == ID_USAC_LFE) in CAacDecoder_Init()
1824 (asc->m_sc.m_usacConfig.element[_el].usacElementType == ID_USAC_LFE) in CAacDecoder_Init()
1827 if ((asc->m_sc.m_usacConfig.element[_el].usacElementType == in CAacDecoder_Init()
1836 self->hasAudioPreRoll = asc->m_sc.m_usacConfig.element[0] in CAacDecoder_Init()
1848 self->elements[i] = elementsTab[asc->m_channelConfiguration - 1][i]; in CAacDecoder_Init()
1866 self->chMapIndex = asc->m_channelConfiguration; in CAacDecoder_Init()
1868 if (CProgramConfig_IsValid(&asc->m_progrConfigElement)) { in CAacDecoder_Init()
1871 self->hPcmUtils, asc->m_progrConfigElement.MatrixMixdownIndexPresent, in CAacDecoder_Init()
1872 asc->m_progrConfigElement.MatrixMixdownIndex, in CAacDecoder_Init()
1873 asc->m_progrConfigElement.PseudoSurroundEnable); in CAacDecoder_Init()
1877 self->streamInfo.channelConfig = asc->m_channelConfiguration; in CAacDecoder_Init()
1879 if (self->streamInfo.aot != asc->m_aot) { in CAacDecoder_Init()
1881 self->streamInfo.aot = asc->m_aot; in CAacDecoder_Init()
1886 if (asc->m_aot == AOT_ER_AAC_ELD && in CAacDecoder_Init()
1887 asc->m_sc.m_eldSpecificConfig.m_downscaledSamplingFrequency != 0) { in CAacDecoder_Init()
1889 asc->m_sc.m_eldSpecificConfig.m_downscaledSamplingFrequency || in CAacDecoder_Init()
1891 asc->m_samplingFrequency) { in CAacDecoder_Init()
1895 asc->m_samplingFrequency / in CAacDecoder_Init()
1896 asc->m_sc.m_eldSpecificConfig.m_downscaledSamplingFrequency; in CAacDecoder_Init()
1899 asc->m_sc.m_eldSpecificConfig.m_frameLengthFlag) || in CAacDecoder_Init()
1901 ((asc->m_samplingFrequency % in CAacDecoder_Init()
1902 asc->m_sc.m_eldSpecificConfig.m_downscaledSamplingFrequency) == in CAacDecoder_Init()
1923 if ((INT)asc->m_samplesPerFrame % downscaleFactor != 0) { in CAacDecoder_Init()
1930 if (asc->m_aot == AOT_ER_AAC_ELD) { in CAacDecoder_Init()
1932 asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign) { in CAacDecoder_Init()
1937 asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign; in CAacDecoder_Init()
1939 if (sbrEnabled != asc->m_sbrPresentFlag) { in CAacDecoder_Init()
1944 self->streamInfo.extAot = asc->m_extensionAudioObjectType; in CAacDecoder_Init()
1946 (INT)asc->m_extensionSamplingFrequency) { in CAacDecoder_Init()
1950 self->streamInfo.extSamplingRate = asc->m_extensionSamplingFrequency; in CAacDecoder_Init()
1952 flags |= (asc->m_sbrPresentFlag) ? AC_SBR_PRESENT : 0; in CAacDecoder_Init()
1953 flags |= (asc->m_psPresentFlag) ? AC_PS_PRESENT : 0; in CAacDecoder_Init()
1954 if (asc->m_sbrPresentFlag) { in CAacDecoder_Init()
1961 if (sbrEnabled && asc->m_extensionSamplingFrequency) { in CAacDecoder_Init()
1971 if ((asc->m_aot == AOT_AAC_LC) && (asc->m_sbrPresentFlag == 1) && in CAacDecoder_Init()
1972 (asc->m_extensionSamplingFrequency > (2 * asc->m_samplingFrequency))) { in CAacDecoder_Init()
1979 flags |= (asc->m_vcb11Flag) ? AC_ER_VCB11 : 0; in CAacDecoder_Init()
1982 flags |= (asc->m_rvlcFlag) ? AC_ER_RVLC : 0; in CAacDecoder_Init()
1985 flags |= (asc->m_hcrFlag) ? AC_ER_HCR : 0; in CAacDecoder_Init()
1987 if (asc->m_aot == AOT_ER_AAC_ELD) { in CAacDecoder_Init()
1990 flags |= (asc->m_sbrPresentFlag) in CAacDecoder_Init()
1994 flags |= (asc->m_sc.m_eldSpecificConfig.m_sbrCrcFlag) ? AC_SBRCRC : 0; in CAacDecoder_Init()
1995 flags |= (asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign) in CAacDecoder_Init()
1999 mpsEnableCurr = asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign; in CAacDecoder_Init()
2002 flags |= (asc->m_aot == AOT_ER_AAC_LD) ? AC_LD : 0; in CAacDecoder_Init()
2003 flags |= (asc->m_epConfig >= 0) ? AC_ER : 0; in CAacDecoder_Init()
2005 if (asc->m_aot == AOT_USAC) { in CAacDecoder_Init()
2007 flags |= (asc->m_sc.m_usacConfig.element[0].m_stereoConfigIndex > 0) in CAacDecoder_Init()
2011 if (asc->m_aot == AOT_DRM_AAC) { in CAacDecoder_Init()
2014 if (asc->m_aot == AOT_DRM_SURROUND) { in CAacDecoder_Init()
2016 FDK_ASSERT(!asc->m_psPresentFlag); in CAacDecoder_Init()
2018 if ((asc->m_aot == AOT_AAC_SCAL) || (asc->m_aot == AOT_ER_AAC_SCAL)) { in CAacDecoder_Init()
2022 if ((asc->m_epConfig >= 0) && (asc->m_channelConfiguration <= 0)) { in CAacDecoder_Init()
2028 self->streamInfo.epConfig = asc->m_epConfig; in CAacDecoder_Init()
2031 if (asc->m_epConfig > 1) return AAC_DEC_UNSUPPORTED_ER_FORMAT; in CAacDecoder_Init()
2035 asc->m_samplingFrequency) || in CAacDecoder_Init()
2037 (INT)asc->m_samplesPerFrame / downscaleFactor)) { in CAacDecoder_Init()
2045 &self->samplingRateInfo[streamIndex], asc->m_samplesPerFrame, in CAacDecoder_Init()
2046 asc->m_samplingFrequencyIndex, asc->m_samplingFrequency); in CAacDecoder_Init()
2053 asc->m_samplesPerFrame / self->downscaleFactor; in CAacDecoder_Init()
2071 CAacDecoder_AcceptFlags(self, asc, flags, elFlags, streamIndex, in CAacDecoder_Init()
2078 switch (asc->m_aot) { in CAacDecoder_Init()
2115 switch (asc->m_aot) { in CAacDecoder_Init()
2120 FDK_ASSERT(asc->m_sc.m_usacConfig.m_sbrRatioIndex > 0); in CAacDecoder_Init()
2128 map_sbrRatio_2_nAnaBands[asc->m_sc.m_usacConfig.m_sbrRatioIndex - in CAacDecoder_Init()
2132 (asc->m_sc.m_usacConfig.m_sbrRatioIndex == 1) ? 64 : 32; in CAacDecoder_Init()
2134 (asc->m_sc.m_usacConfig.m_sbrRatioIndex == 1) ? 12 : 6; in CAacDecoder_Init()
2146 asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign) { in CAacDecoder_Init()
2152 (UINT)self->streamInfo.aacSampleRate, asc->m_aot); in CAacDecoder_Init()
2184 _numElements = (int)asc->m_sc.m_usacConfig.m_usacNumElements; in CAacDecoder_Init()
2324 for (int _el2 = 0; _el2 < (int)asc->m_sc.m_usacConfig.m_usacNumElements; in CAacDecoder_Init()
2386 if (asc->m_sc.m_usacConfig.element[el2].m_stereoConfigIndex != in CAacDecoder_Init()
2492 if (asc->m_aot == AOT_USAC) { in CAacDecoder_Init()
2497 if (asc->m_aot == AOT_USAC) { in CAacDecoder_Init()
2502 CAacDecoder_AcceptFlags(self, asc, flags, elFlags, streamIndex, in CAacDecoder_Init()