path: root/utils/cec-compliance
diff options
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-06 15:25:44 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-01-06 14:45:08 +0100
commit232f5ef0a94915bf4565909c0219396192b31328 (patch)
treed059dfce385246f95ef202540ea39460be8f85d1 /utils/cec-compliance
parent976a2f681b4e4e16edffd972d53a623b895c5646 (diff)
qv4l2: Use C library file operations with v4lconvert for raw mode devices
qv4l2 uses libv4l2 to access the V4L2 device by default, and supports a raw open mode for direct access to the device through C library file operations. It also uses libv4lconvert to perform format conversion, and libv4lconvert accesses the V4L2 device through direct syscalls by default. Usage of raw open mode is useful to test direct access to the device, but also to test LD_PRELOAD wrappers that intercept the C library calls, such as the libcamera V4L2 compatibility wrapper. The usage of syscalls in libv4lconvert prevents the latter case from working properly. Fix it by providing file operations to libv4lconvert that use the C library file operations when opening the device in raw mode. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/cec-compliance')
0 files changed, 0 insertions, 0 deletions

Privacy Policy