Home
last modified time | relevance | path

Searched refs:pG711Param (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c454 OMX_AUDIO_PARAM_PCMMODETYPE* pG711Param = NULL; in main() local
915 pG711Param = malloc (sizeof (OMX_AUDIO_PARAM_PCMMODETYPE)); in main()
916 APP_MEMPRINT("%d:::[TESTAPPALLOC] %p\n",__LINE__,pG711Param); in main()
917 if(pG711Param == NULL) { in main()
922 pG711Param->nPortIndex = OMX_DirInput; in main()
923 OMX_GetParameter(pHandle, OMX_IndexParamAudioPcm, pG711Param); in main()
924 pG711Param->nSize = sizeof (OMX_AUDIO_PARAM_PCMMODETYPE); in main()
925 pG711Param->nVersion.s.nVersionMajor = 0xF1; in main()
926 pG711Param->nVersion.s.nVersionMinor = 0xF2; in main()
928 pG711Param->nChannels = 1; /* mono */ in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c407 OMX_AUDIO_PARAM_PCMMODETYPE *pG711Param = NULL; in main() local
695 OMX_G711ENC_MALLOC_STRUCT(pG711Param, OMX_AUDIO_PARAM_PCMMODETYPE); in main()
696 OMX_G711ENC_CONF_INIT_STRUCT(pG711Param, OMX_AUDIO_PARAM_PCMMODETYPE); in main()
699 pG711Param->nPortIndex = OMX_DirOutput; in main()
700 eError = OMX_GetParameter (pHandle, OMX_IndexParamAudioPcm, pG711Param); in main()
706 pG711Param->nChannels = G711ENC_NUM_OF_CHANNELS; in main()
710 pG711Param->ePCMMode = OMX_AUDIO_PCMModeALaw; in main()
712 pG711Param->ePCMMode = OMX_AUDIO_PCMModeMULaw; in main()
720 eError = OMX_SetParameter (pHandle, OMX_IndexParamAudioPcm, pG711Param); in main()
723 eError = OMX_SetParameter (pHandle, OMX_IndexParamAudioPcm, pG711Param); in main()
[all …]