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_ACNR_HW_V1_H_ 21 #define _RK_AIQ_TYPE_ACNR_HW_V1_H_ 22 #include "rk_aiq_comm.h" 23 24 typedef struct RK_CNR_Fix_V1_s{ 25 //ISP_CNR_2800_CTRL 26 uint8_t cnr_thumb_mix_cur_en; 27 uint8_t cnr_lq_bila_bypass; 28 uint8_t cnr_hq_bila_bypass; 29 uint8_t cnr_exgain_bypass; 30 uint8_t cnr_en_i; 31 32 // ISP_CNR_2800_EXGAIN 33 uint8_t cnr_exgain_mux; 34 35 // ISP_CNR_2800_GAIN_PARA 36 uint8_t cnr_gain_iso; 37 uint8_t cnr_gain_offset; 38 uint8_t cnr_gain_1sigma; 39 40 // ISP_CNR_2800_GAIN_UV_PARA 41 uint8_t cnr_gain_uvgain1; 42 uint8_t cnr_gain_uvgain0; 43 44 // ISP_CNR_2800_LMED3 45 uint8_t cnr_lmed3_alpha; 46 47 // ISP_CNR_2800_LBF5_GAIN 48 uint8_t cnr_lbf5_gain_y; 49 uint8_t cnr_lbf5_gain_c; 50 51 // ISP_CNR_2800_LBF5_WEITD0_4 52 uint8_t cnr_lbf5_weit_d[5]; 53 54 // ISP_CNR_2800_HMED3 55 uint8_t cnr_hmed3_alpha; 56 57 // ISP_CNR_2800_HBF5 58 uint8_t cnr_hbf5_weit_src; 59 uint8_t cnr_hbf5_min_wgt; 60 uint16_t cnr_hbf5_sigma; 61 62 // ISP_CNR_2800_LBF3 63 uint8_t cnr_lbf5_weit_src; 64 uint16_t cnr_lbf3_sigma; 65 66 }RK_CNR_Fix_V1_t; 67 68 69 70 #endif 71 72 73 74