xref: /linux/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/ia_css_csc_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_CSC_PARAM_H
17 #define __IA_CSS_CSC_PARAM_H
18 
19 #include "type_support.h"
20 /* CSC (Color Space Conversion) */
21 struct sh_css_isp_csc_params {
22 	u16	m_shift;
23 	s16		m00;
24 	s16		m01;
25 	s16		m02;
26 	s16		m10;
27 	s16		m11;
28 	s16		m12;
29 	s16		m20;
30 	s16		m21;
31 	s16		m22;
32 };
33 
34 #endif /* __IA_CSS_CSC_PARAM_H */
35