diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-02-24 21:55:44 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-04-01 14:29:05 +0300 |
commit | a9d43c4710ba0db092c2abbf7d3423f4ac58352a (patch) | |
tree | 74292a9b73918b6c7e19da9f1dfe5ed09f0016ac /test/serialization | |
parent | f9e2df951969f10f1ee1e46fb806942a27db8aca (diff) |
libipa: camera_sensor_helper: Reorganize gain constants
To prepare for other gain models than the linear model, store the gain
constants in a union with per-model members. Due to the lack of
designated initializer support in gcc with C++17, initializing a single
complex structure that includes a union will be difficult. Split the
gain model type to a separate variable to work around this issue.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/serialization')
0 files changed, 0 insertions, 0 deletions