media: vivid: loopback based on 'Connected To' controls
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 24 Jun 2024 09:53:04 +0000 (12:53 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 28 Jun 2024 06:00:29 +0000 (08:00 +0200)
commit4c4dacb052d44b3af612e3e0c0e70a413b8dded0
tree90228835a00279b796566c2653bb05736dd3c70d
parentd7c969f37515d78dc1a026d12b94b90e319a5a61
media: vivid: loopback based on 'Connected To' controls

Instead of using hardwired video loopback limited to a single vivid
instance, use the new 'Connected To' controls to only loopback if an
HDMI or S-Video input is connected to another output, which can be
in another vivid instance. Effectively this emulates connecting and
disconnecting an HDMI/S-Video cable.

The Loop Video control is dropped since it has now been replaced by
the new 'Connected To' controls. The Display Present has also been
dropped since it no longer fits.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Co-developed-by: Dorcas Anono Litunya <anonolitunya@gmail.com>
Signed-off-by: Dorcas Anono Litunya <anonolitunya@gmail.com>
12 files changed:
Documentation/admin-guide/media/vivid.rst
drivers/media/test-drivers/vivid/vivid-cec.c
drivers/media/test-drivers/vivid/vivid-core.c
drivers/media/test-drivers/vivid/vivid-core.h
drivers/media/test-drivers/vivid/vivid-ctrls.c
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
drivers/media/test-drivers/vivid/vivid-vbi-cap.c
drivers/media/test-drivers/vivid/vivid-vid-cap.c
drivers/media/test-drivers/vivid/vivid-vid-cap.h
drivers/media/test-drivers/vivid/vivid-vid-common.c
drivers/media/test-drivers/vivid/vivid-vid-common.h
drivers/media/test-drivers/vivid/vivid-vid-out.c