diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-06-11 09:09:40 +0200 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-07-05 22:38:16 +0200 |
commit | 797f59850201fcc267814be5c70d4730c4a67702 (patch) | |
tree | 3df840e2ceb84ab1b79bf57e5d82e15ceaec005d /utils/tuning/raspberrypi/__init__.py | |
parent | 22c7c1e560ded2f0bf882cc92283881bdeedc2cc (diff) |
libtuning: Improve filename parsing
In the tuning datasets, the files had names like
'imx335_1600l_3000k_1.dng'. That failed on the old filename parsing
function. As there is no need to dictate the order of the tags, split
the big regex into chunks and parse them one by one. This also makes
the code easier to digest.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/tuning/raspberrypi/__init__.py')
0 files changed, 0 insertions, 0 deletions