diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-29 11:40:02 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-08-03 15:07:19 +0200 |
commit | 3bc8844808c5c72f9c83927ec0e93434d9d40e22 (patch) | |
tree | df6f9d1ee6e509da7179437e1e68757fae663589 /src/ipa/raspberrypi/data | |
parent | f25ad4a2b16bc8a0d44e8ca11c46f185b47c34b5 (diff) |
libcamera: formats: Merge V4L2 single and multi formats
To each libcamera PixelFormat two V4L2 formats are associated, the
'single' and 'multi' format variants.
The two versions list plane contiguous and non-contiguous format
variants, and an optional argument to V4L2PixelFormat::fromPixelFormat()
was used to select which one to pick.
In order to prepare to remove V4L2PixelFormat::fromPixelFormat(), and
considering that no caller in the codebase uses the non-contiguous
format variant, merge the two formats vectors in a single one and
default the selection to the first available one, which is functionally
equivalent to what is currently implemented.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/data')
0 files changed, 0 insertions, 0 deletions