/frameworks/av/media/libstagefright/codecs/raw/ |
D | SoftRaw.cpp | 127 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 130 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 134 if (pcmParams->nPortIndex != 0 && pcmParams->nPortIndex != 1) { in internalGetParameter() 138 pcmParams->eNumData = (OMX_NUMERICALDATATYPE)mNumericalData; in internalGetParameter() 139 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 140 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 141 pcmParams->nBitPerSample = mBitsPerSample; in internalGetParameter() 142 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 143 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 144 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 134 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 137 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 141 if (pcmParams->nPortIndex > 1) { in internalGetParameter() 145 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 146 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 147 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 148 pcmParams->nBitPerSample = 16; in internalGetParameter() 149 if (pcmParams->nPortIndex == 0) { in internalGetParameter() 151 pcmParams->ePCMMode = mIsMLaw ? OMX_AUDIO_PCMModeMULaw in internalGetParameter() 155 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
D | SoftGSM.cpp | 134 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 137 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 141 if (pcmParams->nPortIndex > 1) { in internalGetParameter() 145 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 146 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 147 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 148 pcmParams->nBitPerSample = 16; in internalGetParameter() 149 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 150 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 151 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/flac/dec/ |
D | SoftFlacDecoder.cpp | 185 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 188 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 193 if (pcmParams->nPortIndex != 1) { in internalGetParameter() 198 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 199 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 200 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 201 pcmParams->nBitPerSample = 16; in internalGetParameter() 202 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 203 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 204 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
D | SoftAMRNBEncoder.cpp | 166 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 169 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 173 if (pcmParams->nPortIndex != 0) { in internalGetParameter() 177 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 178 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 179 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 180 pcmParams->nBitPerSample = 16; in internalGetParameter() 181 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 182 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelCF; in internalGetParameter() 184 pcmParams->nChannels = 1; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 163 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 166 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 170 if (pcmParams->nPortIndex > 1) { in internalGetParameter() 174 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 175 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 176 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 177 pcmParams->nBitPerSample = 16; in internalGetParameter() 178 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 179 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 180 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 184 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 187 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 191 if (pcmParams->nPortIndex != 0) { in internalGetParameter() 195 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 196 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 197 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 198 pcmParams->nBitPerSample = 16; in internalGetParameter() 199 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 200 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 201 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
D | SoftAMRWBEncoder.cpp | 204 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 207 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 211 if (pcmParams->nPortIndex != 0) { in internalGetParameter() 215 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 216 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 217 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 218 pcmParams->nBitPerSample = 16; in internalGetParameter() 219 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 220 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelCF; in internalGetParameter() 222 pcmParams->nChannels = 1; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
D | SoftAMR.cpp | 202 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 205 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 209 if (pcmParams->nPortIndex != 1) { in internalGetParameter() 213 pcmParams->nChannels = 1; in internalGetParameter() 214 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 215 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 216 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 217 pcmParams->nBitPerSample = 16; in internalGetParameter() 219 pcmParams->nSamplingRate = in internalGetParameter() 222 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder2.cpp | 221 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 224 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 228 if (pcmParams->nPortIndex != 0) { in internalGetParameter() 232 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 233 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 234 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 235 pcmParams->nBitPerSample = 16; in internalGetParameter() 236 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 237 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 238 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 192 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 195 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 199 if (pcmParams->nPortIndex != 1) { in internalGetParameter() 203 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 204 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 205 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 206 pcmParams->nBitPerSample = 16; in internalGetParameter() 207 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 208 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 209 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 186 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 189 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 193 if (pcmParams->nPortIndex != 1) { in internalGetParameter() 197 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 198 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 199 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 200 pcmParams->nBitPerSample = 16; in internalGetParameter() 201 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 202 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 203 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 298 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = in internalGetParameter() local 301 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 305 if (pcmParams->nPortIndex != 1) { in internalGetParameter() 309 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 310 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 311 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 312 pcmParams->nBitPerSample = 16; in internalGetParameter() 313 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 314 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 315 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/codecs/xaacdec/ |
D | SoftXAAC.cpp | 339 OMX_AUDIO_PARAM_PCMMODETYPE* pcmParams = (OMX_AUDIO_PARAM_PCMMODETYPE*)params; in internalGetParameter() local 341 if (!isValidOMXParam(pcmParams)) { in internalGetParameter() 345 if (pcmParams->nPortIndex != 1) { in internalGetParameter() 349 pcmParams->eNumData = OMX_NumericalDataSigned; in internalGetParameter() 350 pcmParams->eEndian = OMX_EndianBig; in internalGetParameter() 351 pcmParams->bInterleaved = OMX_TRUE; in internalGetParameter() 352 pcmParams->nBitPerSample = 16; in internalGetParameter() 353 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear; in internalGetParameter() 354 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF; in internalGetParameter() 355 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF; in internalGetParameter() [all …]
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 3025 OMX_AUDIO_PARAM_PCMMODETYPE pcmParams; in setupRawAudioFormat() local 3026 InitOMXParams(&pcmParams); in setupRawAudioFormat() 3027 pcmParams.nPortIndex = portIndex; in setupRawAudioFormat() 3030 OMX_IndexParamAudioPcm, &pcmParams, sizeof(pcmParams)); in setupRawAudioFormat() 3036 pcmParams.nChannels = numChannels; in setupRawAudioFormat() 3039 pcmParams.eNumData = OMX_NumericalDataUnsigned; in setupRawAudioFormat() 3040 pcmParams.nBitPerSample = 8; in setupRawAudioFormat() 3043 pcmParams.eNumData = OMX_NumericalDataFloat; in setupRawAudioFormat() 3044 pcmParams.nBitPerSample = 32; in setupRawAudioFormat() 3047 pcmParams.eNumData = OMX_NumericalDataSigned; in setupRawAudioFormat() [all …]
|