Linux-libre 4.15.7-gnu
[librecmc/linux-libre.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / hive_isp_css_include / vector_func.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 __VECTOR_FUNC_H_INCLUDED__
16 #define __VECTOR_FUNC_H_INCLUDED__
17
18
19 /* TODO: Later filters will be moved to types directory,
20  * and we should only include matrix_MxN types */
21 #include "filters/filters_1.0/filter_2x2.h"
22 #include "filters/filters_1.0/filter_3x3.h"
23 #include "filters/filters_1.0/filter_4x4.h"
24 #include "filters/filters_1.0/filter_5x5.h"
25
26 #include "vector_func_local.h"
27
28 #ifndef __INLINE_VECTOR_FUNC__
29 #define STORAGE_CLASS_VECTOR_FUNC_H extern
30 #define STORAGE_CLASS_VECTOR_FUNC_C 
31 #include "vector_func_public.h"
32 #else  /* __INLINE_VECTOR_FUNC__ */
33 #define STORAGE_CLASS_VECTOR_FUNC_H static inline
34 #define STORAGE_CLASS_VECTOR_FUNC_C static inline
35 #include "vector_func_private.h"
36 #endif /* __INLINE_VECTOR_FUNC__ */
37
38 #endif /* __VECTOR_FUNC_H_INCLUDED__ */