1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2010 - 2015, Intel Corporation.
5  */
6 
7 #ifndef __IA_CSS_TAGGER_COMMON_H__
8 #define __IA_CSS_TAGGER_COMMON_H__
9 
10 #include <system_local.h>
11 #include <type_support.h>
12 
13 /**
14  * @brief The tagger's circular buffer.
15  *
16  * Should be one less than NUM_CONTINUOUS_FRAMES in sh_css_internal.h
17  */
18 #define MAX_CB_ELEMS_FOR_TAGGER 14
19 
20 /**
21  * @brief Data structure for the tagger buffer element.
22  */
23 typedef struct {
24 	u32 frame;	/* the frame value stored in the element */
25 	u32 param;	/* the param value stored in the element */
26 	u8 mark;	/* the mark on the element */
27 	u8 lock;	/* the lock on the element */
28 	u8 exp_id; /* exp_id of frame, for debugging only */
29 } ia_css_tagger_buf_sp_elem_t;
30 
31 #endif /* __IA_CSS_TAGGER_COMMON_H__ */
32