1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2010 - 2015, Intel Corporation.
5  */
6 
7 #ifndef __IA_CSS_IFMTR_H__
8 #define __IA_CSS_IFMTR_H__
9 
10 #include <type_support.h>
11 #include <ia_css_stream_public.h>
12 #include <ia_css_binary.h>
13 
14 extern bool ifmtr_set_if_blocking_mode_reset;
15 
16 unsigned int ia_css_ifmtr_lines_needed_for_bayer_order(
17     const struct ia_css_stream_config *config);
18 
19 unsigned int ia_css_ifmtr_columns_needed_for_bayer_order(
20     const struct ia_css_stream_config *config);
21 
22 int ia_css_ifmtr_configure(struct ia_css_stream_config *config,
23 				       struct ia_css_binary *binary);
24 
25 #endif /* __IA_CSS_IFMTR_H__ */
26