Home
last modified time | relevance | path

Searched refs:sampleRateIndex (Results 1 – 4 of 4) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DAacUtil.java263 int sampleRateIndex = C.INDEX_UNSET; in buildAacLcAudioSpecificConfig() local
266 sampleRateIndex = i; in buildAacLcAudioSpecificConfig()
279 return buildAudioSpecificConfig(AUDIO_OBJECT_TYPE_AAC_LC, sampleRateIndex, channelConfig); in buildAacLcAudioSpecificConfig()
291 int audioObjectType, int sampleRateIndex, int channelConfig) { in buildAudioSpecificConfig() argument
293 specificConfig[0] = (byte) (((audioObjectType << 3) & 0xF8) | ((sampleRateIndex >> 1) & 0x07)); in buildAudioSpecificConfig()
294 specificConfig[1] = (byte) (((sampleRateIndex << 7) & 0x80) | ((channelConfig << 3) & 0x78)); in buildAudioSpecificConfig()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DAudioTagPayloadReader.java62 int sampleRateIndex = (header >> 2) & 0x03; in parseHeader() local
63 int sampleRate = AUDIO_SAMPLING_RATE_TABLE[sampleRateIndex]; in parseHeader()
/external/aac/libMpegTPEnc/src/
Dtpenc_asc.cpp352 int sampleRateIndex, i; in transportEnc_writePCE() local
364 sampleRateIndex = getSamplingRateIndex(sampleRate, 4); in transportEnc_writePCE()
365 if (sampleRateIndex == 15) { in transportEnc_writePCE()
386 FDKwriteBits(hBs, sampleRateIndex, 4); /* Sample rate index*/ in transportEnc_writePCE()
/external/libopus/fuzzer/
Dopus_enc_fuzzer.cpp196 int sampleRateIndex = data[IDX_SAMPLE_RATE_INDEX] % kSampleRatesSize; in initEncoder() local
197 opus_int32 sampleRate = kSampleRates[sampleRateIndex]; in initEncoder()