Home
last modified time | relevance | path

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

/hardware/interfaces/media/omx/1.0/vts/functional/audio/
Dmedia_audio_hidl_test_common.cpp74 void setupPCMPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupPCMPort() argument
81 param.nChannels = nChannels; in setupPCMPort()
88 switch (nChannels) { in setupPCMPort()
149 OMX_AUDIO_MP3STREAMFORMATTYPE eFormat, int32_t nChannels, in setupMP3Port() argument
155 param.nChannels = nChannels; in setupMP3Port()
159 param.eChannelMode = (nChannels == 1) ? OMX_AUDIO_ChannelModeMono in setupMP3Port()
166 void setupFLACPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupFLACPort() argument
172 param.nChannels = nChannels; in setupFLACPort()
179 void setupOPUSPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupOPUSPort() argument
187 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.cpp273 int32_t nChannels = 2, int32_t nSampleRate = 44100, in setDefaultPortParam() argument
292 setupPCMPort(omxNode, portIndex, nChannels, eNumData, nBitPerSample, in setDefaultPortParam()
297 OMX_AUDIO_AACStreamFormatMP4FF, nChannels, 0, in setDefaultPortParam()
310 OMX_AUDIO_CODINGTYPE eEncoding, int32_t* nChannels, in getInputChannelInfo() argument
313 *nChannels = 0; in getInputChannelInfo()
325 *nChannels = param.nChannels; in getInputChannelInfo()
335 *nChannels = param.nChannels; in getInputChannelInfo()
346 *nChannels = param.nChannels; in getInputChannelInfo()
356 *nChannels = param.nChannels; in getInputChannelInfo()
366 *nChannels = param.nChannels; in getInputChannelInfo()
[all …]
DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp212 AudioEncHidlTest::standardComp comp, int32_t nChannels, in setDefaultPortParam() argument
237 setupFLACPort(omxNode, portIndex, nChannels, nSampleRate, in setDefaultPortParam()
247 OMX_AUDIO_AACStreamFormatMP4FF, nChannels, nBitRate, in setDefaultPortParam()
312 int32_t samplesPerFrame, int32_t nChannels, in encodeNFrames() argument
318 int bytesCount = samplesPerFrame * nChannels * 2; in encodeNFrames()
420 int32_t nChannels = 2; in TEST_P() local
426 nChannels = 1; in TEST_P()
432 nChannels = 1; in TEST_P()
438 nChannels = 2; in TEST_P()
444 nChannels = 2; in TEST_P()
[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/sm8150/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.h125 OMX_U32 nChannels; member
161 OMX_U16 nChannels; member
223 OMX_U16 nChannels; member
536 OMX_U8 nChannels; /* Number of channels for multichannel decoding */ member
556 OMX_U16 nChannels; /* Number of channels for decoding */ member
565 OMX_U32 nChannels; member
581 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/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/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/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()