diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-03-26 14:28:56 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-04-14 00:28:28 +0200 |
commit | 0e577cee9def15d95ad5bd7fce3815a46dad8e81 (patch) | |
tree | b446bdda32f9b0fe63d21e27e6fa497615cc0ce4 /src/ipa/libipa/ipa_interface_wrapper.h | |
parent | 72278369b30af757c8ab756cc6c9cadcf15684d5 (diff) |
ipa: Add start() and stop() operations
Add two new operations to the IPA interface to start and stop it. The
intention is that these functions shall be used by the IPA to perform
actions when the camera is started and stopped.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/ipa_interface_wrapper.h')
-rw-r--r-- | src/ipa/libipa/ipa_interface_wrapper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipa/libipa/ipa_interface_wrapper.h b/src/ipa/libipa/ipa_interface_wrapper.h index 3fb7b447..e4bc6dd4 100644 --- a/src/ipa/libipa/ipa_interface_wrapper.h +++ b/src/ipa/libipa/ipa_interface_wrapper.h @@ -24,6 +24,8 @@ private: static void destroy(struct ipa_context *ctx); static void *get_interface(struct ipa_context *ctx); static void init(struct ipa_context *ctx); + static int start(struct ipa_context *ctx); + static void stop(struct ipa_context *ctx); static void register_callbacks(struct ipa_context *ctx, const struct ipa_callback_ops *callbacks, void *cb_ctx); |