1. 02 Jul, 2024 10 commits
  2. 30 Jun, 2024 5 commits
  3. 29 Jun, 2024 22 commits
  4. 28 Jun, 2024 3 commits
    • Dorcas Anono Litunya's avatar
      documentation: media: vivid: Update documentation on vivid loopback support · f5306b75
      Dorcas Anono Litunya authored
      Modify section "Video and Sliced VBI Looping" in Documentation to explain
      the vivid loopback support for video across multiple vivid instances.
      Previous documentation is out-of-date as it was explaining looping in a
      single vivid instance only.
      
      Also, in "Some Future Improvements" the item "Add support to loop
      from a specific output to a specific input across vivid instances"
      can be dropped since that's now implemented.
      Signed-off-by: default avatarDorcas Anono Litunya <anonolitunya@gmail.com>
      Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
      f5306b75
    • Hans Verkuil's avatar
      media: vivid: loopback based on 'Connected To' controls · 4c4dacb0
      Hans Verkuil authored
      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: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
      Co-developed-by: default avatarDorcas Anono Litunya <anonolitunya@gmail.com>
      Signed-off-by: default avatarDorcas Anono Litunya <anonolitunya@gmail.com>
      4c4dacb0
    • Dorcas Anono Litunya's avatar
      media: vivid: Add 'Is Connected To' menu controls · d7c969f3
      Dorcas Anono Litunya authored
      The video loopback functionality in vivid is very crude. What we really
      want is to be able to emulate connecting an HDMI or S-Video input to
      an HDMI or S-Video output, and the input and output can be in different
      vivid instances.
      
      Effectively this emulates what happens when you physically connect an
      HDMI or S-Video cable between two devices.
      
      In particular, this makes prototyping with vivid much more realistic.
      
      This patch creates a menu control for each HDMI or S-Video input. The
      menu control starts with "Test Pattern Generator" and "None" (i.e.
      disconnected). After that up to 62 HDMI or S-Video outputs are listed
      that you can connect the input to.
      
      If there are more than 62 HDMI or S-Video outputs, then those will not
      be included in the menu (currently menucontrols have max 64 entries).
      
      If an input is connected to an output, then all other 'Connected To'
      controls are updated to exclude that output to avoid having multiple
      inputs connected to the same output.
      Signed-off-by: default avatarDorcas Anono Litunya <anonolitunya@gmail.com>
      Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
      [hverkuil: use u8 in loops in vivid_create_controls() to avoid truncate warning]
      d7c969f3