libcamera/utils
Paul Elder 207c9e1c1d utils: ipc: Add support for Flags
Add Flags<E> as a supported type in the IPA interface.

It is used in mojom with the [flags] attribute. Any field or parameter
type E that is prefixed with the [flags] attribute will direct the code
generator to generate the type name "Flags<E>" and appropriate
serialization/deserialization code for Flags<E> instead of for E.

It is usable and has been tested in struct members, function input and
output parameters, and Signal parameters. This does not add support for
returning Flags as direct return values.

Additionally, the [scopedEnum] attribute can be used on enum
definitions, which will instruct the code generator to convert it to an
enum class instead of a raw enum.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2022-10-18 18:51:33 +09:00
..
hooks utils: hooks: pre-push: Catch commits without author's SoB 2022-03-28 13:29:32 +03:00
ipc utils: ipc: Add support for Flags 2022-10-18 18:51:33 +09:00
ipu3 utils: ipu3-pack: Provide a 10-bit bayer packing utility 2022-07-19 21:43:35 +05:30
raspberrypi utils: raspberrypi: Add missing SPDX header to delayedctrls_parse.py 2022-09-30 21:51:20 +03:00
rkisp1 utils: rkisp1: gen-csc-table: Add support for inverting the CSC 2022-09-30 22:30:17 +03:00
tracepoints utils: tracepoints: gen-tp-header: Add execute permission 2021-12-14 10:49:20 +00:00
checkstyle.py utils: checkstyle.py: Fix color bleed 2022-06-03 23:35:22 +03:00
gen-controls.py utils: gen-controls: Improve YAML notation for variable-size array controls 2022-10-07 18:28:05 +03:00
gen-formats.py utils: gen-formats: Support big-endian DRM formats 2021-02-01 22:33:55 +02:00
gen-header.sh utils: Convert to pragma once 2021-11-24 12:19:03 +00:00
gen-ipa-priv-key.sh libcamera: ipa: Move key generation to utils 2020-09-24 10:56:22 +01:00
gen-ipa-pub-key.py libcamera: ipa: Move key generation to utils 2020-09-24 10:56:22 +01:00
gen-version.sh build: Preserve upstream git versioning using meson dist 2021-10-19 13:14:54 +03:00
meson.build README, meson: Add dependency on ply and jinja2 for IPA interface generation 2020-11-11 19:23:16 +09:00
release.sh utils: Provide a release script 2022-10-13 12:40:24 +01:00
run-dist.sh build: Preserve upstream git versioning using meson dist 2021-10-19 13:14:54 +03:00
semver utils: semver: Add version helper 2022-10-13 12:40:23 +01:00
update-kernel-headers.sh utils: update-kernel-headers: Update path to intel-ipu3.h 2022-01-03 15:31:12 +02:00
update-mojo.sh utils: update-mojo.sh: Add script for updating mojo 2021-05-26 13:03:12 +09:00