Home
last modified time | relevance | path

Searched refs:mColorFormat (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp45 : mColorFormat(OMX_COLOR_FormatUnused), in SoftwareRenderer()
83 if (static_cast<int32_t>(mColorFormat) == colorFormatNew && in resetFormatIfChanged()
94 mColorFormat = static_cast<OMX_COLOR_FORMATTYPE>(colorFormatNew); in resetFormatIfChanged()
112 switch (mColorFormat) { in resetFormatIfChanged()
146 mColorFormat, OMX_COLOR_Format16bitRGB565); in resetFormatIfChanged()
246 } else if (mColorFormat == OMX_COLOR_FormatYUV420Planar) { in render()
278 } else if (mColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar in render()
279 || mColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) { in render()
313 } else if (mColorFormat == OMX_COLOR_Format24bitRGB888) { in render()
325 } else if (mColorFormat == OMX_COLOR_Format32bitARGB8888) { in render()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DCpuVideoTrackDecoder.java53 private int mColorFormat = COLOR_FORMAT_UNSET; field in CpuVideoTrackDecoder
86 if (mColorFormat == -1) { in onDataAvailable()
87 mColorFormat = codec.getOutputFormat().getInteger(MediaFormat.KEY_COLOR_FORMAT); in onDataAvailable()
118 convertImage(mDecodedBuffer, outBytes, mColorFormat, mWidth, mHeight); in copyFrameDataTo()
124 convertImage(mDecodedBuffer, mUnrotatedBytes, mColorFormat, mWidth, mHeight); in copyFrameDataTo()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp75 mColorFormat(OMX_COLOR_FormatYUV420Planar), in SoftVideoEncoderOMXComponent()
114 def.format.video.eColorFormat = mColorFormat; in initPorts()
157 inDef->format.video.eColorFormat = mColorFormat; in updatePortParams()
195 mColorFormat = port->format.video.eColorFormat; in internalSetPortParams()
264 mColorFormat = format->eColorFormat; in internalSetParameter()
301 mColorFormat = OMX_COLOR_FormatAndroidOpaque; in internalSetParameter()
302 } else if (mColorFormat == OMX_COLOR_FormatAndroidOpaque) { in internalSetParameter()
303 mColorFormat = OMX_COLOR_FormatYUV420Planar; in internalSetParameter()
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp67 mColorFormat(colorFormat), in DummySource()
77 meta->setInt32(kKeyColorFormat, mColorFormat); in getFormat()
133 int mColorFormat; member in DummySource
Drecord.cpp50 mColorFormat(colorFormat),
64 meta->setInt32(kKeyColorFormat, mColorFormat);
111 int mColorFormat;
/frameworks/av/media/libstagefright/include/
DSoftwareRenderer.h49 OMX_COLOR_FORMATTYPE mColorFormat; variable
DSoftVideoEncoderOMXComponent.h81 OMX_COLOR_FORMATTYPE mColorFormat; // Color format for the input port member
DCameraSource.h191 int32_t mColorFormat; variable
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp144 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncParams()
453 if (mColorFormat != OMX_COLOR_FormatYUV420Planar) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp295 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncoder()
679 if (mColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) { in onQueueFilled()
/frameworks/av/media/libstagefright/
DCameraSource.cpp331 mColorFormat = getColorFormat(params.get( in isCameraColorFormatSupported()
333 if (mColorFormat == -1) { in isCameraColorFormatSupported()
697 mMeta->setInt32(kKeyColorFormat, mColorFormat); in initWithCameraAccess()
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp661 switch (mColorFormat) { in initEncoder()