Home
last modified time | relevance | path

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

/external/aac/libMpegTPDec/include/
Dtp_data.h325 static inline int getNumberOfTotalChannels(int channelConfig) in getNumberOfTotalChannels() argument
327 if (channelConfig > 0 && channelConfig < 8) in getNumberOfTotalChannels()
328 return (channelConfig == 7)?8:channelConfig; in getNumberOfTotalChannels()
334 int getNumberOfEffectiveChannels(const int channelConfig) in getNumberOfEffectiveChannels() argument
337 return n[channelConfig]; in getNumberOfEffectiveChannels()
Dtpdec_lib.h209 const UINT channelConfig );
230 UINT channelConfig,
/external/aac/libMpegTPEnc/include/
Dtp_data.h325 static inline int getNumberOfTotalChannels(int channelConfig) in getNumberOfTotalChannels() argument
327 if (channelConfig > 0 && channelConfig < 8) in getNumberOfTotalChannels()
328 return (channelConfig == 7)?8:channelConfig; in getNumberOfTotalChannels()
334 int getNumberOfEffectiveChannels(const int channelConfig) in getNumberOfEffectiveChannels() argument
337 return n[channelConfig]; in getNumberOfEffectiveChannels()
/external/chromium_org/media/base/android/java/src/org/chromium/media/
DAudioRecordInput.java135 int channelConfig; in open() local
137 channelConfig = AudioFormat.CHANNEL_IN_MONO; in open()
139 channelConfig = AudioFormat.CHANNEL_IN_STEREO; in open()
158 int minBufferSize = AudioRecord.getMinBufferSize(mSampleRate, channelConfig, audioFormat); in open()
171 channelConfig, in open()
DAudioManagerAndroid.java326 int channelConfig; in getMinInputFrameSize() local
328 channelConfig = AudioFormat.CHANNEL_IN_MONO; in getMinInputFrameSize()
330 channelConfig = AudioFormat.CHANNEL_IN_STEREO; in getMinInputFrameSize()
335 sampleRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT) / 2 / channels; in getMinInputFrameSize()
346 int channelConfig; in getMinOutputFrameSize() local
348 channelConfig = AudioFormat.CHANNEL_OUT_MONO; in getMinOutputFrameSize()
350 channelConfig = AudioFormat.CHANNEL_OUT_STEREO; in getMinOutputFrameSize()
355 sampleRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT) / 2 / channels; in getMinOutputFrameSize()
DMediaCodecBridge.java499 int channelConfig = (channelCount == 1) ? AudioFormat.CHANNEL_OUT_MONO : in configureAudio() local
503 int minBufferSize = AudioTrack.getMinBufferSize(sampleRate, channelConfig, in configureAudio()
505 mAudioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, sampleRate, channelConfig, in configureAudio()
/external/aac/libMpegTPDec/src/
Dtpdec_asc.cpp283 const UINT channelConfig ) in CProgramConfig_GetDefault() argument
291 switch (channelConfig) { in CProgramConfig_GetDefault()
299 pPce->BackElementIsCpe[0] = (channelConfig>4) ? 1 : 0; in CProgramConfig_GetDefault()
300 pPce->NumChannels += (channelConfig>4) ? 2 : 1; in CProgramConfig_GetDefault()
301 pPce->NumEffectiveChannels += (channelConfig>4) ? 2 : 1; in CProgramConfig_GetDefault()
358 UINT channelConfig, in getImplicitAudioChannelTypeAndIndex() argument
366 switch (channelConfig) { in getImplicitAudioChannelTypeAndIndex()
409 UINT channelConfig, in CProgramConfig_LookupElement() argument
420 if (channelConfig > 0) in CProgramConfig_LookupElement()
431 if ( (channelConfig == 2) && (elType == ID_SCE) ) in CProgramConfig_LookupElement()
[all …]
/external/aac/libAACdec/src/
Daacdecoder.cpp408 const UINT channelConfig, in CProgramConfigElement_Read() argument
429 if ( !pce->isValid && (channelConfig > 0) ) { in CProgramConfigElement_Read()
431 CProgramConfig_GetDefault( pce, channelConfig ); in CProgramConfigElement_Read()
443 if (channelConfig == 0) { in CProgramConfigElement_Read()
690 pStreamInfo->channelConfig = -1; in CStreamInfoInit()
910 self->streamInfo.channelConfig = asc->m_channelConfiguration; in CAacDecoder_Init()
1120 if (self->streamInfo.channelConfig == 0) { in CAacDecoder_DecodeFrame()
1251 self->streamInfo.channelConfig, in CAacDecoder_DecodeFrame()
1357 self->streamInfo.channelConfig, in CAacDecoder_DecodeFrame()
1390 self->streamInfo.channelConfig, in CAacDecoder_DecodeFrame()
[all …]
/external/aac/libAACdec/include/
Daacdecoder_lib.h502 …INT channelConfig; /*!< Channel configuration (0: PCE defined, 1: mono, 2: ste… member
/external/aac/libMpegTPEnc/src/
Dtpenc_lib.cpp185 const int channelConfig, in getPceRepetitionRate() argument
194 switch ( channelConfig ) { in getPceRepetitionRate()