mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
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>
This commit is contained in:
parent
44183ab020
commit
7113b578c6
|
@ -0,0 +1,33 @@
|
||||||
|
From 864bd3a2d9ab106f0317f442b555bde13e28fbc3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lim Siew Hoon <siew.hoon.lim@intel.com>
|
||||||
|
Date: Wed, 14 Apr 2021 13:15:18 +0800
|
||||||
|
Subject: [meta-intel][PATCH] changed VPHAL_MAX_SOURCES set to 65
|
||||||
|
|
||||||
|
Issue report in:
|
||||||
|
https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/303
|
||||||
|
|
||||||
|
Platform: TGL-U
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/intel/media-driver/pull/1180]
|
||||||
|
|
||||||
|
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
|
||||||
|
---
|
||||||
|
media_driver/agnostic/common/vp/hal/vphal_common.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/media_driver/agnostic/common/vp/hal/vphal_common.h b/media_driver/agnostic/common/vp/hal/vphal_common.h
|
||||||
|
index fa92b17b..d3d9e325 100644
|
||||||
|
--- a/media_driver/agnostic/common/vp/hal/vphal_common.h
|
||||||
|
+++ b/media_driver/agnostic/common/vp/hal/vphal_common.h
|
||||||
|
@@ -207,7 +207,7 @@ extern "C" {
|
||||||
|
#define NLAS_NONLINEARCROP_DEFAULT 0.0F
|
||||||
|
#define NLAS_NONLINEARCROP_STEP 0.001F
|
||||||
|
|
||||||
|
-#define VPHAL_MAX_SOURCES 17 //!< worst case: 16 sub-streams + 1 pri video
|
||||||
|
+#define VPHAL_MAX_SOURCES 65 //!< worst case: 64 sub-streams + 1 pri video
|
||||||
|
#define VPHAL_MAX_CHANNELS 2
|
||||||
|
#define VPHAL_MAX_TARGETS 8 //!< multi output support
|
||||||
|
#define VPHAL_MAX_FUTURE_FRAMES 18 //!< maximum future frames supported in VPHAL
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
|
@ -19,6 +19,7 @@ REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
DEPENDS += "libva gmmlib"
|
DEPENDS += "libva gmmlib"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \
|
SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \
|
||||||
|
file://0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRCREV = "bec8e1382637589bc3f302edf6c866bec3d754dd"
|
SRCREV = "bec8e1382637589bc3f302edf6c866bec3d754dd"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user