diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-01-10 08:59:03 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 08:59:03 -0300 |
commit | 1c7f17f6063d0b747d94a17059b176f3ebdb3e3e (patch) | |
tree | 5da96ff55339ea98501a9e1f7544a243b20e9983 /dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0117-V4L2VDA-Enlarge-input-buffer-count-to-16.patch | |
parent | bd8ff87bf68f52b3933c5d1e9f83c610f18a963d (diff) | |
parent | 481b7f0468b3f5928f8f0fc6aa21e4836fb3f3c5 (diff) | |
download | meta-freescale-1c7f17f6063d0b747d94a17059b176f3ebdb3e3e.tar.gz |
Merge pull request #1380 from Freescale/backport-1375-to-kirkstone
[Backport kirkstone] chromium-ozone-wayland: add bbappend and patches as per NXP 5.15.71_2…
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 | |||