1 /* 2 * moduleinfo_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_MODULE_INFO_HEADER_H__ 21 #define __CALIBDBV2_MODULE_INFO_HEADER_H__ 22 // #define M4_STRUCT_DESC(ALIAS, SIZE, UI_MODULE) 23 // #define M4_NUMBER_DESC(ALIAS, TYPE, SIZE, RANGE, DEFAULT) 24 // #define M4_STRING_DESC(ALIAS, SIZE, RANGE, DEFAULT) 25 // #define M4_ENUM_DESC(ALIAS, ENUM, DEFAULT) 26 27 #include "rk_aiq_comm.h" 28 29 RKAIQ_BEGIN_DECLARE 30 31 typedef struct CalibDb_Sensor_Module_s { 32 // M4_NUMBER_DESC("FNumber", "f32", M4_RANGE(1,100), "1.6", M4_DIGIT(2),M4_HIDE(0)) 33 float FNumber; 34 // M4_NUMBER_DESC("EFL", "f32", M4_RANGE(0,200), "3.5", M4_DIGIT(2),M4_HIDE(0)) 35 float EFL; 36 // M4_NUMBER_DESC("LensT", "f32", M4_RANGE(0,100), "90", M4_DIGIT(2),M4_HIDE(0)) 37 float LensT; 38 // M4_NUMBER_DESC("IRCutT", "f32", M4_RANGE(0,100), "90", M4_DIGIT(2),M4_HIDE(0)) 39 float IRCutT; 40 } CalibDb_Sensor_Module_t; 41 42 typedef struct CalibDb_Module_ParaV2_s { 43 // M4_STRUCT_DESC("SensorModule", "normal_ui_style") 44 CalibDb_Sensor_Module_t sensor_module; 45 } CalibDb_Module_ParaV2_t; 46 47 RKAIQ_END_DECLARE 48 49 #endif 50