From f937848a04d199f960fd8cef009ba5ed2da51331 Mon Sep 17 00:00:00 2001 From: Lim Siew Hoon Date: Mon, 26 Feb 2024 10:27:33 +0800 Subject: onevpl-intel-gpu: upgrade 23.3.4 -> 23.4.3 Drops patches already merged: * 0001-Encode-Bugfix-for-HEVC-VDENC-422-RPL-caps-issue.-588.patch * 0001-RT-Common-Fix-MediaAdapterType-issue-5898.patch Added new patches: * 0001-ARLH-DID-open-source-6286.patch Release notes: https://github.com/oneapi-src/oneVPL-intel-gpu/releases/tag/intel-onevpl-23.4.3 Signed-off-by: Lim Siew Hoon Signed-off-by: Anuj Mittal --- ...ix-for-HEVC-VDENC-422-RPL-caps-issue.-588.patch | 70 ---------------------- 1 file changed, 70 deletions(-) delete mode 100644 recipes-multimedia/onevpl/files/0001-Encode-Bugfix-for-HEVC-VDENC-422-RPL-caps-issue.-588.patch (limited to 'recipes-multimedia/onevpl/files/0001-Encode-Bugfix-for-HEVC-VDENC-422-RPL-caps-issue.-588.patch') diff --git a/recipes-multimedia/onevpl/files/0001-Encode-Bugfix-for-HEVC-VDENC-422-RPL-caps-issue.-588.patch b/recipes-multimedia/onevpl/files/0001-Encode-Bugfix-for-HEVC-VDENC-422-RPL-caps-issue.-588.patch deleted file mode 100644 index 6209f960..00000000 --- a/recipes-multimedia/onevpl/files/0001-Encode-Bugfix-for-HEVC-VDENC-422-RPL-caps-issue.-588.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 3830e393b6e2807f842d3cacda575fa715827e62 Mon Sep 17 00:00:00 2001 -From: gfxVPLsdm -Date: Thu, 19 Oct 2023 13:03:53 +0800 -Subject: [PATCH] [Encode] Bugfix for HEVC VDENC 422 RPL caps issue. (#5886) - -Fixed HEVC VDENC 422 RPL caps issue. - -Co-authored-by: Wenjuan Zhang - -Upstream-Status: Backport [https://github.com/oneapi-src/oneVPL-intel-gpu/commit/3830e393b6e2807f842d3cacda575fa715827e62] -Signed-off-by: Lim Siew Hoon ---- - .../hevc/agnostic/base/hevcehw_base_recon422.h | 4 +++- - .../hevc/agnostic/base/hevcehw_base_recon422_ext.h | 11 +++++++++++ - .../hevc/linux/base/hevcehw_base_va_packer_lin.cpp | 2 +- - 3 files changed, 15 insertions(+), 2 deletions(-) - -diff --git a/_studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_recon422.h b/_studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_recon422.h -index 24bf5cf2..d150ca1c 100644 ---- a/_studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_recon422.h -+++ b/_studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_recon422.h -@@ -36,7 +36,9 @@ class Recon422 - public: - #define DECL_BLOCK_LIST\ - DECL_BLOCK(SetCallChain)\ -- DECL_BLOCK(SetRecon422Caps) -+ DECL_BLOCK(SetRecon422Caps)\ -+ DECL_BLOCK(HardcodeCaps)\ -+ DECL_BLOCK(HardcodeCapsExt) - #define DECL_FEATURE_NAME "Base_RECON422" - #include "hevcehw_decl_blocks.h" - -diff --git a/_studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_recon422_ext.h b/_studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_recon422_ext.h -index 165c96b1..63b3c301 100644 ---- a/_studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_recon422_ext.h -+++ b/_studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_recon422_ext.h -@@ -40,6 +40,17 @@ public: - {} - - protected: -+ virtual void Query1WithCaps(const FeatureBlocks& /*blocks*/, TPushQ1 Push) override -+ { -+ Push(BLK_HardcodeCaps -+ , [this](const mfxVideoParam&, mfxVideoParam&, StorageRW& strg) -> mfxStatus -+ { -+ auto& caps = HEVCEHW::Base::Glob::EncodeCaps::Get(strg); -+ caps.YUV422ReconSupport = !caps.Color420Only; -+ return MFX_ERR_NONE; -+ }); -+ } -+ - virtual void Query1NoCaps(const FeatureBlocks& blocks, TPushQ1 Push) override - { - using Base::Glob; -diff --git a/_studio/mfx_lib/encode_hw/hevc/linux/base/hevcehw_base_va_packer_lin.cpp b/_studio/mfx_lib/encode_hw/hevc/linux/base/hevcehw_base_va_packer_lin.cpp -index 1ffc9388..46a1f69c 100644 ---- a/_studio/mfx_lib/encode_hw/hevc/linux/base/hevcehw_base_va_packer_lin.cpp -+++ b/_studio/mfx_lib/encode_hw/hevc/linux/base/hevcehw_base_va_packer_lin.cpp -@@ -60,7 +60,7 @@ void VAPacker::Query1WithCaps(const FeatureBlocks& /*blocks*/, TPushQ1 Push) - - caps.MaxEncodedBitDepth |= (!caps.BitDepth8Only); - caps.YUV444ReconSupport |= (!caps.Color420Only && IsOn(par.mfx.LowPower)); -- caps.YUV422ReconSupport &= (!caps.Color420Only); -+ caps.YUV422ReconSupport &= (!caps.Color420Only && !IsOn(par.mfx.LowPower)); - - return MFX_ERR_NONE; - }); --- -2.40.1 - -- cgit v1.2.3-54-g00ecf