diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-10-25 13:00:43 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-10-28 17:04:01 +0200 |
commit | 2a8bf04227811b29bc94b942e78f1567afd8874b (patch) | |
tree | 31f3897a6fe2dbf56c5634d8519337166072a20d /src/qcam/main_window.cpp | |
parent | c53f8fbbab29385c584f9229c9ee57107b954225 (diff) |
libcamera: v4l2_videodevice: Add PixelFormat conversion
In preparation for switching PixelFormat to DRM pixel formats, add
helper methods to the V4L2VideoDevice class to translate between DRM
pixel formats and V4L2 pixel formats.
More work is needed to properly support the V4L2 multi-planar
(NV[0-9]*M) formats.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/main_window.cpp')
0 files changed, 0 insertions, 0 deletions