GNU Linux-libre 4.14.294-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / hive_isp_css_include / host / isp_op1w_types.h
1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14
15 #ifndef __ISP_OP1W_TYPES_H_INCLUDED__
16 #define __ISP_OP1W_TYPES_H_INCLUDED__
17
18 /*
19  * This file is part of the Multi-precision vector operations exstension package.
20  */
21  
22 /* 
23  * Single-precision vector operations
24  */
25  
26 /*  
27  * Prerequisites:
28  *
29  */
30
31 #include "mpmath.h"
32
33 /*
34  * Single-precision data type specification
35  */
36
37
38 typedef mpsdata_t       tvector1w;
39 typedef mpsdata_t       tscalar1w;
40 typedef spsdata_t       tflags;
41 typedef mpudata_t       tvector1w_unsigned;
42 typedef mpsdata_t       tscalar1w_weight;
43 typedef mpsdata_t       tvector1w_signed_positive;
44 typedef mpsdata_t       tvector1w_weight;
45 #ifdef ISP2401
46 typedef bool            tscalar_bool;
47 #endif
48
49 typedef  struct {
50   tvector1w       d;
51   tflags        f;
52 } tvector1w_tflags1w;
53
54 #endif /* __ISP_OP1W_TYPES_H_INCLUDED__ */