Home
last modified time | relevance | path

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

/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.cpp339 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
342 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
346 if (formatParams->nPortIndex > kMaxPortIndex) { in internalGetParameter()
350 if (formatParams->nIndex != 0) { in internalGetParameter()
354 if (formatParams->nPortIndex == kInputPortIndex) { in internalGetParameter()
355 formatParams->eCompressionFormat = mCodingType; in internalGetParameter()
356 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
357 formatParams->xFramerate = 0; in internalGetParameter()
359 CHECK_EQ(formatParams->nPortIndex, 1u); in internalGetParameter()
361 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
[all …]
DSoftVideoEncoderOMXComponent.cpp324 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
327 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
331 if (formatParams->nPortIndex == kInputPortIndex) { in internalGetParameter()
332 if (formatParams->nIndex >= NELEM(kSupportedColorFormats)) { in internalGetParameter()
337 formatParams->eColorFormat = kSupportedColorFormats[formatParams->nIndex]; in internalGetParameter()
338 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
339 formatParams->xFramerate = mFramerate; in internalGetParameter()
341 } else if (formatParams->nPortIndex == kOutputPortIndex) { in internalGetParameter()
342 formatParams->eCompressionFormat = mCodingType; in internalGetParameter()
343 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
[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/aacenc/
DSoftAACEncoder.cpp153 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
156 if (!isValidOMXParam(formatParams)) { in internalGetParameter()
160 if (formatParams->nPortIndex > 1) { in internalGetParameter()
164 if (formatParams->nIndex > 0) { in internalGetParameter()
168 formatParams->eEncoding = in internalGetParameter()
169 (formatParams->nPortIndex == 0) in internalGetParameter()
258 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
261 if (!isValidOMXParam(formatParams)) { in internalSetParameter()
265 if (formatParams->nPortIndex > 1) { in internalSetParameter()
269 if ((formatParams->nPortIndex == 0 in internalSetParameter()
[all …]
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/rtsp/
DMyHandler.h1628 AString formatParams; in setupTrack() local
1629 mSessionDesc->getFormatType(index, &PT, &formatDesc, &formatParams); in setupTrack()