1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 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_FORMATS_TYPES_H 17 #define __IA_CSS_FORMATS_TYPES_H 18 19 /* @file 20 * CSS-API header file for output format parameters. 21 */ 22 23 #include "type_support.h" 24 25 /* Formats configuration. 26 * 27 * ISP block: FORMATS 28 * ISP1: FORMATS is used. 29 * ISP2: FORMATS is used. 30 */ 31 struct ia_css_formats_config { 32 u32 video_full_range_flag; /** selects the range of YUV output. 33 u8.0, [0,1], 34 default 1, ineffective n/a\n 35 1 - full range, luma 0-255, chroma 0-255\n 36 0 - reduced range, luma 16-235, chroma 16-240 */ 37 }; 38 39 #endif /* __IA_CSS_FORMATS_TYPES_H */ 40