/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 46 : 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 …]
|
D | ColorConverter.cpp | 139 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/ |
D | CpuVideoTrackDecoder.java | 53 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/ |
D | SoftVideoEncoderOMXComponent.cpp | 74 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/ |
D | Codec2Buffer.cpp | 213 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/ |
D | recordvideo.cpp | 65 mColorFormat(colorFormat), in DummySource() 75 meta->setInt32(kKeyColorFormat, mColorFormat); in getFormat() 131 int mColorFormat; member in DummySource
|
D | record.cpp | 52 mColorFormat(colorFormat), 66 meta->setInt32(kKeyColorFormat, mColorFormat); 113 int mColorFormat;
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | EncoderTest.java | 74 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/ |
D | SoftwareRenderer.h | 50 OMX_COLOR_FORMATTYPE mColorFormat; variable
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | SoftVideoEncoderOMXComponent.h | 84 OMX_COLOR_FORMATTYPE mColorFormat; // Color format for the input port member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ColorConverter.h | 72 OMX_COLOR_FORMATTYPE mColorFormat; member
|
D | CameraSource.h | 192 int32_t mColorFormat; variable
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 143 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncParams() 460 if (mColorFormat != OMX_COLOR_FormatYUV420Planar) { in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 296 if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { in initEncoder() 679 if (mColorFormat == OMX_COLOR_FormatYUV420SemiPlanar) { in onQueueFilled()
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 333 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/ |
D | C2SoftVpxEnc.h | 164 vpx_img_fmt_t mColorFormat; member
|
D | C2SoftVpxEnc.cpp | 58 mColorFormat(VPX_IMG_FMT_I420), in C2SoftVpxEnc()
|
/frameworks/av/media/libstagefright/codecs/avcenc/ |
D | SoftAVCEnc.cpp | 639 switch (mColorFormat) { in initEncoder()
|