diff options
Diffstat (limited to 'src/ipa/ipu3/ipa_context.h')
-rw-r--r-- | src/ipa/ipu3/ipa_context.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ipa/ipu3/ipa_context.h b/src/ipa/ipu3/ipa_context.h new file mode 100644 index 00000000..6cf85524 --- /dev/null +++ b/src/ipa/ipu3/ipa_context.h @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +/* + * Copyright (C) 2021, Ideas On Board + * + * ipu3_ipa_context.h - IPU3 IPA Context + * + * Context information shared between the algorithms + */ +#ifndef __LIBCAMERA_IPU3_IPA_CONTEXT_H__ +#define __LIBCAMERA_IPU3_IPA_CONTEXT_H__ + +#include <linux/intel-ipu3.h> + +namespace libcamera { + +namespace ipa::ipu3 { + +struct IPAContext { + /* Input statistics from the previous frame */ + const ipu3_uapi_stats_3a *stats; + + /* Output Parameters which will be written to the hardware */ + ipu3_uapi_params *params; +}; + +} /* namespace ipa::ipu3 */ + +} /* namespace libcamera*/ + +#endif /* __LIBCAMERA_IPU3_IPA_CONTEXT_H__ */ |