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  * 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_IFMTR_H__
17 #define __IA_CSS_IFMTR_H__
18 
19 #include <type_support.h>
20 #include <ia_css_stream_public.h>
21 #include <ia_css_binary.h>
22 
23 extern bool ifmtr_set_if_blocking_mode_reset;
24 
25 unsigned int ia_css_ifmtr_lines_needed_for_bayer_order(
26     const struct ia_css_stream_config *config);
27 
28 unsigned int ia_css_ifmtr_columns_needed_for_bayer_order(
29     const struct ia_css_stream_config *config);
30 
31 int ia_css_ifmtr_configure(struct ia_css_stream_config *config,
32 				       struct ia_css_binary *binary);
33 
34 #endif /* __IA_CSS_IFMTR_H__ */
35