From 2129117df920699ad83bd231ebe83ca9f0a619da Mon Sep 17 00:00:00 2001 From: Kaaira Gupta Date: Mon, 22 Jun 2020 16:33:51 +0530 Subject: libcamera: pixel_format: Replace hex with format names Print format names defined in formats namespace instead of the hex values in toString() as they are easier to comprehend. For this add a property of 'name' in PixelFormatInfo' so as to map the formats with their names. Print fourcc for formats which are not used in libcamera. Signed-off-by: Kaaira Gupta Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- test/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index a8688131..7808a26e 100644 --- a/test/meson.build +++ b/test/meson.build @@ -34,6 +34,7 @@ internal_tests = [ ['message', 'message.cpp'], ['object', 'object.cpp'], ['object-invoke', 'object-invoke.cpp'], + ['pixel-format', 'pixel-format.cpp'], ['signal-threads', 'signal-threads.cpp'], ['threads', 'threads.cpp'], ['timer', 'timer.cpp'], -- cgit v1.2.1