Merge tag 'for-4.15/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device...
[sfrench/cifs-2.6.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / fc / fc_1.0 / ia_css_formats_types.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 __IA_CSS_FORMATS_TYPES_H
16 #define __IA_CSS_FORMATS_TYPES_H
17
18 /* @file
19 * CSS-API header file for output format parameters.
20 */
21
22 #include "type_support.h"
23
24 /* Formats configuration.
25  *
26  *  ISP block: FORMATS
27  *  ISP1: FORMATS is used.
28  *  ISP2: FORMATS is used.
29  */
30 struct ia_css_formats_config {
31         uint32_t video_full_range_flag; /** selects the range of YUV output.
32                                 u8.0, [0,1],
33                                 default 1, ineffective n/a\n
34                                 1 - full range, luma 0-255, chroma 0-255\n
35                                 0 - reduced range, luma 16-235, chroma 16-240 */
36 };
37
38 #endif /* __IA_CSS_FORMATS_TYPES_H */