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_ABAYERTNR_HW_V23_H_ 21 #define _RK_AIQ_TYPE_ABAYERTNR_HW_V23_H_ 22 #include "rk_aiq_comm.h" 23 24 25 26 27 typedef struct RK_Bayertnr_Fix_V23_s { 28 29 /* BAY3D_CTRL */ 30 uint8_t soft_st; 31 uint8_t soft_mode; 32 uint8_t bay3d_en; 33 uint8_t bypass_en; 34 uint8_t hibypass_en; 35 uint8_t lobypass_en; 36 uint8_t himed_bypass_en; 37 uint8_t higaus_bypass_en; 38 uint8_t hiabs_possel; 39 uint8_t hichnsplit_en; 40 uint8_t lomed_bypass_en; 41 uint8_t logaus5_bypass_en; 42 uint8_t logaus3_bypass_en; 43 uint8_t glbpk_en; 44 uint8_t loswitch_protect; 45 uint8_t bwsaving_en; 46 47 /* BAY3D_KALRATIO */ 48 uint16_t softwgt; 49 uint16_t hidif_th; 50 51 /* BAY3D_GLBPK2 */ 52 uint32_t glbpk2; 53 54 /* BAY3D_CTRL1 */ 55 uint8_t hiwgt_opt_en; 56 uint8_t hichncor_en; 57 uint8_t bwopt_gain_dis; 58 uint8_t lo4x8_en; 59 uint8_t lo4x4_en; 60 uint8_t hisig_ind_sel; 61 uint8_t pksig_ind_sel; 62 uint8_t iirwr_rnd_en; 63 uint8_t curds_high_en; 64 uint8_t higaus3_mode; 65 uint8_t higaus5x5_en; 66 uint8_t wgtmix_opt_en; 67 68 /*isp32 lite*/ 69 uint8_t wgtmm_opt_en; 70 uint8_t wgtmm_sel_en; 71 72 /* BAY3D_WGTLMT */ 73 uint16_t wgtlmt; 74 uint16_t wgtratio; 75 76 /* BAY3D_SIG */ 77 uint16_t sig0_x[16]; 78 uint16_t sig0_y[16]; 79 uint16_t sig1_x[16]; 80 uint16_t sig1_y[16]; 81 uint16_t sig2_y[16]; 82 83 /*isp32 lite*/ 84 uint16_t wgtmin; 85 86 /* BAY3D_HISIGRAT */ 87 uint16_t hisigrat0; 88 uint16_t hisigrat1; 89 /* BAY3D_HISIGOFF */ 90 uint16_t hisigoff0; 91 uint16_t hisigoff1; 92 /* BAY3D_LOSIG */ 93 uint16_t losigoff; 94 uint16_t losigrat; 95 /* BAY3D_SIGPK */ 96 uint16_t rgain_off; 97 uint16_t bgain_off; 98 99 /* BAY3D_SIGGAUS */ 100 uint8_t siggaus0; 101 uint8_t siggaus1; 102 uint8_t siggaus2; 103 uint8_t siggaus3; 104 105 106 107 } RK_Bayertnr_Fix_V23_t; 108 109 110 111 #endif 112 113 114 115