1 /* 2 * sys_static_cfg_head.h 3 * 4 * Copyright (c) 2021 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 __CALIBDBV2_SYS_STATIC_CFG_HEADER_H__ 21 #define __CALIBDBV2_SYS_STATIC_CFG_HEADER_H__ 22 23 #include "rk_aiq_comm.h" 24 25 RKAIQ_BEGIN_DECLARE 26 27 typedef enum DisableAlgoType_e { 28 DISABLE_AE = 0x0, 29 DISABLE_AWB, 30 DISABLE_AF, 31 DISABLE_ABLC, 32 DISABLE_ADPCC, 33 DISABLE_AMERGE, 34 DISABLE_ATMO, 35 DISABLE_ANR, 36 DISABLE_ALSC, 37 DISABLE_AGIC, 38 DISABLE_ADEBAYER, 39 DISABLE_ACCM, 40 DISABLE_AGAMMA, 41 DISABLE_AWDR, 42 DISABLE_ADHAZ, 43 DISABLE_A3DLUT, 44 DISABLE_ALDCH, 45 DISABLE_ACSM, 46 DISABLE_ACP, 47 DISABLE_AIE, 48 DISABLE_ASHARP, 49 DISABLE_AORB, 50 DISABLE_ACGC, 51 DISABLE_ASD, 52 DISABLE_ADRC, 53 DISABLE_ADEGAMMA, 54 55 DISABLE_ARAWNR, 56 DISABLE_AMFNR, 57 DISABLE_AYNR, 58 DISABLE_ACNR, 59 DISABLE_AEIS, 60 DISABLE_AFEC, 61 DISABLE_AMD, 62 DISABLE_AGAIN, 63 DISABLE_ACAC, 64 DISABLE_AFD 65 } DisableAlgoType_t; 66 67 typedef struct CalibDb_AlgoSwitch_s { 68 // M4_BOOL_DESC("enable", "0") 69 bool enable; 70 71 // M4_STRING_DESC("DisableAlgos", M4_SIZE(1,1), M4_RANGE(0, 32), "DISABLE_AF", M4_DYNAMIC(1)) 72 DisableAlgoType_t* disable_algos; 73 int16_t disable_algos_len; 74 } CalibDb_AlgoSwitch_t; 75 76 typedef struct CalibDb_SysStaticCfg_ParaV2_s { 77 // M4_STRUCT_DESC("AlgoSwitch", "normal_ui_style") 78 CalibDb_AlgoSwitch_t algoSwitch; 79 } CalibDb_SysStaticCfg_ParaV2_t; 80 81 RKAIQ_END_DECLARE 82 83 #endif 84