summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/ipa_context.h
blob: 6cf85524122a4236604bd43b492d56808d0cf5fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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__ */