diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-08 03:41:32 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-16 00:27:54 +0300 |
commit | dc067c4bcea7f13e91f0e84591cd4fe6c77c196b (patch) | |
tree | 4be8d4064ec14e9e5cceb3a1a5f84cf277025ee7 /test/stream/stream_formats.cpp | |
parent | 48f9660acd51dda1f4dbe778b5b5f9bec0483b34 (diff) |
utils: codegen: gen-controls.py: Convert to jinja2 templates
Jinja2 templates help separate the logic related to the template from
the generation of the data. The python code becomes much clearer as a
result.
As an added bonus, we can use a single template file for both controls
and properties.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/stream/stream_formats.cpp')
0 files changed, 0 insertions, 0 deletions