mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
onevpl: Fix missing uyvy input in sample_encode
Fix issue 15010851781 Signed-off-by: Yew, Chang Ching <chang.ching.yew@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
cd94a7af54
commit
4969c99246
|
@ -0,0 +1,41 @@
|
|||
From ff5325a437e625d2007568a71d7f403f16d4c367 Mon Sep 17 00:00:00 2001
|
||||
From: "Yew, Chang Ching" <chang.ching.yew@intel.com>
|
||||
Date: Thu, 10 Mar 2022 13:06:28 +0800
|
||||
Subject: [PATCH] sample_common: Fix missing UYUV fourcc enc input
|
||||
|
||||
Fix regression with commit ae3e355
|
||||
|
||||
Upstream-Status: Submitted
|
||||
innersource PR #383
|
||||
|
||||
Signed-off-by: Yew, Chang Ching <chang.ching.yew@intel.com>
|
||||
---
|
||||
tools/legacy/sample_common/src/sample_utils.cpp | 12 ++++++------
|
||||
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/tools/legacy/sample_common/src/sample_utils.cpp b/tools/legacy/sample_common/src/sample_utils.cpp
|
||||
index 0437dbdb..a8e25631 100644
|
||||
--- a/tools/legacy/sample_common/src/sample_utils.cpp
|
||||
+++ b/tools/legacy/sample_common/src/sample_utils.cpp
|
||||
@@ -114,12 +114,12 @@ mfxStatus CSmplYUVReader::Init(std::list<msdk_string> inputs,
|
||||
|
||||
if (MFX_FOURCC_NV12 != ColorFormat && MFX_FOURCC_YV12 != ColorFormat &&
|
||||
MFX_FOURCC_I420 != ColorFormat && MFX_FOURCC_YUY2 != ColorFormat &&
|
||||
- MFX_FOURCC_RGB4 != ColorFormat && MFX_FOURCC_BGR4 != ColorFormat &&
|
||||
- MFX_FOURCC_P010 != ColorFormat && MFX_FOURCC_P210 != ColorFormat &&
|
||||
- MFX_FOURCC_AYUV != ColorFormat && MFX_FOURCC_A2RGB10 != ColorFormat &&
|
||||
- MFX_FOURCC_Y210 != ColorFormat && MFX_FOURCC_Y410 != ColorFormat &&
|
||||
- MFX_FOURCC_P016 != ColorFormat && MFX_FOURCC_Y216 != ColorFormat &&
|
||||
- MFX_FOURCC_I010 != ColorFormat) {
|
||||
+ MFX_FOURCC_UYVY != ColorFormat && MFX_FOURCC_RGB4 != ColorFormat &&
|
||||
+ MFX_FOURCC_BGR4 != ColorFormat && MFX_FOURCC_P010 != ColorFormat &&
|
||||
+ MFX_FOURCC_P210 != ColorFormat && MFX_FOURCC_AYUV != ColorFormat &&
|
||||
+ MFX_FOURCC_A2RGB10 != ColorFormat && MFX_FOURCC_Y210 != ColorFormat &&
|
||||
+ MFX_FOURCC_Y410 != ColorFormat && MFX_FOURCC_P016 != ColorFormat &&
|
||||
+ MFX_FOURCC_Y216 != ColorFormat && MFX_FOURCC_I010 != ColorFormat) {
|
||||
return MFX_ERR_UNSUPPORTED;
|
||||
}
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
|
@ -14,6 +14,7 @@ SRC_URI = "git://github.com/oneapi-src/oneVPL.git;protocol=https;branch=master \
|
|||
file://0002-sample_misc-Addin-basic-wayland-dmabuf-support.patch \
|
||||
file://0003-sample_misc-use-wayland-dmabuf-to-render-nv12.patch \
|
||||
file://0001-sample_common-Fix-regression-of-missing-mutex-init.patch \
|
||||
file://0001-sample_common-Fix-missing-UYUV-fourcc-enc-input.patch \
|
||||
"
|
||||
SRCREV = "efc259f8b7ee5c334bca1a904a503186038bbbdd"
|
||||
S = "${WORKDIR}/git"
|
||||
|
|
Loading…
Reference in New Issue
Block a user