Home
last modified time | relevance | path

Searched refs:nChannels (Results 1 – 22 of 22) sorted by relevance

/hardware/interfaces/media/omx/1.0/vts/functional/audio/
Dmedia_audio_hidl_test_common.cpp75 void setupPCMPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupPCMPort() argument
82 param.nChannels = nChannels; in setupPCMPort()
89 switch (nChannels) { in setupPCMPort()
150 OMX_AUDIO_MP3STREAMFORMATTYPE eFormat, int32_t nChannels, in setupMP3Port() argument
156 param.nChannels = nChannels; in setupMP3Port()
160 param.eChannelMode = (nChannels == 1) ? OMX_AUDIO_ChannelModeMono in setupMP3Port()
167 void setupFLACPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupFLACPort() argument
173 param.nChannels = nChannels; in setupFLACPort()
180 void setupOPUSPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupOPUSPort() argument
188 param.nChannels = nChannels; in setupOPUSPort()
[all …]
Dmedia_audio_hidl_test_common.h28 void setupPCMPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels,
33 OMX_AUDIO_MP3STREAMFORMATTYPE eFormat, int32_t nChannels,
36 void setupFLACPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels,
39 void setupOPUSPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels,
45 void setupVORBISPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels,
51 int32_t nChannels, int32_t nBitRate, int32_t nSampleRate);
DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp274 int32_t nChannels = 2, int32_t nSampleRate = 44100, in setDefaultPortParam() argument
293 setupPCMPort(omxNode, portIndex, nChannels, eNumData, nBitPerSample, in setDefaultPortParam()
298 OMX_AUDIO_AACStreamFormatMP4FF, nChannels, 0, in setDefaultPortParam()
311 OMX_AUDIO_CODINGTYPE eEncoding, int32_t* nChannels, in getInputChannelInfo() argument
314 *nChannels = 0; in getInputChannelInfo()
326 *nChannels = param.nChannels; in getInputChannelInfo()
336 *nChannels = param.nChannels; in getInputChannelInfo()
347 *nChannels = param.nChannels; in getInputChannelInfo()
357 *nChannels = param.nChannels; in getInputChannelInfo()
367 *nChannels = param.nChannels; in getInputChannelInfo()
[all …]
DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp210 AudioEncHidlTest::standardComp comp, int32_t nChannels, in setDefaultPortParam() argument
235 setupFLACPort(omxNode, portIndex, nChannels, nSampleRate, in setDefaultPortParam()
245 OMX_AUDIO_AACStreamFormatMP4FF, nChannels, nBitRate, in setDefaultPortParam()
310 int32_t samplesPerFrame, int32_t nChannels, in encodeNFrames() argument
316 int bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames()
418 int32_t nChannels = 2; in TEST_F() local
424 nChannels = 1; in TEST_F()
430 nChannels = 1; in TEST_F()
436 nChannels = 2; in TEST_F()
442 nChannels = 2; in TEST_F()
[all …]
/hardware/qcom/sdm845/media/mm-core/inc/
DOMX_Audio.h164 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
209 OMX_U32 nChannels; /**< Number of channels */ member
279 OMX_U32 nChannels; /**< Number of channels */ member
302 OMX_U32 nChannels; /**< Number of channels */ member
355 OMX_U16 nChannels; /**< Number of channels */ member
371 OMX_U16 nChannels; /**< Number of channels */ member
397 OMX_U32 nChannels; /**< Number of channels */ member
423 OMX_U32 nChannels; /**< Number of channels */ member
442 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
467 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
[all …]
DQOMX_AudioExtensions.h124 OMX_U32 nChannels; member
160 OMX_U16 nChannels; member
222 OMX_U16 nChannels; member
535 OMX_U8 nChannels; /* Number of channels for multichannel decoding */ member
555 OMX_U16 nChannels; /* Number of channels for decoding */ member
564 OMX_U32 nChannels; member
580 OMX_U32 nChannels; member
/hardware/qcom/media/msm8998/mm-core/inc/
DOMX_Audio.h164 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
209 OMX_U32 nChannels; /**< Number of channels */ member
279 OMX_U32 nChannels; /**< Number of channels */ member
302 OMX_U32 nChannels; /**< Number of channels */ member
355 OMX_U16 nChannels; /**< Number of channels */ member
371 OMX_U16 nChannels; /**< Number of channels */ member
397 OMX_U32 nChannels; /**< Number of channels */ member
423 OMX_U32 nChannels; /**< Number of channels */ member
442 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
467 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
[all …]
DQOMX_AudioExtensions.h124 OMX_U32 nChannels; member
160 OMX_U16 nChannels; member
222 OMX_U16 nChannels; member
526 OMX_U8 nChannels; /* Number of channels for multichannel decoding */ member
546 OMX_U16 nChannels; /* Number of channels for decoding */ member
555 OMX_U32 nChannels; member
571 OMX_U32 nChannels; member
/hardware/qcom/media/msm8996/mm-core/inc/
DOMX_Audio.h164 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
209 OMX_U32 nChannels; /**< Number of channels */ member
279 OMX_U32 nChannels; /**< Number of channels */ member
302 OMX_U32 nChannels; /**< Number of channels */ member
355 OMX_U16 nChannels; /**< Number of channels */ member
388 OMX_U32 nChannels; /**< Number of channels */ member
414 OMX_U32 nChannels; /**< Number of channels */ member
433 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
458 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
486 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
[all …]
DQOMX_AudioExtensions.h123 OMX_U32 nChannels; member
159 OMX_U16 nChannels; member
221 OMX_U16 nChannels; member
525 OMX_U8 nChannels; /* Number of channels for multichannel decoding */ member
545 OMX_U16 nChannels; /* Number of channels for decoding */ member
554 OMX_U32 nChannels; member
/hardware/qcom/media/msm8974/mm-core/omxcore/inc/
DOMX_Audio.h163 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
208 OMX_U32 nChannels; /**< Number of channels */ member
278 OMX_U32 nChannels; /**< Number of channels */ member
301 OMX_U32 nChannels; /**< Number of channels */ member
354 OMX_U16 nChannels; /**< Number of channels */ member
387 OMX_U32 nChannels; /**< Number of channels */ member
413 OMX_U32 nChannels; /**< Number of channels */ member
432 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
457 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
485 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
[all …]
DQOMX_AudioExtensions.h93 OMX_U32 nChannels; member
129 OMX_U16 nChannels; member
/hardware/qcom/media/msm8974/mm-core/inc/
DOMX_Audio.h164 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
209 OMX_U32 nChannels; /**< Number of channels */ member
279 OMX_U32 nChannels; /**< Number of channels */ member
302 OMX_U32 nChannels; /**< Number of channels */ member
355 OMX_U16 nChannels; /**< Number of channels */ member
388 OMX_U32 nChannels; /**< Number of channels */ member
414 OMX_U32 nChannels; /**< Number of channels */ member
433 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
458 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
486 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
[all …]
DQOMX_AudioExtensions.h117 OMX_U32 nChannels; member
153 OMX_U16 nChannels; member
215 OMX_U16 nChannels; member
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp224 int32_t nChannels, int32_t nSampleRate) { in setupConfigParam() argument
227 C2StreamChannelCountInfo::input channelCountInfo(0u, nChannels); in setupConfigParam()
269 int32_t samplesPerFrame, int32_t nChannels, in encodeNFrames() argument
276 int bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames()
367 int32_t nChannels = 2; in TEST_F() local
372 nChannels = 2; in TEST_F()
377 nChannels = 2; in TEST_F()
382 nChannels = 2; in TEST_F()
387 nChannels = 1; in TEST_F()
392 nChannels = 1; in TEST_F()
[all …]
DMtsHidlC2V1_0TargetAudioDecTest.cpp558 int nChannels = bitStreamInfo[1]; in TEST_F() local
567 samplesReceived += ((itOut->rangeLength) / (nChannels * 2)); in TEST_F()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUtil.h48 int nChannels; member
DAudioUtil.cpp185 pInfo->AudioBlocksArray[i].nChannels = channels[i]; in getHDMIAudioSinkCaps()
186 … ALOGV("pInfo->AudioBlocksArray[i].nChannels %d\n", pInfo->AudioBlocksArray[i].nChannels); in getHDMIAudioSinkCaps()
DALSAStreamOps.cpp268 switch (info.AudioBlocksArray[i].nChannels) { in getParameters()
278 ALOGD("Unsupported number of channels %d", info.AudioBlocksArray[i].nChannels); in getParameters()
Dalsa_default.cpp242 if (info.AudioBlocksArray[i].nChannels > channel_count && in setHDMIChannelCount()
243 info.AudioBlocksArray[i].nChannels <= MAX_HDMI_CHANNEL_CNT) { in setHDMIChannelCount()
244 channel_count = info.AudioBlocksArray[i].nChannels; in setHDMIChannelCount()
DAudioHardwareALSA.cpp853 alsa_handle.channels = info.AudioBlocksArray[info.nAudioBlocks-1].nChannels; in openOutputStream()
/hardware/google/av/media/codecs/aac/
DC2SoftAacEnc.cpp200 static CHANNEL_MODE getChannelMode(uint32_t nChannels) { in getChannelMode() argument
202 switch (nChannels) { in getChannelMode()