diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-02-28 14:16:04 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-03-15 13:00:58 +0200 |
commit | 58bcddbdeb7e7b40ba8e7eecc2fad385d85f23ce (patch) | |
tree | 2e629c0133979b03f3eacfb7a97b30fede75bc17 /test/utils.cpp | |
parent | 2a6d4324570a3e9803067ec674d20cd0a8e25863 (diff) |
libcamera: camera_sensor: Test for read-only HBLANK with READ_ONLY flag
The CameraSensor class tests if the sensor HBLANK control is read-only
by comparing the minimum and maximum values, and documents this as being
a workaround for the lack of a read-only control flag in V4L2. This is
incorrect, as the V4L2 API provides such a flag. Use it to replace the
workaround.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/utils.cpp')
0 files changed, 0 insertions, 0 deletions