diff options
author | Chris Dimich <chris.dimich@boundarydevices.com> | 2023-01-09 10:52:50 -0800 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-01-10 11:48:52 +0000 |
commit | 481b7f0468b3f5928f8f0fc6aa21e4836fb3f3c5 (patch) | |
tree | 110b6e167690d55ae88cad23a9e6c418d982edb6 /dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0117-V4L2VDA-Enlarge-input-buffer-count-to-16.patch | |
parent | 1cfd9c034ea323f198f1bfadd74f589ffa3cc061 (diff) | |
download | meta-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/0117-V4L2VDA-Enlarge-input-buffer-count-to-16.patch')
-rw-r--r-- | dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0117-V4L2VDA-Enlarge-input-buffer-count-to-16.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0117-V4L2VDA-Enlarge-input-buffer-count-to-16.patch b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0117-V4L2VDA-Enlarge-input-buffer-count-to-16.patch new file mode 100644 index 00000000..7d962d69 --- /dev/null +++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0117-V4L2VDA-Enlarge-input-buffer-count-to-16.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From cce8813b76367550ca0a934481ff9263afc09698 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hou Qi <qi.hou@nxp.com> | ||
3 | Date: Thu, 15 Sep 2022 18:12:55 +0800 | ||
4 | Subject: [PATCH 17/17] V4L2VDA: Enlarge input buffer count to 16 | ||
5 | |||
6 | Some stream can decode one frame only after queuing over 8 buffers. | ||
7 | So enlarge input buffer count to 16 to avoid such stream cannot play. | ||
8 | |||
9 | Upstream-Status: Inappropriate [NXP specific] | ||
10 | --- | ||
11 | media/gpu/v4l2/v4l2_video_decode_accelerator.h | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/media/gpu/v4l2/v4l2_video_decode_accelerator.h b/media/gpu/v4l2/v4l2_video_decode_accelerator.h | ||
15 | index d16ee5857785b..5724a972ce4f3 100644 | ||
16 | --- a/media/gpu/v4l2/v4l2_video_decode_accelerator.h | ||
17 | +++ b/media/gpu/v4l2/v4l2_video_decode_accelerator.h | ||
18 | @@ -145,7 +145,7 @@ class MEDIA_GPU_EXPORT V4L2VideoDecodeAccelerator | ||
19 | private: | ||
20 | // These are rather subjectively tuned. | ||
21 | enum { | ||
22 | - kInputBufferCount = 8, | ||
23 | + kInputBufferCount = 16, | ||
24 | // TODO(posciak): determine input buffer size based on level limits. | ||
25 | // See http://crbug.com/255116. | ||
26 | // Input bitstream buffer size for up to 1080p streams. | ||
27 | -- | ||
28 | 2.17.1 | ||
29 | |||