xref: /linux/drivers/staging/media/atomisp/pci/isp/kernels/ref/ref_1.0/ia_css_ref_param.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  */
15 
16 #ifndef __IA_CSS_REF_PARAM_H
17 #define __IA_CSS_REF_PARAM_H
18 
19 #include <type_support.h>
20 #include "sh_css_defs.h"
21 #include "dma.h"
22 
23 /* Reference frame */
24 struct ia_css_ref_configuration {
25 	const struct ia_css_frame *ref_frames[MAX_NUM_VIDEO_DELAY_FRAMES];
26 	u32 dvs_frame_delay;
27 };
28 
29 struct sh_css_isp_ref_isp_config {
30 	u32 width_a_over_b;
31 	struct dma_port_config port_b;
32 	ia_css_ptr ref_frame_addr_y[MAX_NUM_VIDEO_DELAY_FRAMES];
33 	ia_css_ptr ref_frame_addr_c[MAX_NUM_VIDEO_DELAY_FRAMES];
34 	u32 dvs_frame_delay;
35 };
36 
37 #endif /* __IA_CSS_REF_PARAM_H */
38