1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 */ 6 7 #ifndef __IA_CSS_VF_PARAM_H 8 #define __IA_CSS_VF_PARAM_H 9 10 #include "type_support.h" 11 #include "dma.h" 12 #include "gc/gc_1.0/ia_css_gc_param.h" /* GAMMA_OUTPUT_BITS */ 13 #include "ia_css_frame_comm.h" /* ia_css_frame_sp_info */ 14 #include "ia_css_vf_types.h" 15 16 #define VFDEC_BITS_PER_PIXEL GAMMA_OUTPUT_BITS 17 18 /* Viewfinder decimation */ 19 struct sh_css_isp_vf_isp_config { 20 u32 vf_downscale_bits; /** Log VF downscale value */ 21 u32 enable; 22 struct ia_css_frame_sp_info info; 23 struct { 24 u32 width_a_over_b; 25 struct dma_port_config port_b; 26 } dma; 27 }; 28 29 #endif /* __IA_CSS_VF_PARAM_H */ 30