Home | History | Annotate | Download | only in src

Lines Matching refs:asc

521                                            CSAudioSpecificConfig *asc,
536 if( asc->m_channelConfiguration == 0 ) {
537 CProgramConfig_Read(&asc->m_progrConfigElement, bs, ascStartAnchor);
540 if ((asc->m_aot == AOT_AAC_SCAL) || (asc->m_aot == AOT_ER_AAC_SCAL)) {
545 if (asc->m_aot == AOT_ER_BSAC) {
550 if ((asc->m_aot == AOT_ER_AAC_LC) || (asc->m_aot == AOT_ER_AAC_LTP) ||
551 (asc->m_aot == AOT_ER_AAC_SCAL) || (asc->m_aot == AOT_ER_AAC_LD))
553 asc->m_vcb11Flag = FDKreadBits(bs,1); /* aacSectionDataResilienceFlag */
554 asc->m_rvlcFlag = FDKreadBits(bs,1); /* aacScalefactorDataResilienceFlag */
555 asc->m_hcrFlag = FDKreadBits(bs,1); /* aacSpectralDataResilienceFlag */
571 static INT ld_sbr_header( const CSAudioSpecificConfig *asc,
575 const int channelConfiguration = asc->m_channelConfiguration;
580 error = cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_CPE, i++);
582 error = cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_SCE, i++);
587 error |= cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_CPE, i++);
589 error |= cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_CPE, i++);
593 error |= cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_SCE, i++);
595 error |= cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_CPE, i++);
597 error |= cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_CPE, i++);
606 CSAudioSpecificConfig *asc,
612 CSEldSpecificConfig *esc = &asc->m_sc.m_eldSpecificConfig;
620 asc->m_samplesPerFrame = 480;
622 asc->m_samplesPerFrame = 512;
625 asc->m_vcb11Flag = FDKreadBits(hBs, 1 );
626 asc->m_rvlcFlag = FDKreadBits(hBs, 1 );
627 asc->m_hcrFlag = FDKreadBits(hBs, 1 );
635 asc->m_extensionSamplingFrequency = asc->m_samplingFrequency << esc->m_sbrSamplingRate;
638 if ( 0 != ld_sbr_header(asc, hBs, cb) ) {
666 asc->m_aot,
667 asc->m_samplingFrequency,
697 void AudioSpecificConfig_Init(CSAudioSpecificConfig *asc)
699 FDKmemclear(asc, sizeof(CSAudioSpecificConfig));
702 asc->m_aot = AOT_NONE;
703 asc->m_samplingFrequencyIndex = 0xf;
704 asc->m_epConfig = -1;
705 asc->m_extensionAudioObjectType = AOT_NULL_OBJECT;
707 CProgramConfig_Init(&asc->m_progrConfigElement);