Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp46 : mColorFormat(OMX_COLOR_FormatUnused), in SoftwareRenderer()
101 if (static_cast<int32_t>(mColorFormat) == 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()
283 mColorFormat == OMX_COLOR_FormatYUV420Planar16)) { in render()
303 } else if (mColorFormat == OMX_COLOR_FormatYUV420Planar) { in render()
385 } else if (mColorFormat == OMX_COLOR_Format24bitRGB888) { in render()
[all …]
H A DColorConverter.cpp139 mColorFormat(colorFromat), in BitmapParams()
146 switch(mColorFormat) { in BitmapParams()
170 ALOGE("Unsupported color format %d", mColorFormat); in BitmapParams()
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A 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()
/aosp12/frameworks/av/media/libstagefright/omx/
H A 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()
/aosp12/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp65 mColorFormat(colorFormat), in DummySource()
75 meta->setInt32(kKeyColorFormat, mColorFormat); in getFormat()
131 int mColorFormat; member in DummySource
H A Drecord.cpp52 mColorFormat(colorFormat),
66 meta->setInt32(kKeyColorFormat, mColorFormat);
113 int mColorFormat;
/aosp12/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
H A 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()
/aosp12/frameworks/av/media/libstagefright/include/
H A DSoftwareRenderer.h50 OMX_COLOR_FORMATTYPE mColorFormat; variable
/aosp12/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
H A DSoftVideoEncoderOMXComponent.h84 OMX_COLOR_FORMATTYPE mColorFormat; // Color format for the input port member
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/
H A DColorConverter.h72 OMX_COLOR_FORMATTYPE mColorFormat; member
H A DCameraSource.h159 int32_t mColorFormat; variable
/aosp12/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp143 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncParams()
460 if (mColorFormat != OMX_COLOR_FormatYUV420Planar) { in onQueueFilled()
/aosp12/frameworks/av/media/libstagefright/
H A DCameraSource.cpp238 mColorFormat = getColorFormat(params.get( in isCameraColorFormatSupported()
240 if (mColorFormat == -1) { in isCameraColorFormatSupported()
589 mMeta->setInt32(kKeyColorFormat, mColorFormat); in initWithCameraAccess()
/aosp12/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVPXEncoder.cpp296 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncoder()
679 if (mColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) { in onQueueFilled()
/aosp12/frameworks/av/media/codec2/components/vpx/
H A DC2SoftVpxEnc.h164 vpx_img_fmt_t mColorFormat; member
H A DC2SoftVpxEnc.cpp58 mColorFormat(VPX_IMG_FMT_I420), in C2SoftVpxEnc()
/aosp12/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.cpp639 switch (mColorFormat) { in initEncoder()