libcamera/test/v4l2_videodevice
Laurent Pinchart 6c34a2d386 libcamera: v4l2_videodevice: Make V4L2PixelFormat constructor explicit
To achieve the goal of preventing unwanted conversion between a DRM and
a V4L2 FourCC, make the V4L2PixelFormat constructor that takes an
integer value explicit. All users of V4L2 pixel formats flagged by the
compiler are fixed.

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>
2020-03-19 17:14:21 +02:00
..
buffer_cache.cpp libcamera: PixelFormat: Make constructor explicit 2020-03-18 18:02:40 +01:00
buffer_sharing.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
capture_async.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
controls.cpp libcamera: Standardise on C compatibility headers 2019-10-23 17:39:39 +03:00
double_open.cpp libcamera: Rename V4L2Device to V4L2VideoDevice 2019-06-19 15:46:44 +02:00
formats.cpp libcamera: Standardise on C compatibility headers 2019-10-23 17:39:39 +03:00
meson.build test: v4l2_videodevice: Add test for V4L2BufferCache 2020-03-06 17:45:48 +01:00
request_buffers.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
stream_on_off.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
v4l2_m2mdevice.cpp libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers() 2020-03-18 19:15:18 +02:00
v4l2_videodevice_test.cpp libcamera: v4l2_videodevice: Make V4L2PixelFormat constructor explicit 2020-03-19 17:14:21 +02:00
v4l2_videodevice_test.h test: v4l2_videodevice: Switch to FrameBuffer interface 2020-01-12 16:10:37 +01:00