libcamera/test
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
..
camera libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
controls libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
ipa libcamera: IPAManager: remove instance() and make createIPA() static 2020-06-08 17:11:26 +09:00
ipc libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
libtest libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
log test: log: log_api: Close open fds on error paths 2020-06-04 11:02:38 +01:00
media_device libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
pipeline libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
process libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
serialization libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
stream licenses: License all meson files under CC0-1.0 2020-05-13 16:46:24 +03:00
v4l2_subdevice test: v4l2_subdevice: list_formats: Port to use utils::hex() output helper 2020-06-08 16:56:07 +01:00
v4l2_videodevice libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
byte-stream-buffer.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
camera-sensor.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
event-dispatcher.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
event-thread.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
event.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
file-descriptor.cpp test: file-descriptor: Add "fd move" constructor test 2020-05-19 18:08:11 +03:00
file.cpp test: Fixed the compilation issue 2020-06-02 23:40:48 +03:00
geometry.cpp test: geometry: Add tests for Size class comparison operators 2019-04-18 18:13:10 +03:00
list-cameras.cpp test: list-camera: Handle error on starting the CameraManager 2020-04-15 01:09:23 +03:00
meson.build licenses: License all meson files under CC0-1.0 2020-05-13 16:46:24 +03:00
message.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
object-invoke.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
object.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
signal-threads.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
signal.cpp test: signal: Add additional disconnection tests for Object 2020-01-22 17:26:20 +02:00
span.cpp test: Add Span test 2020-03-06 18:10:02 +02:00
threads.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
timer-thread.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
timer.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
utils.cpp libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00