summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0101-V4L2VDA-Switch-to-use-VDA-instead-of-direct-VideoDec.patch
diff options
context:
space:
mode:
authorChris Dimich <chris.dimich@boundarydevices.com>2023-01-09 10:52:50 -0800
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-01-10 11:48:52 +0000
commit481b7f0468b3f5928f8f0fc6aa21e4836fb3f3c5 (patch)
tree110b6e167690d55ae88cad23a9e6c418d982edb6 /dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0101-V4L2VDA-Switch-to-use-VDA-instead-of-direct-VideoDec.patch
parent1cfd9c034ea323f198f1bfadd74f589ffa3cc061 (diff)
downloadmeta-freescale-481b7f0468b3f5928f8f0fc6aa21e4836fb3f3c5.tar.gz
chromium-ozone-wayland: add bbappend and patches as per NXP 5.15.71_2.2.0 relbackport-1375-to-kirkstone
Changes include: - support on i.MX 8 series platform. - 8MM/8MP/8MQ support h264/hevc/vp8/vp9 hardware decoding. - 8QM/8QXP support h264/hevc/vp8 hardware decoding. - support seek, playrate change and resolution change. - support video acceleration for online media platform such as Youtube, bilibili. Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com> (cherry picked from commit 23bdb51b7858db363e56f7748f5523d44f78ac98)
Diffstat (limited to 'dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0101-V4L2VDA-Switch-to-use-VDA-instead-of-direct-VideoDec.patch')
-rw-r--r--dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0101-V4L2VDA-Switch-to-use-VDA-instead-of-direct-VideoDec.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0101-V4L2VDA-Switch-to-use-VDA-instead-of-direct-VideoDec.patch b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0101-V4L2VDA-Switch-to-use-VDA-instead-of-direct-VideoDec.patch
new file mode 100644
index 00000000..24ae4dd3
--- /dev/null
+++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0101-V4L2VDA-Switch-to-use-VDA-instead-of-direct-VideoDec.patch
@@ -0,0 +1,44 @@
1From a86b5ee086e281f34ab90498aedde523c47f9df0 Mon Sep 17 00:00:00 2001
2From: Hou Qi <qi.hou@nxp.com>
3Date: Wed, 17 Aug 2022 16:57:11 +0800
4Subject: [PATCH 01/17] V4L2VDA: Switch to use VDA instead of direct
5 VideoDecoder
6
7commit b7f3a9e8058f593d7d88b6b6cafa71957aa3f1a1 aims to default
8enable "direct VideoDecoder" support on Linux. So need to switch
9to use VDA path iff:
10
111. kVaapiVideoDecodeLinux is enabled (disabled by default);
122. kUseChromeOSDirectVideoDecoder is disabled (enabled by default);
133. GL is used;
14
15Upstream-Status: Inappropriate [NXP specific]
16---
17 media/base/media_switches.cc | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
21index 36d638adb816e..938bcede9c878 100644
22--- a/media/base/media_switches.cc
23+++ b/media/base/media_switches.cc
24@@ -487,7 +487,7 @@ const base::Feature kUnifiedAutoplay{"UnifiedAutoplay",
25 // Enable vaapi video decoding on linux. This is already enabled by default on
26 // chromeos, but needs an experiment on linux.
27 const base::Feature kVaapiVideoDecodeLinux{"VaapiVideoDecoder",
28- base::FEATURE_DISABLED_BY_DEFAULT};
29+ base::FEATURE_ENABLED_BY_DEFAULT};
30
31 const base::Feature kVaapiVideoEncodeLinux{"VaapiVideoEncoder",
32 base::FEATURE_DISABLED_BY_DEFAULT};
33@@ -735,7 +735,7 @@ const base::Feature kUseRealColorSpaceForAndroidVideo{
34 // experiment with direct VideoDecoder path on Linux Desktop.
35 // TODO(b/159825227): remove when the direct video decoder is fully launched.
36 const base::Feature kUseChromeOSDirectVideoDecoder{
37- "UseChromeOSDirectVideoDecoder", base::FEATURE_ENABLED_BY_DEFAULT};
38+ "UseChromeOSDirectVideoDecoder", base::FEATURE_DISABLED_BY_DEFAULT};
39
40 #if BUILDFLAG(IS_CHROMEOS)
41 // ChromeOS has one of two VideoDecoder implementations active based on
42--
432.17.1
44