Lines Matching refs:usc

1625 static TRANSPORTDEC_ERROR configExtension(CSUsacConfig *usc,  in configExtension()  argument
1692 CSUsacConfig *usc = &asc->m_sc.m_usacConfig; in UsacRsv60DecoderConfig_Parse() local
1699 usc->m_usacNumElements = numberOfElements; in UsacRsv60DecoderConfig_Parse()
1703 usc->m_nUsacChannels = 0; in UsacRsv60DecoderConfig_Parse()
1704 usc->m_channelConfigurationIndex = asc->m_channelConfiguration; in UsacRsv60DecoderConfig_Parse()
1707 sc_chan_config = sc_chan_config_tab[usc->m_channelConfigurationIndex]; in UsacRsv60DecoderConfig_Parse()
1719 usc->element[i].usacElementType = usacElementType; in UsacRsv60DecoderConfig_Parse()
1736 if (usc->m_channelConfigurationIndex) { in UsacRsv60DecoderConfig_Parse()
1751 usc->element[i].m_noiseFilling = FDKreadBits(hBs, 1); in UsacRsv60DecoderConfig_Parse()
1753 if (usc->m_sbrRatioIndex > 0) { in UsacRsv60DecoderConfig_Parse()
1758 usc->element[i].m_harmonicSBR = FDKreadBit(hBs); in UsacRsv60DecoderConfig_Parse()
1759 usc->element[i].m_interTes = FDKreadBit(hBs); in UsacRsv60DecoderConfig_Parse()
1760 usc->element[i].m_pvc = FDKreadBit(hBs); in UsacRsv60DecoderConfig_Parse()
1764 channelElementIdx, usc->element[i].m_harmonicSBR, in UsacRsv60DecoderConfig_Parse()
1765 usc->element[i].m_stereoConfigIndex, asc->configMode, in UsacRsv60DecoderConfig_Parse()
1771 usc->m_nUsacChannels += 1; in UsacRsv60DecoderConfig_Parse()
1780 usc->element[i].m_noiseFilling = FDKreadBits(hBs, 1); in UsacRsv60DecoderConfig_Parse()
1782 if (usc->m_sbrRatioIndex > 0) { in UsacRsv60DecoderConfig_Parse()
1785 usc->element[i].m_harmonicSBR = FDKreadBit(hBs); in UsacRsv60DecoderConfig_Parse()
1786 usc->element[i].m_interTes = FDKreadBit(hBs); in UsacRsv60DecoderConfig_Parse()
1787 usc->element[i].m_pvc = FDKreadBit(hBs); in UsacRsv60DecoderConfig_Parse()
1791 usc->element[i].m_stereoConfigIndex = FDKreadBits(hBs, 2); in UsacRsv60DecoderConfig_Parse()
1797 (usc->element[i].m_stereoConfigIndex == 1 || in UsacRsv60DecoderConfig_Parse()
1798 usc->element[i].m_stereoConfigIndex == 2) in UsacRsv60DecoderConfig_Parse()
1804 channelElementIdx, usc->element[i].m_harmonicSBR, in UsacRsv60DecoderConfig_Parse()
1805 usc->element[i].m_stereoConfigIndex, asc->configMode, in UsacRsv60DecoderConfig_Parse()
1812 usc->element[i].m_stereoConfigIndex = in UsacRsv60DecoderConfig_Parse()
1815 if (usc->element[i].m_stereoConfigIndex > 0) { in UsacRsv60DecoderConfig_Parse()
1819 if (usc->m_sbrRatioIndex == 1) samplesPerFrame <<= 2; in UsacRsv60DecoderConfig_Parse()
1820 if (usc->m_sbrRatioIndex == 2) in UsacRsv60DecoderConfig_Parse()
1822 if (usc->m_sbrRatioIndex == 3) samplesPerFrame <<= 1; in UsacRsv60DecoderConfig_Parse()
1827 usc->element[i].m_stereoConfigIndex, in UsacRsv60DecoderConfig_Parse()
1828 usc->m_coreSbrFrameLengthIndex, in UsacRsv60DecoderConfig_Parse()
1839 usc->element[i].m_stereoConfigIndex = 0; in UsacRsv60DecoderConfig_Parse()
1841 usc->m_nUsacChannels += 2; in UsacRsv60DecoderConfig_Parse()
1847 usc->element[i].m_noiseFilling = 0; in UsacRsv60DecoderConfig_Parse()
1848 usc->m_nUsacChannels += 1; in UsacRsv60DecoderConfig_Parse()
1849 if (usc->m_sbrRatioIndex > 0) { in UsacRsv60DecoderConfig_Parse()
1852 usc->element[i].m_harmonicSBR = (UCHAR)0; in UsacRsv60DecoderConfig_Parse()
1853 usc->element[i].m_interTes = (UCHAR)0; in UsacRsv60DecoderConfig_Parse()
1854 usc->element[i].m_pvc = (UCHAR)0; in UsacRsv60DecoderConfig_Parse()
1858 channelElementIdx, usc->element[i].m_harmonicSBR, in UsacRsv60DecoderConfig_Parse()
1859 usc->element[i].m_stereoConfigIndex, asc->configMode, in UsacRsv60DecoderConfig_Parse()
1868 ErrorStatus = extElementConfig(&usc->element[i].extElement, hBs, cb, 0, in UsacRsv60DecoderConfig_Parse()
1883 if (usc->m_channelConfigurationIndex) { in UsacRsv60DecoderConfig_Parse()
1892 sc_chan_config.nLFE) < (INT)usc->numAudioChannels) { in UsacRsv60DecoderConfig_Parse()
2287 CSUsacConfig *usc = &asc->m_sc.m_usacConfig; in Drm_xHEAACDecoderConfig() local
2290 usc->element[elemIdx].m_stereoConfigIndex = 0; in Drm_xHEAACDecoderConfig()
2292 usc->m_usacNumElements = 1; /* Currently all extension elements are skipped in Drm_xHEAACDecoderConfig()
2297 usc->element[elemIdx].usacElementType = ID_USAC_SCE; in Drm_xHEAACDecoderConfig()
2298 usc->m_nUsacChannels = 1; in Drm_xHEAACDecoderConfig()
2299 usc->element[elemIdx].m_noiseFilling = FDKreadBits(hBs, 1); in Drm_xHEAACDecoderConfig()
2300 if (usc->m_sbrRatioIndex > 0) { in Drm_xHEAACDecoderConfig()
2305 usc->element[elemIdx].m_harmonicSBR = FDKreadBit(hBs); in Drm_xHEAACDecoderConfig()
2306 usc->element[elemIdx].m_interTes = FDKreadBit(hBs); in Drm_xHEAACDecoderConfig()
2307 usc->element[elemIdx].m_pvc = FDKreadBit(hBs); in Drm_xHEAACDecoderConfig()
2311 usc->element[elemIdx].m_harmonicSBR, in Drm_xHEAACDecoderConfig()
2312 usc->element[elemIdx].m_stereoConfigIndex, in Drm_xHEAACDecoderConfig()
2320 usc->element[elemIdx].usacElementType = ID_USAC_CPE; in Drm_xHEAACDecoderConfig()
2321 usc->m_nUsacChannels = 2; in Drm_xHEAACDecoderConfig()
2322 usc->element[elemIdx].m_noiseFilling = FDKreadBits(hBs, 1); in Drm_xHEAACDecoderConfig()
2323 if (usc->m_sbrRatioIndex > 0) { in Drm_xHEAACDecoderConfig()
2324 usc->element[elemIdx].m_harmonicSBR = FDKreadBit(hBs); in Drm_xHEAACDecoderConfig()
2325 usc->element[elemIdx].m_interTes = FDKreadBit(hBs); in Drm_xHEAACDecoderConfig()
2326 usc->element[elemIdx].m_pvc = FDKreadBit(hBs); in Drm_xHEAACDecoderConfig()
2330 usc->element[elemIdx].m_stereoConfigIndex = FDKreadBits(hBs, 2); in Drm_xHEAACDecoderConfig()
2341 if ((usc->element[elemIdx].m_stereoConfigIndex > 1) && in Drm_xHEAACDecoderConfig()
2342 usc->element[elemIdx].m_harmonicSBR) { in Drm_xHEAACDecoderConfig()
2352 if ((usc->m_sbrRatioIndex == 1) && in Drm_xHEAACDecoderConfig()
2353 (usc->element[elemIdx].m_stereoConfigIndex != 1)) { in Drm_xHEAACDecoderConfig()
2361 (usc->element[elemIdx].m_stereoConfigIndex == 1 || in Drm_xHEAACDecoderConfig()
2362 usc->element[elemIdx].m_stereoConfigIndex == 2) in Drm_xHEAACDecoderConfig()
2369 usc->element[elemIdx].m_harmonicSBR, in Drm_xHEAACDecoderConfig()
2370 usc->element[elemIdx].m_stereoConfigIndex, in Drm_xHEAACDecoderConfig()
2376 if (usc->element[elemIdx].m_stereoConfigIndex > 0) { in Drm_xHEAACDecoderConfig()
2380 if (usc->m_sbrRatioIndex == 1) samplesPerFrame <<= 2; in Drm_xHEAACDecoderConfig()
2381 if (usc->m_sbrRatioIndex == 2) in Drm_xHEAACDecoderConfig()
2383 if (usc->m_sbrRatioIndex == 3) samplesPerFrame <<= 1; in Drm_xHEAACDecoderConfig()
2389 usc->element[elemIdx].m_stereoConfigIndex, in Drm_xHEAACDecoderConfig()
2390 usc->m_coreSbrFrameLengthIndex, 0, /* don't know the length */ in Drm_xHEAACDecoderConfig()