2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
15 #include "ia_css_formats.host.h"
16 #include "ia_css_types.h"
17 #include "sh_css_defs.h"
19 /*#include "sh_css_frac.h"*/
20 #ifndef IA_CSS_NO_DEBUG
21 /* FIXME: See BZ 4427 */
22 #include "ia_css_debug.h"
25 const struct ia_css_formats_config default_formats_config
= {
30 ia_css_formats_encode(
31 struct sh_css_isp_formats_params
*to
,
32 const struct ia_css_formats_config
*from
,
36 to
->video_full_range_flag
= from
->video_full_range_flag
;
38 #ifndef IA_CSS_NO_DEBUG
39 /* FIXME: See BZ 4427 */
42 const struct sh_css_isp_formats_params
*formats
,
46 ia_css_debug_dtrace(level
, "\t%-32s = %d\n",
47 "video_full_range_flag", formats
->video_full_range_flag
);
51 #ifndef IA_CSS_NO_DEBUG
52 /* FIXME: See BZ 4427 */
54 ia_css_formats_debug_dtrace(
55 const struct ia_css_formats_config
*config
,
58 ia_css_debug_dtrace(level
,
59 "config.video_full_range_flag=%d\n",
60 config
->video_full_range_flag
);