summaryrefslogtreecommitdiff
path: root/test/process/process_test.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-09-01 15:46:32 +0200
committerJacopo Mondi <jacopo@jmondi.org>2021-09-27 14:37:45 +0200
commit23c2b8a9cacad72c405fbeea77d6b3f8cb865c98 (patch)
treee26a3023e18198e349a571d40480c2013e6f23a5 /test/process/process_test.cpp
parentb516ffb3bd9be3ae40b4d979ae4cdff01e816db7 (diff)
libcamera: control_serializer: Serialize info::def()
The ControlInfo class was originally designed to only transport the control's minimum and maximum values which represent the control's valid limits. Later the default value of the control has been added to the ControlInfo class, but the control serializer implementation has not been updated accordingly. This causes issues in IPA modules making use of ControlInfo::def() as, when running in isolation, they would receive 0. Fix that by serializing and deserializing the additional ControlValue and update the protocol description accordingly. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/process/process_test.cpp')
0 files changed, 0 insertions, 0 deletions