diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-28 06:41:22 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-11-20 21:48:05 +0200 |
commit | d7e0985ce13d094608bec9b496873ae0361ea87d (patch) | |
tree | bd79ff5b373760b2dc118066a99db93f915a7311 /src/libcamera/include/ipa_context_wrapper.h | |
parent | 8162ac164755d04425499c76dfc12a3a9057f936 (diff) |
ipa: Allow short-circuiting the ipa_context_ops
When an IPA module is loaded without isolation and implements the
IPAInterface internally, going through ipa_context_ops is a waste of
time. Add an operation to retrieve the IPAInterface, and use it directly
in the IPAContextWrapper.
For debugging purpose, make it possible to forcing usage of the C API by
defining the LIBCAMERA_IPA_FORCE_C_API environment variable.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/libcamera/include/ipa_context_wrapper.h')
-rw-r--r-- | src/libcamera/include/ipa_context_wrapper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcamera/include/ipa_context_wrapper.h b/src/libcamera/include/ipa_context_wrapper.h index 06088821..c9e19412 100644 --- a/src/libcamera/include/ipa_context_wrapper.h +++ b/src/libcamera/include/ipa_context_wrapper.h @@ -33,7 +33,11 @@ private: struct ipa_operation_data &data); static const struct ipa_callback_ops callbacks_; + void doQueueFrameAction(unsigned int frame, + const IPAOperationData &data); + struct ipa_context *ctx_; + IPAInterface *intf_; ControlSerializer serializer_; }; |