Skip to content

Trigger dynamic source change for colorspace

[email protected] imx linux-arm-kernel linux-media lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesIn review
  2. v11 patch 4 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: docs: dev-decoder: Trigger dynamic source change for colorspaceDocumentation/userspace-api/media/v4l/dev-decoder.rst+4 -11 reply
2/3media: amphion: Clear last_buffer_dequeued flag for DEC_CMD_STARTdrivers/media/platform/amphion/vdec.c+1 -01 reply
3/3media: amphion: Trigger source change if colorspace changeddrivers/media/platform/amphion/vdec.c drivers/media/platform/amphion/vpu_v4l2.c+40 -221 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNicolas Dufresne
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Trigger dynamic source change for colorspace

From: Ming Qian <[email protected]>

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

Signature · 1 line
2.52.0