diff options
| author | Yew, Chang Ching <chang.ching.yew@intel.com> | 2022-03-10 13:50:39 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-03-10 17:48:49 +0800 |
| commit | 4969c99246cfc0276febfd5d424a3194e5339123 (patch) | |
| tree | 0ff8916bded7872b2a47648da78f1e048930a5a1 /recipes-multimedia | |
| parent | cd94a7af544c21679f67d4e4b7ba6167043599f0 (diff) | |
| download | meta-intel-4969c99246cfc0276febfd5d424a3194e5339123.tar.gz | |
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>
Diffstat (limited to 'recipes-multimedia')
| -rw-r--r-- | recipes-multimedia/onevpl/onevpl/0001-sample_common-Fix-missing-UYUV-fourcc-enc-input.patch | 41 | ||||
| -rw-r--r-- | recipes-multimedia/onevpl/onevpl_2022.0.3.bb | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/recipes-multimedia/onevpl/onevpl/0001-sample_common-Fix-missing-UYUV-fourcc-enc-input.patch b/recipes-multimedia/onevpl/onevpl/0001-sample_common-Fix-missing-UYUV-fourcc-enc-input.patch new file mode 100644 index 00000000..70e15a30 --- /dev/null +++ b/recipes-multimedia/onevpl/onevpl/0001-sample_common-Fix-missing-UYUV-fourcc-enc-input.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | From ff5325a437e625d2007568a71d7f403f16d4c367 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "Yew, Chang Ching" <chang.ching.yew@intel.com> | ||
| 3 | Date: Thu, 10 Mar 2022 13:06:28 +0800 | ||
| 4 | Subject: [PATCH] sample_common: Fix missing UYUV fourcc enc input | ||
| 5 | |||
| 6 | Fix regression with commit ae3e355 | ||
| 7 | |||
| 8 | Upstream-Status: Submitted | ||
| 9 | innersource PR #383 | ||
| 10 | |||
| 11 | Signed-off-by: Yew, Chang Ching <chang.ching.yew@intel.com> | ||
| 12 | --- | ||
| 13 | tools/legacy/sample_common/src/sample_utils.cpp | 12 ++++++------ | ||
| 14 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/tools/legacy/sample_common/src/sample_utils.cpp b/tools/legacy/sample_common/src/sample_utils.cpp | ||
| 17 | index 0437dbdb..a8e25631 100644 | ||
| 18 | --- a/tools/legacy/sample_common/src/sample_utils.cpp | ||
| 19 | +++ b/tools/legacy/sample_common/src/sample_utils.cpp | ||
| 20 | @@ -114,12 +114,12 @@ mfxStatus CSmplYUVReader::Init(std::list<msdk_string> inputs, | ||
| 21 | |||
| 22 | if (MFX_FOURCC_NV12 != ColorFormat && MFX_FOURCC_YV12 != ColorFormat && | ||
| 23 | MFX_FOURCC_I420 != ColorFormat && MFX_FOURCC_YUY2 != ColorFormat && | ||
| 24 | - MFX_FOURCC_RGB4 != ColorFormat && MFX_FOURCC_BGR4 != ColorFormat && | ||
| 25 | - MFX_FOURCC_P010 != ColorFormat && MFX_FOURCC_P210 != ColorFormat && | ||
| 26 | - MFX_FOURCC_AYUV != ColorFormat && MFX_FOURCC_A2RGB10 != ColorFormat && | ||
| 27 | - MFX_FOURCC_Y210 != ColorFormat && MFX_FOURCC_Y410 != ColorFormat && | ||
| 28 | - MFX_FOURCC_P016 != ColorFormat && MFX_FOURCC_Y216 != ColorFormat && | ||
| 29 | - MFX_FOURCC_I010 != ColorFormat) { | ||
| 30 | + MFX_FOURCC_UYVY != ColorFormat && MFX_FOURCC_RGB4 != ColorFormat && | ||
| 31 | + MFX_FOURCC_BGR4 != ColorFormat && MFX_FOURCC_P010 != ColorFormat && | ||
| 32 | + MFX_FOURCC_P210 != ColorFormat && MFX_FOURCC_AYUV != ColorFormat && | ||
| 33 | + MFX_FOURCC_A2RGB10 != ColorFormat && MFX_FOURCC_Y210 != ColorFormat && | ||
| 34 | + MFX_FOURCC_Y410 != ColorFormat && MFX_FOURCC_P016 != ColorFormat && | ||
| 35 | + MFX_FOURCC_Y216 != ColorFormat && MFX_FOURCC_I010 != ColorFormat) { | ||
| 36 | return MFX_ERR_UNSUPPORTED; | ||
| 37 | } | ||
| 38 | |||
| 39 | -- | ||
| 40 | 2.17.1 | ||
| 41 | |||
diff --git a/recipes-multimedia/onevpl/onevpl_2022.0.3.bb b/recipes-multimedia/onevpl/onevpl_2022.0.3.bb index acec493d..66be720f 100644 --- a/recipes-multimedia/onevpl/onevpl_2022.0.3.bb +++ b/recipes-multimedia/onevpl/onevpl_2022.0.3.bb | |||
| @@ -14,6 +14,7 @@ SRC_URI = "git://github.com/oneapi-src/oneVPL.git;protocol=https;branch=master \ | |||
| 14 | file://0002-sample_misc-Addin-basic-wayland-dmabuf-support.patch \ | 14 | file://0002-sample_misc-Addin-basic-wayland-dmabuf-support.patch \ |
| 15 | file://0003-sample_misc-use-wayland-dmabuf-to-render-nv12.patch \ | 15 | file://0003-sample_misc-use-wayland-dmabuf-to-render-nv12.patch \ |
| 16 | file://0001-sample_common-Fix-regression-of-missing-mutex-init.patch \ | 16 | file://0001-sample_common-Fix-regression-of-missing-mutex-init.patch \ |
| 17 | file://0001-sample_common-Fix-missing-UYUV-fourcc-enc-input.patch \ | ||
| 17 | " | 18 | " |
| 18 | SRCREV = "efc259f8b7ee5c334bca1a904a503186038bbbdd" | 19 | SRCREV = "efc259f8b7ee5c334bca1a904a503186038bbbdd" |
| 19 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
