1 /* 2 *rk_aiq_types_alsc_hw.h 3 * 4 * Copyright (c) 2019 Rockchip Corporation 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 * 18 */ 19 20 #ifndef _RK_AIQ_TYPE_AGAIN_HW_V2_H_ 21 #define _RK_AIQ_TYPE_AGAIN_HW_V2_H_ 22 #include "rk_aiq_comm.h" 23 24 typedef struct RK_GAIN_Fix_V2_s { 25 26 unsigned char sw_gain2ddr_mode; 27 unsigned char sw_gain2ddr_wr_en; 28 unsigned char sw_3dlut_gain_en; 29 unsigned char sw_dhaz_gain_en; 30 unsigned char sw_adrc_gain_en; 31 unsigned char sw_lsc_gain_en; 32 unsigned char sw_gain_module_free_mode; 33 unsigned char sw_gain_dmard_mode_en; 34 unsigned char sw_bayer3dnr_gain_en; 35 unsigned char sw_gain_mp_pipe_dis; 36 unsigned char sw_gain_gate_always_on; 37 unsigned char sw_mge_gain_en; 38 unsigned char sw_gain_en; 39 40 unsigned int sw_gain[3]; 41 } RK_GAIN_Fix_V2_t; 42 43 44 45 #endif 46 47 48 49