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_ABAYER2DNR_HW_V2_H_ 21 #define _RK_AIQ_TYPE_ABAYER2DNR_HW_V2_H_ 22 #include "rk_aiq_comm.h" 23 24 25 26 typedef struct RK_Bayer2dnr_Fix_V2_s { 27 28 //ISP_BAYNR_3A00_CTRL 29 uint8_t baynr_lg2_mode; 30 uint8_t baynr_gauss_en; 31 uint8_t baynr_log_bypass; 32 uint8_t baynr_en; 33 34 // ISP_BAYNR_3A00_DGAIN0-2 35 uint16_t baynr_dgain[3]; 36 37 // ISP_BAYNR_3A00_PIXDIFF 38 uint16_t baynr_pix_diff; 39 40 // ISP_BAYNR_3A00_THLD 41 uint16_t baynr_diff_thld; 42 uint16_t baynr_softthld; 43 44 // ISP_BAYNR_3A00_W1_STRENG 45 uint16_t bltflt_streng; 46 uint16_t baynr_reg_w1; 47 48 // ISP_BAYNR_3A00_SIGMAX0-15 49 uint16_t sigma_x[16]; 50 51 // ISP_BAYNR_3A00_SIGMAY0-15 52 uint16_t sigma_y[16]; 53 54 // ISP_BAYNR_3A00_WRIT_D 55 uint16_t weit_d[3]; 56 57 uint16_t lg2_lgoff; 58 uint16_t lg2_off; 59 60 uint32_t dat_max; 61 } RK_Bayer2dnr_Fix_V2_t; 62 63 64 65 #endif 66 67 68 69