Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp41 : mColorFormat(OMX_COLOR_FormatUnused), in SoftwareRenderer()
94 if (static_cast<int32_t>(mColorFormat) == colorFormatNew && in resetFormatIfChanged()
106 mColorFormat = static_cast<OMX_COLOR_FORMATTYPE>(colorFormatNew); in resetFormatIfChanged()
124 switch (mColorFormat) { in resetFormatIfChanged()
174 mColorFormat, OMX_COLOR_Format16bitRGB565); in resetFormatIfChanged()
178 mColorFormat, OMX_COLOR_FormatYUV444Y410); in resetFormatIfChanged()
284 } else if (mColorFormat == OMX_COLOR_FormatYUV420Planar) { in render()
321 } else if (mColorFormat == OMX_COLOR_FormatYUV420Planar16) { in render()
361 } else if (mColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar in render()
362 || mColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) { in render()
[all …]
DColorConverter.cpp95 mColorFormat(colorFromat), in BitmapParams()
102 switch(mColorFormat) { in BitmapParams()
130 ALOGE("Unsupported color format %d", mColorFormat); in BitmapParams()
/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.cpp74 mColorFormat(OMX_COLOR_FormatYUV420Planar), in SoftVideoEncoderOMXComponent()
113 def.format.video.eColorFormat = mColorFormat; in initPorts()
156 inDef->format.video.eColorFormat = mColorFormat; in updatePortParams()
194 mColorFormat = port->format.video.eColorFormat; in internalSetPortParams()
263 mColorFormat = format->eColorFormat; in internalSetParameter()
300 mColorFormat = OMX_COLOR_FormatAndroidOpaque; in internalSetParameter()
301 } else if (mColorFormat == OMX_COLOR_FormatAndroidOpaque) { in internalSetParameter()
302 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.cpp51 mColorFormat(colorFormat),
65 meta->setInt32(kKeyColorFormat, mColorFormat);
112 int mColorFormat;
/frameworks/av/media/libstagefright/include/
DSoftwareRenderer.h50 OMX_COLOR_FORMATTYPE mColorFormat; variable
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h61 OMX_COLOR_FORMATTYPE mColorFormat; member
DCameraSource.h192 int32_t mColorFormat; variable
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoEncoderOMXComponent.h82 OMX_COLOR_FORMATTYPE mColorFormat; // Color format for the input port member
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp143 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncParams()
460 if (mColorFormat != OMX_COLOR_FormatYUV420Planar) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp295 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncoder()
678 if (mColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) { in onQueueFilled()
/frameworks/av/media/libstagefright/
DCameraSource.cpp332 mColorFormat = getColorFormat(params.get( in isCameraColorFormatSupported()
334 if (mColorFormat == -1) { in isCameraColorFormatSupported()
698 mMeta->setInt32(kKeyColorFormat, mColorFormat); in initWithCameraAccess()
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp639 switch (mColorFormat) { in initEncoder()