[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251217030227.1546-1-ming.qian@oss.nxp.com>
Date: Wed, 17 Dec 2025 11:02:20 +0800
From: ming.qian@....nxp.com
To: linux-media@...r.kernel.org
Cc: mchehab@...nel.org,
hverkuil-cisco@...all.nl,
nicolas@...fresne.ca,
sebastian.fricke@...labora.com,
shawnguo@...nel.org,
s.hauer@...gutronix.de,
kernel@...gutronix.de,
festevam@...il.com,
linux-imx@....com,
Frank.li@....com,
xiahong.bao@....com,
eagle.zhou@....com,
imx@...ts.linux.dev,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v4 0/3] Trigger dynamic source change for colorspace
From: Ming Qian <ming.qian@....nxp.com>
If colorspace changes, the client needs to renegotiate the pipeline,
otherwise the decoded frame may not be displayed correctly.
A change in colorspace triggers a source change, allowing the client to
detect the specific reason and decide whether request buffer
reallocation.
Change logs:
v4
- Drop V4L2_EVENT_SRC_CH_COLORSPACE, to avoid backward compatibility
issues.
- Add cover-leter
v3
- Improve the description according to comments
v2
- Add V4L2_EVENT_SRC_CH_COLORSPACE for colorspace source change event
Ming Qian (3):
media: docs: dev-decoder: Trigger dynamic source change for colorspace
media: amphion: Clear last_buffer_dequeued flag for DEC_CMD_START
media: amphion: Trigger source change if colorspace changed
.../userspace-api/media/v4l/dev-decoder.rst | 5 +-
drivers/media/platform/amphion/vdec.c | 62 ++++++++++++-------
drivers/media/platform/amphion/vpu_v4l2.c | 1 -
3 files changed, 45 insertions(+), 23 deletions(-)
base-commit: f7231cff1f3ff8259bef02dc4999bc132abf29cf
prerequisite-patch-id: 0000000000000000000000000000000000000000
prerequisite-patch-id: f33b49b7c9c245b32701d1a6e8250da297ccc39b
--
2.52.0
Powered by blists - more mailing lists