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/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/codecs/g711/dec/
DSoftG711.cpp112 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
115 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
119 if (formatParams->nPortIndex > 1) { in internalGetParameter()
123 if (formatParams->nIndex > 0) { in internalGetParameter()
127 formatParams->eEncoding = in internalGetParameter()
128 (formatParams->nPortIndex == 0) in internalGetParameter()
204 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
207 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
211 if (formatParams->nPortIndex > 1) { in internalSetParameter()
215 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[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/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/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/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/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/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.cpp163 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
166 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
170 if (formatParams->nPortIndex > 1) { in internalGetParameter()
174 if (formatParams->nIndex > 0) { in internalGetParameter()
178 formatParams->eEncoding = in internalGetParameter()
179 (formatParams->nPortIndex == 0) in internalGetParameter()
240 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
243 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
247 if (formatParams->nPortIndex > 1) { in internalSetParameter()
251 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/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/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.cpp270 OMX_AUDIO_PARAM_PORTFORMATTYPE* formatParams = (OMX_AUDIO_PARAM_PORTFORMATTYPE*)params; in internalGetParameter() local
272 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
276 if (formatParams->nPortIndex > 1) { in internalGetParameter()
280 if (formatParams->nIndex > 0) { in internalGetParameter()
284 formatParams->eEncoding = in internalGetParameter()
285 (formatParams->nPortIndex == 0) ? OMX_AUDIO_CodingAAC : OMX_AUDIO_CodingPCM; in internalGetParameter()
404 const OMX_AUDIO_PARAM_PORTFORMATTYPE* formatParams = in internalSetParameter() local
407 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
411 if (formatParams->nPortIndex > 1) { in internalSetParameter()
415 if ((formatParams->nPortIndex == 0 && formatParams->eEncoding != OMX_AUDIO_CodingAAC) || in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h1646 AString formatParams; in setupTrack() local
1647 mSessionDesc->getFormatType(index, &PT, &formatDesc, &formatParams); in setupTrack()