Home
last modified time | relevance | path

Searched refs:pCompAmrParam (Results 1 – 4 of 4) sorted by relevance

/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEncoder.c800 OMX_AUDIO_PARAM_AMRTYPE *pCompAmrParam = NULL; in GetParameter() local
904 pCompAmrParam = (OMX_AUDIO_PARAM_AMRTYPE *)ComponentParameterStructure; in GetParameter()
906 switch (pCompAmrParam->eAMRBandMode) { in GetParameter()
908 pCompAmrParam->eAMRBandMode = OMX_AUDIO_AMRBandModeWB0; in GetParameter()
911 pCompAmrParam->eAMRBandMode = OMX_AUDIO_AMRBandModeWB1; in GetParameter()
914 pCompAmrParam->eAMRBandMode = OMX_AUDIO_AMRBandModeWB2; in GetParameter()
917 pCompAmrParam->eAMRBandMode = OMX_AUDIO_AMRBandModeWB3; in GetParameter()
920 pCompAmrParam->eAMRBandMode = OMX_AUDIO_AMRBandModeWB4; in GetParameter()
923 pCompAmrParam->eAMRBandMode = OMX_AUDIO_AMRBandModeWB5; in GetParameter()
926 pCompAmrParam->eAMRBandMode = OMX_AUDIO_AMRBandModeWB6; in GetParameter()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEncoder.c1082 OMX_AUDIO_PARAM_AMRTYPE *pCompAmrParam = NULL; in SetParameter() local
1124 pCompAmrParam = (OMX_AUDIO_PARAM_AMRTYPE *)pCompParam; in SetParameter()
1125 if(pCompAmrParam->nPortIndex == 0) { /* 0 means Input port */ in SetParameter()
1127 … pHandle->pComponentPrivate)->pcmParams, pCompAmrParam, sizeof(OMX_AUDIO_PARAM_AMRTYPE)); in SetParameter()
1128 } else if (pCompAmrParam->nPortIndex == 1) { /* 1 means Output port */ in SetParameter()
1135 … pHandle->pComponentPrivate)->amrParams, pCompAmrParam, sizeof(OMX_AUDIO_PARAM_AMRTYPE)); in SetParameter()
1137 switch (pCompAmrParam->eAMRBandMode) in SetParameter()
1176 if (pCompAmrParam->eAMRFrameFormat == OMX_AUDIO_AMRFrameFormatConformance) { in SetParameter()
1179 else if((pCompAmrParam->eAMRFrameFormat == OMX_AUDIO_AMRFrameFormatFSF) || in SetParameter()
1180 (pCompAmrParam->eAMRFrameFormat == OMX_AUDIO_AMRFrameFormatRTPPayload)){ in SetParameter()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDecoder.c1037 OMX_AUDIO_PARAM_AMRTYPE *pCompAmrParam = (OMX_AUDIO_PARAM_AMRTYPE *)pCompParam; in SetParameter() local
1039 if (OMX_AUDIO_AMRFrameFormatConformance == pCompAmrParam->eAMRFrameFormat) in SetParameter()
1041 else if (OMX_AUDIO_AMRFrameFormatIF2 == pCompAmrParam->eAMRFrameFormat) in SetParameter()
1043 else if (OMX_AUDIO_AMRFrameFormatRTPPayload == pCompAmrParam->eAMRFrameFormat) { in SetParameter()
1050 pComponentPrivate->iAmrMode = pCompAmrParam->eAMRDTXMode; in SetParameter()
1054 if(pCompAmrParam->nPortIndex == 0) { in SetParameter()
1057 pCompAmrParam, sizeof(OMX_AUDIO_PARAM_AMRTYPE)); in SetParameter()
1059 } else if (pCompAmrParam->nPortIndex == 1) { in SetParameter()
1063 pCompAmrParam, sizeof(OMX_AUDIO_PARAM_AMRTYPE)); in SetParameter()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDecoder.c1010 OMX_AUDIO_PARAM_AMRTYPE *pCompAmrParam = in SetParameter() local
1013 if (OMX_AUDIO_AMRFrameFormatConformance == pCompAmrParam->eAMRFrameFormat) in SetParameter()
1015 else if (OMX_AUDIO_AMRFrameFormatIF2 == pCompAmrParam->eAMRFrameFormat) in SetParameter()
1017 else if (OMX_AUDIO_AMRFrameFormatRTPPayload == pCompAmrParam->eAMRFrameFormat){ in SetParameter()
1025 if(pCompAmrParam->nPortIndex == 0) { in SetParameter()
1028 pCompAmrParam, sizeof(OMX_AUDIO_PARAM_AMRTYPE)); in SetParameter()
1030 } else if (pCompAmrParam->nPortIndex == 1) { in SetParameter()
1034 pCompAmrParam, sizeof(OMX_AUDIO_PARAM_AMRTYPE)); in SetParameter()