summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libva/files/0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch
blob: 292e1a55dd7b93bb1959d5aac004cbef57a67342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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