summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-17 01:17:29 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-19 17:14:21 +0200
commita7f24a8d9ab5512abb04b12c1feb6972633961e5 (patch)
tree44fefb094e4438d1f9247c8a000949455e70a712 /Documentation
parent92c7b1cc1d04f460512d6bd00e8cda1dd3697648 (diff)
libcamera: v4l2_videodevice: Add V4L2PixelFormat class
The V4L2PixelFormat class describes the pixel format of a V4L2 buffer. It wraps the V4L2 numerical FourCC, and shall be used in all APIs that deal with V4L2 pixel formats. Its purpose is to prevent unintentional confusion of V4L2 and DRM FourCCs in code by catching implicit conversion attempts at compile time. The constructor taking a V4L2 FourCC integer value will be made explicit in a further commit to minimize the size of this change and keep it reviewable. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions