Searched refs:pCompAmrParam (Results 1 – 4 of 4) sorted by relevance
800 OMX_AUDIO_PARAM_AMRTYPE *pCompAmrParam = NULL; in GetParameter() local904 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 …]
1082 OMX_AUDIO_PARAM_AMRTYPE *pCompAmrParam = NULL; in SetParameter() local1124 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 …]
1037 OMX_AUDIO_PARAM_AMRTYPE *pCompAmrParam = (OMX_AUDIO_PARAM_AMRTYPE *)pCompParam; in SetParameter() local1039 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()
1010 OMX_AUDIO_PARAM_AMRTYPE *pCompAmrParam = in SetParameter() local1013 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()