diff options
author | Chris Dimich <chris.dimich@boundarydevices.com> | 2023-01-09 10:52:50 -0800 |
---|---|---|
committer | Chris Dimich <chris.dimich@boundarydevices.com> | 2023-01-09 10:52:50 -0800 |
commit | 23bdb51b7858db363e56f7748f5523d44f78ac98 (patch) | |
tree | 1b45857028a39ebbaf3c4fe3875441a5257af772 /dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0101-V4L2VDA-Switch-to-use-VDA-instead-of-direct-VideoDec.patch | |
parent | 10c960f0eaa5fb774a676707c5148e29a6ae09b3 (diff) | |
download | meta-freescale-23bdb51b7858db363e56f7748f5523d44f78ac98.tar.gz |
chromium-ozone-wayland: add bbappend and patches as per NXP 5.15.71_2.2.0 rel
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>
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.patch | 44 |
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 @@ | |||
1 | From a86b5ee086e281f34ab90498aedde523c47f9df0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hou Qi <qi.hou@nxp.com> | ||
3 | Date: Wed, 17 Aug 2022 16:57:11 +0800 | ||
4 | Subject: [PATCH 01/17] V4L2VDA: Switch to use VDA instead of direct | ||
5 | VideoDecoder | ||
6 | |||
7 | commit b7f3a9e8058f593d7d88b6b6cafa71957aa3f1a1 aims to default | ||
8 | enable "direct VideoDecoder" support on Linux. So need to switch | ||
9 | to use VDA path iff: | ||
10 | |||
11 | 1. kVaapiVideoDecodeLinux is enabled (disabled by default); | ||
12 | 2. kUseChromeOSDirectVideoDecoder is disabled (enabled by default); | ||
13 | 3. GL is used; | ||
14 | |||
15 | Upstream-Status: Inappropriate [NXP specific] | ||
16 | --- | ||
17 | media/base/media_switches.cc | 4 ++-- | ||
18 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
19 | |||
20 | diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc | ||
21 | index 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 | -- | ||
43 | 2.17.1 | ||
44 | |||