Home
last modified time | relevance | path

Searched refs:audioObjectType (Results 1 – 10 of 10) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DAacUtil.java195 int audioObjectType = getAudioObjectType(bitArray); in parseAudioSpecificConfig() local
198 String codecs = CODECS_STRING_PREFIX + audioObjectType; in parseAudioSpecificConfig()
199 if (audioObjectType == AUDIO_OBJECT_TYPE_AAC_SBR in parseAudioSpecificConfig()
200 || audioObjectType == AUDIO_OBJECT_TYPE_AAC_PS) { in parseAudioSpecificConfig()
207 audioObjectType = getAudioObjectType(bitArray); in parseAudioSpecificConfig()
208 if (audioObjectType == AUDIO_OBJECT_TYPE_AAC_ER_BSAC) { in parseAudioSpecificConfig()
215 switch (audioObjectType) { in parseAudioSpecificConfig()
228 parseGaSpecificConfig(bitArray, audioObjectType, channelConfiguration); in parseAudioSpecificConfig()
231 throw new ParserException("Unsupported audio object type: " + audioObjectType); in parseAudioSpecificConfig()
233 switch (audioObjectType) { in parseAudioSpecificConfig()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
DAudioSpecificConfig.java273 int audioObjectType; field in AudioSpecificConfig
332 audioObjectType = getAudioObjectType(bitReaderBuffer); in parseDetail()
341 if (audioObjectType == 5 || in parseDetail()
342 audioObjectType == 29) { in parseDetail()
345 if (audioObjectType == 29) { in parseDetail()
351 audioObjectType = getAudioObjectType(bitReaderBuffer); in parseDetail()
352 if (audioObjectType == 22) in parseDetail()
358 switch (audioObjectType) { in parseDetail()
371 …parseGaSpecificConfig(samplingFrequencyIndex, channelConfiguration, audioObjectType, bitReaderBuff… in parseDetail()
403 …rametricSpecificConfig(samplingFrequencyIndex, channelConfiguration, audioObjectType, bitReaderBuf… in parseDetail()
[all …]
/external/aac/libAACenc/src/
Daacenc_lib.cpp369 if ((hAacConfig->audioObjectType == AOT_SBR) || in isSbrActive()
370 (hAacConfig->audioObjectType == AOT_PS) || in isSbrActive()
371 (hAacConfig->audioObjectType == AOT_MP2_SBR)) { in isSbrActive()
374 if (hAacConfig->audioObjectType == AOT_ER_AAC_ELD && in isSbrActive()
382 static inline INT isPsActive(const AUDIO_OBJECT_TYPE audioObjectType) { in isPsActive() argument
385 if (audioObjectType == AOT_PS) { in isPsActive()
393 const CHANNEL_MODE channelMode, const AUDIO_OBJECT_TYPE audioObjectType) { in GetCoreChannelMode() argument
395 if ((isPsActive(audioObjectType) && (channelMode == MODE_2)) || in GetCoreChannelMode()
403 const AUDIO_OBJECT_TYPE audioObjectType, const TRANSPORT_TYPE transportType, in getSbrSignalingMode() argument
418 if ((audioObjectType == AOT_AAC_LC) || (audioObjectType == AOT_SBR) || in getSbrSignalingMode()
[all …]
Dmps_main.cpp111 AUDIO_OBJECT_TYPE audioObjectType; member
216 const AUDIO_OBJECT_TYPE audioObjectType, in FDK_MpegsEnc_Init() argument
264 if ((INT)bitrate != FDK_MpegsEnc_GetClosestBitRate(audioObjectType, MODE_212, in FDK_MpegsEnc_Init()
272 switch (audioObjectType) { in FDK_MpegsEnc_Init()
314 hMpsEnc->audioObjectType = audioObjectType; in FDK_MpegsEnc_Init()
363 if (hMpsEnc->audioObjectType == AOT_ER_AAC_ELD) { in FDK_MpegsEnc_Process()
475 INT FDK_MpegsEnc_GetClosestBitRate(const AUDIO_OBJECT_TYPE audioObjectType, in FDK_MpegsEnc_GetClosestBitRate() argument
483 if ((mpsConfigTab[i].audio_object_type == audioObjectType) && in FDK_MpegsEnc_GetClosestBitRate()
Dmps_main.h176 const AUDIO_OBJECT_TYPE audioObjectType,
229 INT FDK_MpegsEnc_GetClosestBitRate(const AUDIO_OBJECT_TYPE audioObjectType,
Dpsy_main.h144 const AUDIO_OBJECT_TYPE audioObjectType,
148 PSY_INTERNAL *hPsy, AUDIO_OBJECT_TYPE audioObjectType, CHANNEL_MAPPING *cm,
Daacenc.cpp478 hTpEnc, config->audioObjectType, config->sampleRate, in FDKaacEnc_Initialize()
498 if (isLowDelay(config->audioObjectType)) { in FDKaacEnc_Initialize()
508 if (!isLowDelay(config->audioObjectType)) { in FDKaacEnc_Initialize()
565 config->audioObjectType, cm); in FDKaacEnc_Initialize()
570 hAacEnc->psyKernel, config->audioObjectType, cm, config->sampleRate, in FDKaacEnc_Initialize()
595 if (isLowDelay(config->audioObjectType)) { in FDKaacEnc_Initialize()
640 qcInit.isLowDelay = isLowDelay(config->audioObjectType) ? 1 : 0; in FDKaacEnc_Initialize()
727 if (isLowDelay(config->audioObjectType)) { in FDKaacEnc_Initialize()
742 switch (hAacEnc->config->audioObjectType) { in FDKaacEnc_Initialize()
750 hAacEnc->aot = hAacEnc->config->audioObjectType; in FDKaacEnc_Initialize()
Dpsy_main.cpp234 AUDIO_OBJECT_TYPE audioObjectType) { in FDKaacEnc_psyInitStates() argument
240 isLowDelay(audioObjectType)); in FDKaacEnc_psyInitStates()
248 const AUDIO_OBJECT_TYPE audioObjectType, in FDKaacEnc_psyInit() argument
255 FDKaacEnc_psyInitStates(hPsy, hPsy->pStaticChannels[0], audioObjectType); in FDKaacEnc_psyInit()
268 audioObjectType); in FDKaacEnc_psyInit()
301 PSY_INTERNAL *hPsy, AUDIO_OBJECT_TYPE audioObjectType, CHANNEL_MAPPING *cm, in FDKaacEnc_psyMainInit() argument
322 switch (audioObjectType) { in FDKaacEnc_psyMainInit()
343 LONG_WINDOW, hPsy->granuleLength, isLowDelay(audioObjectType), in FDKaacEnc_psyMainInit()
358 SHORT_WINDOW, hPsy->granuleLength, isLowDelay(audioObjectType), in FDKaacEnc_psyMainInit()
370 audioObjectType); in FDKaacEnc_psyMainInit()
Daacenc.h224 AUDIO_OBJECT_TYPE audioObjectType; /* Audio Object Type */ member
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DAdtsReader.java481 int audioObjectType = adtsScratch.readBits(2) + 1; in parseAdtsHeader() local
482 if (audioObjectType != 2) { in parseAdtsHeader()
492 Log.w(TAG, "Detected audio object type: " + audioObjectType + ", but assuming AAC LC."); in parseAdtsHeader()
493 audioObjectType = 2; in parseAdtsHeader()
501 audioObjectType, firstFrameSampleRateIndex, channelConfig); in parseAdtsHeader()