I have merged this.

Thanks,

Anuj

> -----Original Message-----
> From: [email protected] <[email protected]> 
> On Behalf
> Of Yew, Chang Ching
> Sent: Thursday, March 10, 2022 01:51 PM
> To: [email protected]
> Cc: Yew, Chang Ching <[email protected]>
> Subject: [meta-intel] [PATCH] onevpl: Fix missing uyvy input in sample_encode
> 
> Fix issue 15010851781
> 
> Signed-off-by: Yew, Chang Ching <[email protected]>
> ---
>  ...on-Fix-missing-UYUV-fourcc-enc-input.patch | 41 +++++++++++++++++++
> recipes-multimedia/onevpl/onevpl_2022.0.3.bb  |  1 +
>  2 files changed, 42 insertions(+)
>  create mode 100644 recipes-multimedia/onevpl/onevpl/0001-sample_common-Fix-
> missing-UYUV-fourcc-enc-input.patch
> 
> 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-UY
> +++ UV-fourcc-enc-input.patch
> @@ -0,0 +1,41 @@
> +From ff5325a437e625d2007568a71d7f403f16d4c367 Mon Sep 17 00:00:00 2001
> +From: "Yew, Chang Ching" <[email protected]>
> +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 <[email protected]>
> +---
> + 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
> +
> 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 \
>              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"
> --
> 2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7466): 
https://lists.yoctoproject.org/g/meta-intel/message/7466
Mute This Topic: https://lists.yoctoproject.org/mt/89681365/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to