diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2024-02-21 12:49:19 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-02-23 15:12:15 +0200 |
commit | 366077c4db502c8129eacc81a59d6e0ec958e4f0 (patch) | |
tree | 267e114a3a0440194ac53d73544aabea35f4c0c6 /src/v4l2/v4l2_compat_manager.h | |
parent | 5e4dc46a0c6fc3138c887e9afbabfe7dfa6ebd98 (diff) |
pipeline: rpi: vc4: Use an unpacked format if no packed one is available
When validating a stream, and no valid packed pixel format can be
found, see if an unpacked format can be used instead.
This is particularly helpful for 8 (and 16) bit raw formats, where
asking for a packed format would previously have failed. Now the
configuration will be adjusted to give you a format (in fact, the only
format) that will work.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat_manager.h')
0 files changed, 0 insertions, 0 deletions