Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp46 : mColorFormat(OMX_COLOR_FormatUnused), in SoftwareRenderer()
101 if (static_cast<int32_t>(mColorFormat) == colorFormatNew && in resetFormatIfChanged()
113 mColorFormat = static_cast<OMX_COLOR_FORMATTYPE>(colorFormatNew); in resetFormatIfChanged()
132 switch (mColorFormat) { in resetFormatIfChanged()
182 mColorFormat, OMX_COLOR_Format16bitRGB565); in resetFormatIfChanged()
186 mColorFormat, OMX_COLOR_FormatYUV444Y410); in resetFormatIfChanged()
280 (mColorFormat == OMX_COLOR_FormatYUV420Planar || in render()
281 mColorFormat == OMX_COLOR_FormatYUV420SemiPlanar || in render()
282 mColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar || in render()
283 mColorFormat == OMX_COLOR_FormatYUV420Planar16)) { in render()
[all …]
DColorConverter.cpp139 mColorFormat(colorFromat), in BitmapParams()
146 switch(mColorFormat) { in BitmapParams()
170 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/media/codec2/sfplugin/
DCodec2Buffer.cpp213 mColorFormat(colorFormat), in GraphicView2MediaImageConverter()
258 switch (mColorFormat) { in GraphicView2MediaImageConverter()
342 … ALOGD("Converter: incompactible color format (%d) for YUV layout", mColorFormat); in GraphicView2MediaImageConverter()
350 ALOGD("Converter: incompactible color format (%d) for YUVA layout", mColorFormat); in GraphicView2MediaImageConverter()
355 switch (mColorFormat) { in GraphicView2MediaImageConverter()
362 … ALOGD("Converter: incompactible color format (%d) for RGB layout", mColorFormat); in GraphicView2MediaImageConverter()
374 switch (mColorFormat) { in GraphicView2MediaImageConverter()
382 ALOGD("Incompactible color format (%d) for RGBA layout", mColorFormat); in GraphicView2MediaImageConverter()
479 int32_t mColorFormat; ///< SDK color format for MediaImage member in android::__anon9721b0b50111::GraphicView2MediaImageConverter
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp65 mColorFormat(colorFormat), in DummySource()
75 meta->setInt32(kKeyColorFormat, mColorFormat); in getFormat()
131 int mColorFormat; member in DummySource
Drecord.cpp52 mColorFormat(colorFormat),
66 meta->setInt32(kKeyColorFormat, mColorFormat);
113 int mColorFormat;
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DEncoderTest.java74 private static int mColorFormat = COLOR_FormatYUV420Flexible; field in EncoderTest
205 mColorFormat = decoderFormat.getInteger(MediaFormat.KEY_COLOR_FORMAT); in decodeFile()
254 encodeFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, mColorFormat); in testEncoder()
306 mColorFormat, mIFrameInterval, mWidth, mHeight, mProfile, mLevel, in testNativeEncoder()
/frameworks/av/media/libstagefright/include/
DSoftwareRenderer.h50 OMX_COLOR_FORMATTYPE mColorFormat; variable
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftVideoEncoderOMXComponent.h84 OMX_COLOR_FORMATTYPE mColorFormat; // Color format for the input port member
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h72 OMX_COLOR_FORMATTYPE mColorFormat; member
DCameraSource.h192 int32_t mColorFormat; variable
/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.cpp296 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncoder()
679 if (mColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) { in onQueueFilled()
/frameworks/av/media/libstagefright/
DCameraSource.cpp333 mColorFormat = getColorFormat(params.get( in isCameraColorFormatSupported()
335 if (mColorFormat == -1) { in isCameraColorFormatSupported()
699 mMeta->setInt32(kKeyColorFormat, mColorFormat); in initWithCameraAccess()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h164 vpx_img_fmt_t mColorFormat; member
DC2SoftVpxEnc.cpp58 mColorFormat(VPX_IMG_FMT_I420), in C2SoftVpxEnc()
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp639 switch (mColorFormat) { in initEncoder()