Home
last modified time | relevance | path

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

12

/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/sm7250/media/mm-core/inc/
DOMX_Audio.h165 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
210 OMX_U32 nChannels; /**< Number of channels */ member
280 OMX_U32 nChannels; /**< Number of channels */ member
303 OMX_U32 nChannels; /**< Number of channels */ member
356 OMX_U16 nChannels; /**< Number of channels */ member
372 OMX_U16 nChannels; /**< Number of channels */ member
398 OMX_U32 nChannels; /**< Number of channels */ member
424 OMX_U32 nChannels; /**< Number of channels */ member
443 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
468 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/sm8150/media/mm-core/inc/
DOMX_Audio.h165 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
210 OMX_U32 nChannels; /**< Number of channels */ member
280 OMX_U32 nChannels; /**< Number of channels */ member
303 OMX_U32 nChannels; /**< Number of channels */ member
356 OMX_U16 nChannels; /**< Number of channels */ member
372 OMX_U16 nChannels; /**< Number of channels */ member
398 OMX_U32 nChannels; /**< Number of channels */ member
424 OMX_U32 nChannels; /**< Number of channels */ member
443 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
468 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/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/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/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/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()
/hardware/google/gfxstream/include/render-utils/
DRenderer.h307 virtual int getScreenshot(unsigned int nChannels, unsigned int* width, unsigned int* height,
/hardware/google/gfxstream/host/
DRendererImpl.h113 int getScreenshot(unsigned int nChannels, unsigned int* width, unsigned int* height,
DRendererImpl.cpp410 int RendererImpl::getScreenshot(unsigned int nChannels, unsigned int* width, unsigned int* height, in getScreenshot() argument
416 return fb->getScreenshot(nChannels, width, height, pixels, cPixels,
DFrameBuffer.cpp1987 int FrameBuffer::getScreenshot(unsigned int nChannels, unsigned int* width, unsigned int* height, in getScreenshot() argument
2009 if (nChannels != 3 && nChannels != 4) { in getScreenshot()
2056 useSnipping ? (nChannels * rect.size.w * rect.size.h) : (nChannels * (*width) * (*height)); in getScreenshot()
2094 GLenum format = nChannels == 3 ? GL_RGB : GL_RGBA; in getScreenshot()
DFrameBuffer.h422 int getScreenshot(unsigned int nChannels, unsigned int* width, unsigned int* height,

12