[libcamera-devel] [PATCH 00/10] utils: raspberrypi: ctt: Improve JSON pretty printer
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Fri Jul 3 02:14:12 CEST 2020
Hello,
This patch series improves the JSON pretty printer in the Raspberry Pi
ctt tool. In particular it gets rid of blank lines in empty
dictionaries, addressing Jacopo's comment in reply to "[PATCH v2]
libcamera: ipa: raspberrypi: Enable focus measure without recompile".
The patches have been tested on the JSON files in the
src/ipa/raspberrypi/data/ directory.
Laurent Pinchart (10):
utils: raspberrypi: ctt: json_pretty_print: Fix printer test
utils: raspberrypi: ctt: json_pretty_print: Turn printer into a class
utils: raspberrypi: ctt: json_pretty_print: Make output file a class
member
utils: raspberrypi: ctt: json_pretty_print: Make test output to stdout
utils: raspberrypi: ctt: json_pretty_print: Skip all spaces
utils: raspberrypi: ctt: json_pretty_print: Add character write method
utils: raspberrypi: ctt: json_pretty_print: Fix indentation handling
utils: raspberrypi: ctt: json_pretty_print: Collapse newlines
utils: raspberrypi: ctt: json_pretty_print: Avoid spaces at end of
lines
utils: raspberrypi: ctt: json_pretty_print: Add newline at end of
output
.../raspberrypi/ctt/ctt_pretty_print_json.py | 143 +++++++++++-------
1 file changed, 87 insertions(+), 56 deletions(-)
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list