libcamera/test/v4l2_subdevice
Umang Jain 313d65ca25 test: v4l2_subdevice: list_formats: Port to use utils::hex() output helper
The hex stream output helper was introduced in f391048a7b ("libcamera: utils:
Add hex stream output helper"). It simplifies writing hexadecimal values to an
ostream which can be used in this test too. As the helper doesn't modify the
stream configuration (refer to utils::hex() documentation), this eliminates the
need of restoring the stream's format state as pointed out by the coverity scan.

Reported-by: Coverity CID=279058
Signed-off-by: Umang Jain <email@uajain.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2020-06-08 16:56:07 +01:00
..
list_formats.cpp test: v4l2_subdevice: list_formats: Port to use utils::hex() output helper 2020-06-08 16:56:07 +01:00
meson.build licenses: License all meson files under CC0-1.0 2020-05-13 16:46:24 +03:00
test_formats.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
v4l2_subdevice_test.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
v4l2_subdevice_test.h libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00