Home
last modified time | relevance | path

Searched refs:formatParams (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp110 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
113 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
117 if (formatParams->nPortIndex > 1) { in internalGetParameter()
121 if (formatParams->nIndex > 0) { in internalGetParameter()
125 formatParams->eEncoding = in internalGetParameter()
126 (formatParams->nPortIndex == 0) in internalGetParameter()
193 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
196 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
200 if (formatParams->nPortIndex > 1) { in internalSetParameter()
204 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp110 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
113 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
117 if (formatParams->nPortIndex > 1) { in internalGetParameter()
121 if (formatParams->nIndex > 0) { in internalGetParameter()
125 formatParams->eEncoding = in internalGetParameter()
126 (formatParams->nPortIndex == 0) in internalGetParameter()
202 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
205 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
209 if (formatParams->nPortIndex > 1) { in internalSetParameter()
213 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp120 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
123 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
127 if (formatParams->nPortIndex > 1) { in internalGetParameter()
131 if (formatParams->nIndex > 0) { in internalGetParameter()
135 formatParams->eEncoding = in internalGetParameter()
136 (formatParams->nPortIndex == 0) in internalGetParameter()
218 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
221 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
225 if (formatParams->nPortIndex > 1) { in internalSetParameter()
229 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp352 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
355 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
359 if (formatParams->nPortIndex > kMaxPortIndex) { in internalGetParameter()
363 if (formatParams->nIndex != 0) { in internalGetParameter()
367 if (formatParams->nPortIndex == kInputPortIndex) { in internalGetParameter()
368 formatParams->eCompressionFormat = mCodingType; in internalGetParameter()
369 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
370 formatParams->xFramerate = 0; in internalGetParameter()
372 CHECK_EQ(formatParams->nPortIndex, 1u); in internalGetParameter()
374 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
[all …]
DSoftVideoEncoderOMXComponent.cpp323 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
326 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
330 if (formatParams->nPortIndex == kInputPortIndex) { in internalGetParameter()
331 if (formatParams->nIndex >= NELEM(kSupportedColorFormats)) { in internalGetParameter()
336 formatParams->eColorFormat = kSupportedColorFormats[formatParams->nIndex]; in internalGetParameter()
337 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
338 formatParams->xFramerate = mFramerate; in internalGetParameter()
340 } else if (formatParams->nPortIndex == kOutputPortIndex) { in internalGetParameter()
341 formatParams->eCompressionFormat = mCodingType; in internalGetParameter()
342 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp139 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
142 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
146 if (formatParams->nPortIndex > 1) { in internalGetParameter()
150 if (formatParams->nIndex > 0) { in internalGetParameter()
154 formatParams->eEncoding = in internalGetParameter()
155 (formatParams->nPortIndex == 0) in internalGetParameter()
237 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
240 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
244 if (formatParams->nPortIndex > 1) { in internalSetParameter()
248 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp155 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
158 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
162 if (formatParams->nPortIndex > 1) { in internalGetParameter()
166 if (formatParams->nIndex > 0) { in internalGetParameter()
170 formatParams->eEncoding = in internalGetParameter()
171 (formatParams->nPortIndex == 0) in internalGetParameter()
256 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
259 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
263 if (formatParams->nPortIndex > 1) { in internalSetParameter()
267 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp134 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
137 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
141 if (formatParams->nPortIndex > 1) { in internalGetParameter()
145 if (formatParams->nIndex > 0) { in internalGetParameter()
149 formatParams->eEncoding = in internalGetParameter()
150 (formatParams->nPortIndex == 0) in internalGetParameter()
250 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
253 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
257 if (formatParams->nPortIndex > 1) { in internalSetParameter()
261 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp105 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
108 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
112 if (formatParams->nPortIndex > 1) { in internalGetParameter()
116 if (formatParams->nIndex > 0) { in internalGetParameter()
120 formatParams->eEncoding = OMX_AUDIO_CodingPCM; in internalGetParameter()
180 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
183 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
187 if (formatParams->nPortIndex > 1) { in internalSetParameter()
191 if (formatParams->eEncoding != OMX_AUDIO_CodingPCM) { in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp148 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
151 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
155 if (formatParams->nPortIndex > 1) { in internalGetParameter()
159 if (formatParams->nIndex > 0) { in internalGetParameter()
163 formatParams->eEncoding = in internalGetParameter()
164 (formatParams->nPortIndex == 0) in internalGetParameter()
265 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
268 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
272 if (formatParams->nPortIndex > 1) { in internalSetParameter()
276 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp160 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
163 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
167 if (formatParams->nPortIndex > 1) { in internalGetParameter()
171 if (formatParams->nIndex > 0) { in internalGetParameter()
175 formatParams->eEncoding = in internalGetParameter()
176 (formatParams->nPortIndex == 0) in internalGetParameter()
237 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
240 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
244 if (formatParams->nPortIndex > 1) { in internalSetParameter()
248 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp134 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
137 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
141 if (formatParams->nPortIndex > 1) { in internalGetParameter()
145 if (formatParams->nIndex > 0) { in internalGetParameter()
149 formatParams->eEncoding = in internalGetParameter()
150 (formatParams->nPortIndex == 0) in internalGetParameter()
250 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
253 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
257 if (formatParams->nPortIndex > 1) { in internalSetParameter()
261 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp135 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
138 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
142 if (formatParams->nPortIndex > 1) { in internalGetParameter()
146 if (formatParams->nIndex > 0) { in internalGetParameter()
150 formatParams->eEncoding = in internalGetParameter()
151 (formatParams->nPortIndex == 0) in internalGetParameter()
243 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
246 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
250 if (formatParams->nPortIndex > 1) { in internalSetParameter()
254 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp134 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
137 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
141 if (formatParams->nPortIndex > 1) { in internalGetParameter()
145 if (formatParams->nIndex > 0) { in internalGetParameter()
149 formatParams->eEncoding = in internalGetParameter()
150 (formatParams->nPortIndex == 0) in internalGetParameter()
297 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
300 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
304 if (formatParams->nPortIndex > 1) { in internalSetParameter()
308 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp235 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
238 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
242 if (formatParams->nPortIndex > 1) { in internalGetParameter()
246 if (formatParams->nIndex > 0) { in internalGetParameter()
250 formatParams->eEncoding = in internalGetParameter()
251 (formatParams->nPortIndex == 0) in internalGetParameter()
383 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
386 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
390 if (formatParams->nPortIndex > 1) { in internalSetParameter()
394 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp283 OMX_AUDIO_PARAM_PORTFORMATTYPE* formatParams = (OMX_AUDIO_PARAM_PORTFORMATTYPE*)params; in internalGetParameter() local
285 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
289 if (formatParams->nPortIndex > 1) { in internalGetParameter()
293 if (formatParams->nIndex > 0) { in internalGetParameter()
297 formatParams->eEncoding = in internalGetParameter()
298 (formatParams->nPortIndex == 0) ? OMX_AUDIO_CodingAAC : OMX_AUDIO_CodingPCM; in internalGetParameter()
417 const OMX_AUDIO_PARAM_PORTFORMATTYPE* formatParams = in internalSetParameter() local
420 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
424 if (formatParams->nPortIndex > 1) { in internalSetParameter()
428 if ((formatParams->nPortIndex == 0 && formatParams->eEncoding != OMX_AUDIO_CodingAAC) || in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h1629 AString formatParams; in setupTrack() local
1630 mSessionDesc->getFormatType(index, &PT, &formatDesc, &formatParams); in setupTrack()