summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorLim Siew Hoon <siew.hoon.lim@intel.com>2021-04-21 04:37:35 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2021-04-21 08:05:32 (GMT)
commit7113b578c6a9074627faad5198bcfc79e76cb303 (patch)
treeec3e77526228e22486004538c3d8d339f7c00962 /recipes-multimedia
parent44183ab020a4faca1c9b982875ec3d101030239f (diff)
downloadmeta-intel-7113b578c6a9074627faad5198bcfc79e76cb303.tar.gz
intel-media-driver: Increase limit of VPHAL_MAX_SOURCES
This patches is submitting into upstream. Pending to be merge. It using to fix vaapioverlay plugin to support 64CH channel rendering. Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/libva/files/0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch33
-rw-r--r--recipes-multimedia/libva/intel-media-driver_21.1.3.bb1
2 files changed, 34 insertions, 0 deletions
diff --git a/recipes-multimedia/libva/files/0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch b/recipes-multimedia/libva/files/0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch
new file mode 100644
index 0000000..292e1a5
--- /dev/null
+++ b/recipes-multimedia/libva/files/0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch
@@ -0,0 +1,33 @@
1From 864bd3a2d9ab106f0317f442b555bde13e28fbc3 Mon Sep 17 00:00:00 2001
2From: Lim Siew Hoon <siew.hoon.lim@intel.com>
3Date: Wed, 14 Apr 2021 13:15:18 +0800
4Subject: [meta-intel][PATCH] changed VPHAL_MAX_SOURCES set to 65
5
6Issue report in:
7https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/303
8
9Platform: TGL-U
10
11Upstream-Status: Submitted [https://github.com/intel/media-driver/pull/1180]
12
13Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
14---
15 media_driver/agnostic/common/vp/hal/vphal_common.h | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/media_driver/agnostic/common/vp/hal/vphal_common.h b/media_driver/agnostic/common/vp/hal/vphal_common.h
19index fa92b17b..d3d9e325 100644
20--- a/media_driver/agnostic/common/vp/hal/vphal_common.h
21+++ b/media_driver/agnostic/common/vp/hal/vphal_common.h
22@@ -207,7 +207,7 @@ extern "C" {
23 #define NLAS_NONLINEARCROP_DEFAULT 0.0F
24 #define NLAS_NONLINEARCROP_STEP 0.001F
25
26-#define VPHAL_MAX_SOURCES 17 //!< worst case: 16 sub-streams + 1 pri video
27+#define VPHAL_MAX_SOURCES 65 //!< worst case: 64 sub-streams + 1 pri video
28 #define VPHAL_MAX_CHANNELS 2
29 #define VPHAL_MAX_TARGETS 8 //!< multi output support
30 #define VPHAL_MAX_FUTURE_FRAMES 18 //!< maximum future frames supported in VPHAL
31--
322.31.1
33
diff --git a/recipes-multimedia/libva/intel-media-driver_21.1.3.bb b/recipes-multimedia/libva/intel-media-driver_21.1.3.bb
index 637d8f0..8b7ff5e 100644
--- a/recipes-multimedia/libva/intel-media-driver_21.1.3.bb
+++ b/recipes-multimedia/libva/intel-media-driver_21.1.3.bb
@@ -19,6 +19,7 @@ REQUIRED_DISTRO_FEATURES = "opengl"
19DEPENDS += "libva gmmlib" 19DEPENDS += "libva gmmlib"
20 20
21SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \ 21SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \
22 file://0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch \
22 " 23 "
23 24
24SRCREV = "bec8e1382637589bc3f302edf6c866bec3d754dd" 25SRCREV = "bec8e1382637589bc3f302edf6c866bec3d754dd"