Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp317 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
320 if (formatParams->nPortIndex > 1) { in internalGetParameter()
324 if (formatParams->nIndex > 1) { in internalGetParameter()
328 if (formatParams->nPortIndex == 0) { in internalGetParameter()
329 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
330 if (formatParams->nIndex == 0) { in internalGetParameter()
331 formatParams->eColorFormat = OMX_COLOR_FormatYUV420Planar; in internalGetParameter()
333 formatParams->eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in internalGetParameter()
336 formatParams->eCompressionFormat = in internalGetParameter()
341 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp120 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
123 if (formatParams->nPortIndex > 1) { in internalGetParameter()
127 if (formatParams->nIndex > 0) { in internalGetParameter()
131 formatParams->eEncoding = in internalGetParameter()
132 (formatParams->nPortIndex == 0) in internalGetParameter()
202 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
205 if (formatParams->nPortIndex > 1) { in internalSetParameter()
209 if (formatParams->nIndex > 0) { in internalSetParameter()
213 if ((formatParams->nPortIndex == 0 in internalSetParameter()
214 && formatParams->eEncoding != OMX_AUDIO_CodingPCM) in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp153 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
156 if (formatParams->nPortIndex > 1) { in internalGetParameter()
160 if (formatParams->nIndex != 0) { in internalGetParameter()
164 if (formatParams->nPortIndex == 0) { in internalGetParameter()
165 formatParams->eCompressionFormat = OMX_VIDEO_CodingVPX; in internalGetParameter()
166 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
167 formatParams->xFramerate = 0; in internalGetParameter()
169 CHECK_EQ(formatParams->nPortIndex, 1u); in internalGetParameter()
171 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
172 formatParams->eColorFormat = OMX_COLOR_FormatYUV420Planar; in internalGetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp155 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
158 if (formatParams->nPortIndex > 1) { in internalGetParameter()
162 if (formatParams->nIndex > 0) { in internalGetParameter()
166 formatParams->eEncoding = in internalGetParameter()
167 (formatParams->nPortIndex == 0) in internalGetParameter()
240 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
243 if (formatParams->nPortIndex > 1) { in internalSetParameter()
247 if (formatParams->nIndex > 0) { in internalSetParameter()
251 if ((formatParams->nPortIndex == 0 in internalSetParameter()
252 && formatParams->eEncoding != OMX_AUDIO_CodingPCM) in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp444 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
447 if (formatParams->nPortIndex > 1) { in internalGetParameter()
451 if (formatParams->nIndex > 1) { in internalGetParameter()
455 if (formatParams->nPortIndex == 0) { in internalGetParameter()
456 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
457 if (formatParams->nIndex == 0) { in internalGetParameter()
458 formatParams->eColorFormat = OMX_COLOR_FormatYUV420Planar; in internalGetParameter()
460 formatParams->eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in internalGetParameter()
463 formatParams->eCompressionFormat = OMX_VIDEO_CodingAVC; in internalGetParameter()
464 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp154 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
157 if (formatParams->nPortIndex > 1) { in internalGetParameter()
161 if (formatParams->nIndex > 0) { in internalGetParameter()
165 formatParams->eEncoding = in internalGetParameter()
166 (formatParams->nPortIndex == 0) in internalGetParameter()
243 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
246 if (formatParams->nPortIndex > 1) { in internalSetParameter()
250 if (formatParams->nIndex > 0) { in internalSetParameter()
254 if ((formatParams->nPortIndex == 0 in internalSetParameter()
255 && formatParams->eEncoding != OMX_AUDIO_CodingPCM) in internalSetParameter()
[all …]
DSoftAACEncoder2.cpp120 OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
123 if (formatParams->nPortIndex > 1) { in internalGetParameter()
127 if (formatParams->nIndex > 0) { in internalGetParameter()
131 formatParams->eEncoding = in internalGetParameter()
132 (formatParams->nPortIndex == 0) in internalGetParameter()
209 const OMX_AUDIO_PARAM_PORTFORMATTYPE *formatParams = in internalSetParameter() local
212 if (formatParams->nPortIndex > 1) { in internalSetParameter()
216 if (formatParams->nIndex > 0) { in internalSetParameter()
220 if ((formatParams->nPortIndex == 0 in internalSetParameter()
221 && formatParams->eEncoding != OMX_AUDIO_CodingPCM) in internalSetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp175 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
178 if (formatParams->nPortIndex > 1) { in internalGetParameter()
182 if (formatParams->nIndex != 0) { in internalGetParameter()
186 if (formatParams->nPortIndex == 0) { in internalGetParameter()
187 formatParams->eCompressionFormat = in internalGetParameter()
191 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
192 formatParams->xFramerate = 0; in internalGetParameter()
194 CHECK_EQ(formatParams->nPortIndex, 1u); in internalGetParameter()
196 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
197 formatParams->eColorFormat = OMX_COLOR_FormatYUV420Planar; in internalGetParameter()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp175 OMX_VIDEO_PARAM_PORTFORMATTYPE *formatParams = in internalGetParameter() local
178 if (formatParams->nPortIndex > kOutputPortIndex) { in internalGetParameter()
182 if (formatParams->nIndex != 0) { in internalGetParameter()
186 if (formatParams->nPortIndex == kInputPortIndex) { in internalGetParameter()
187 formatParams->eCompressionFormat = OMX_VIDEO_CodingAVC; in internalGetParameter()
188 formatParams->eColorFormat = OMX_COLOR_FormatUnused; in internalGetParameter()
189 formatParams->xFramerate = 0; in internalGetParameter()
191 CHECK(formatParams->nPortIndex == kOutputPortIndex); in internalGetParameter()
193 formatParams->eCompressionFormat = OMX_VIDEO_CodingUnused; in internalGetParameter()
194 formatParams->eColorFormat = OMX_COLOR_FormatYUV420Planar; in internalGetParameter()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h1274 AString formatParams; in setupTrack() local
1275 mSessionDesc->getFormatType(index, &PT, &formatDesc, &formatParams); in setupTrack()