mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-07-19 18:39:09 +02:00

- 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: Hou Qi <qi.hou@nxp.com>
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From cce8813b76367550ca0a934481ff9263afc09698 Mon Sep 17 00:00:00 2001
|
|
From: Hou Qi <qi.hou@nxp.com>
|
|
Date: Thu, 15 Sep 2022 18:12:55 +0800
|
|
Subject: [PATCH 17/17] V4L2VDA: Enlarge input buffer count to 16
|
|
|
|
Some stream can decode one frame only after queuing over 8 buffers.
|
|
So enlarge input buffer count to 16 to avoid such stream cannot play.
|
|
|
|
Upstream-Status: Inappropriate [NXP specific]
|
|
---
|
|
media/gpu/v4l2/v4l2_video_decode_accelerator.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/media/gpu/v4l2/v4l2_video_decode_accelerator.h b/media/gpu/v4l2/v4l2_video_decode_accelerator.h
|
|
index d16ee5857785b..5724a972ce4f3 100644
|
|
--- a/media/gpu/v4l2/v4l2_video_decode_accelerator.h
|
|
+++ b/media/gpu/v4l2/v4l2_video_decode_accelerator.h
|
|
@@ -145,7 +145,7 @@ class MEDIA_GPU_EXPORT V4L2VideoDecodeAccelerator
|
|
private:
|
|
// These are rather subjectively tuned.
|
|
enum {
|
|
- kInputBufferCount = 8,
|
|
+ kInputBufferCount = 16,
|
|
// TODO(posciak): determine input buffer size based on level limits.
|
|
// See http://crbug.com/255116.
|
|
// Input bitstream buffer size for up to 1080p streams.
|
|
--
|
|
2.17.1
|
|
|