summaryrefslogtreecommitdiff
path: root/Documentation/getting-started.rst
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2022-07-29 11:40:02 +0200
committerJacopo Mondi <jacopo@jmondi.org>2022-08-03 15:07:19 +0200
commit3bc8844808c5c72f9c83927ec0e93434d9d40e22 (patch)
treedf6f9d1ee6e509da7179437e1e68757fae663589 /Documentation/getting-started.rst
parentf25ad4a2b16bc8a0d44e8ca11c46f185b47c34b5 (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 'Documentation/getting-started.rst')
0 files changed, 0 insertions, 0 deletions