Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcm2835-codec tweaks #4113

Merged
merged 5 commits into from
Mar 12, 2021
Merged

bcm2835-codec tweaks #4113

merged 5 commits into from
Mar 12, 2021

Commits on Mar 11, 2021

  1. media/v4l2_m2m: In buffered mode run jobs if either port is streaming

    In order to get the intended behaviour of the stateful video
    decoder API where only the OUTPUT queue needs to be enabled and fed
    buffers in order to get the SOURCE_CHANGED event that configures the
    CAPTURE queue, we want the device to run should either queue be
    streaming.
    
    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    ea13e57 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. staging/bcm2835-codec: Correct logging of size_t to %zu

    Fixes: "staging/bcm2835-codec: Log the number of excess supported formats"
    Which used %u for printing a size_t, and 64bit builds then log a warning.
    
    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    ff583bb View commit details
    Browse the repository at this point in the history
  2. staging/bcm2835-codec: Add support for pixel aspect ratio

    If the format is detected by the driver and a V4L2_EVENT_SOURCE_CHANGE
    event is generated, then pass on the pixel aspect ratio as well.
    
    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    bf6d809 View commit details
    Browse the repository at this point in the history
  3. staging/bcm2835-codec: Implement additional g_selection calls for decode

    v4l_cropcap calls our vidioc_g_pixelaspect function to get the pixel
    aspect ratio, but also calls g_selection for V4L2_SEL_TGT_CROP_BOUNDS
    and V4L2_SEL_TGT_CROP_DEFAULT. Whilst it allows for vidioc_g_pixelaspect
    not to be implemented, it doesn't allow for either of the other two.
    
    Add in support for the additional selection targets.
    
    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    420578c View commit details
    Browse the repository at this point in the history
  4. staging/bcm2835-codec: Add VC-1 support.

    Providing the relevant licence has been purchased, then Pi0-3
    can decode VC-1.
    
    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    084084d View commit details
    Browse the repository at this point in the history