Lines Matching refs:dsFactor
1284 static INT ld_sbr_header(CSAudioSpecificConfig *asc, const INT dsFactor, in ld_sbr_header() argument
1309 cb->cbSbrData, hBs, asc->m_samplingFrequency / dsFactor, in ld_sbr_header()
1310 asc->m_extensionSamplingFrequency / dsFactor, in ld_sbr_header()
1311 asc->m_samplesPerFrame / dsFactor, AOT_ER_AAC_ELD, element, i++, 0, 0, in ld_sbr_header()
1312 asc->configMode, &asc->SbrConfigChanged, dsFactor); in ld_sbr_header()
1463 INT dsFactor = 1; /* Downscale factor must be 1 or even for SBR */ in EldSpecificConfig_Parse() local
1468 dsFactor = asc->m_samplingFrequency / esc->m_downscaledSamplingFrequency; in EldSpecificConfig_Parse()
1469 if (dsFactor != 1 && (dsFactor)&1) { in EldSpecificConfig_Parse()
1473 if (dsFactor != 1 && dsFactor != 2 && dsFactor != 4) { in EldSpecificConfig_Parse()
1474 dsFactor = 1; /* don't apply dsf for not yet supported even dsfs */ in EldSpecificConfig_Parse()
1476 if ((INT)asc->m_samplesPerFrame % dsFactor != 0) { in EldSpecificConfig_Parse()
1483 if (0 != ld_sbr_header(asc, dsFactor, hBs, cb)) { in EldSpecificConfig_Parse()