1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2010 - 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 __IA_CSS_IFMTR_H__
16 #define __IA_CSS_IFMTR_H__
17 
18 #include <type_support.h>
19 #include <ia_css_stream_public.h>
20 #include <ia_css_binary.h>
21 
22 extern bool ifmtr_set_if_blocking_mode_reset;
23 
24 unsigned int ia_css_ifmtr_lines_needed_for_bayer_order(
25     const struct ia_css_stream_config *config);
26 
27 unsigned int ia_css_ifmtr_columns_needed_for_bayer_order(
28     const struct ia_css_stream_config *config);
29 
30 int ia_css_ifmtr_configure(struct ia_css_stream_config *config,
31 				       struct ia_css_binary *binary);
32 
33 #endif /* __IA_CSS_IFMTR_H__ */
34