diff options
Diffstat (limited to 'recipes-multimedia/libva/files')
-rw-r--r-- | recipes-multimedia/libva/files/0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch | 33 |
1 files changed, 33 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 00000000..292e1a55 --- /dev/null +++ b/recipes-multimedia/libva/files/0001-changed-VPHAL_MAX_SOURCES-set-to-65.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 864bd3a2d9ab106f0317f442b555bde13e28fbc3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lim Siew Hoon <siew.hoon.lim@intel.com> | ||
3 | Date: Wed, 14 Apr 2021 13:15:18 +0800 | ||
4 | Subject: [meta-intel][PATCH] changed VPHAL_MAX_SOURCES set to 65 | ||
5 | |||
6 | Issue report in: | ||
7 | https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/303 | ||
8 | |||
9 | Platform: TGL-U | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/intel/media-driver/pull/1180] | ||
12 | |||
13 | Signed-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 | |||
18 | diff --git a/media_driver/agnostic/common/vp/hal/vphal_common.h b/media_driver/agnostic/common/vp/hal/vphal_common.h | ||
19 | index 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 | -- | ||
32 | 2.31.1 | ||
33 | |||