18c77b71bSopenharmony_ci; 28c77b71bSopenharmony_ci; Copyright (c) 2020 Huawei Device Co., Ltd. 38c77b71bSopenharmony_ci; Licensed under the Apache License, Version 2.0 (the "License"); 48c77b71bSopenharmony_ci; you may not use this file except in compliance with the License. 58c77b71bSopenharmony_ci; You may obtain a copy of the License at 68c77b71bSopenharmony_ci; 78c77b71bSopenharmony_ci; http://www.apache.org/licenses/LICENSE-2.0 88c77b71bSopenharmony_ci; 98c77b71bSopenharmony_ci; Unless required by applicable law or agreed to in writing, software 108c77b71bSopenharmony_ci; distributed under the License is distributed on an "AS IS" BASIS, 118c77b71bSopenharmony_ci; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 128c77b71bSopenharmony_ci; See the License for the specific language governing permissions and 138c77b71bSopenharmony_ci; limitations under the License. 148c77b71bSopenharmony_ci; 158c77b71bSopenharmony_ci; ============= VideoMode Specified Configure ============= 168c77b71bSopenharmony_ci[common] 178c77b71bSopenharmony_cimediamode = "HI_PARAM_MEDIAMODE_1080P_30" 188c77b71bSopenharmony_cisensorcnt = "1" 198c77b71bSopenharmony_ci[common.vcap0.pipe.0] 208c77b71bSopenharmony_civcappipe_hdl = "0" 218c77b71bSopenharmony_civivpssmode = "2"; 0:vi offline,vpss offline, 1:vi offline,vpss online,2:vi online,vpss offline,3:vi online,vpss online,4:vi parallel,vpss offline,5:vi parallel,vpss parallel,6:butt 228c77b71bSopenharmony_ci[common.vcap0.pipe.1] 238c77b71bSopenharmony_civcappipe_hdl = "3" 248c77b71bSopenharmony_civivpssmode = "0"; 0:vi offline,vpss offline, 1:vi offline,vpss online,2:vi online,vpss offline,3:vi online,vpss online,4:vi parallel,vpss offline,5:vi parallel,vpss parallel,6:butt 258c77b71bSopenharmony_ci 268c77b71bSopenharmony_ci; ============= VB Configure ============= 278c77b71bSopenharmony_ci[vb] 288c77b71bSopenharmony_cimax_poolcnt = 5 298c77b71bSopenharmony_ci[vb.pool.0] 308c77b71bSopenharmony_ciimage_width = "2592" 318c77b71bSopenharmony_ciimage_height = "1944" 328c77b71bSopenharmony_cipix_format = "26" 338c77b71bSopenharmony_cidata_bitwidth = "0" 348c77b71bSopenharmony_cicompress_mode = "0" 358c77b71bSopenharmony_cidefault_align = "8" 368c77b71bSopenharmony_ciblk_count = "3" 378c77b71bSopenharmony_ci[vb.pool.1] 388c77b71bSopenharmony_ciimage_width = "1920" 398c77b71bSopenharmony_ciimage_height = "1080" 408c77b71bSopenharmony_cipix_format = "19" 418c77b71bSopenharmony_cidata_bitwidth = "0" 428c77b71bSopenharmony_cicompress_mode = "0" 438c77b71bSopenharmony_cidefault_align = "8" 448c77b71bSopenharmony_ciblk_count = "3" 458c77b71bSopenharmony_ci[vb.pool.2] 468c77b71bSopenharmony_ciimage_width = "1280" 478c77b71bSopenharmony_ciimage_height = "720" 488c77b71bSopenharmony_cipix_format = "26" 498c77b71bSopenharmony_cidata_bitwidth = "0" 508c77b71bSopenharmony_cicompress_mode = "1" 518c77b71bSopenharmony_cidefault_align = "8" 528c77b71bSopenharmony_ciblk_count = "3" 538c77b71bSopenharmony_ci[vb.pool.3] 548c77b71bSopenharmony_ciimage_width = "1944" 558c77b71bSopenharmony_ciimage_height = "2592" 568c77b71bSopenharmony_cipix_format = "26" 578c77b71bSopenharmony_cidata_bitwidth = "0" 588c77b71bSopenharmony_cicompress_mode = "0" 598c77b71bSopenharmony_cidefault_align = "8" 608c77b71bSopenharmony_ciblk_count = "16" 618c77b71bSopenharmony_ci[vb.pool.4] 628c77b71bSopenharmony_ciimage_width = "720" 638c77b71bSopenharmony_ciimage_height = "480" 648c77b71bSopenharmony_cipix_format = "26" 658c77b71bSopenharmony_cidata_bitwidth = "0" 668c77b71bSopenharmony_cicompress_mode = "0" 678c77b71bSopenharmony_cidefault_align = "8" 688c77b71bSopenharmony_ciblk_count = "3" 698c77b71bSopenharmony_ci; ============= Vcapture 0 Configure ============= 708c77b71bSopenharmony_ci 718c77b71bSopenharmony_ci[vcap0.dev] 728c77b71bSopenharmony_cisensor_type = "0"; 0 WIDE_ANGLE 1 FISH_EYE 2 TRUE_DEAPTH 738c77b71bSopenharmony_cisensor_lib = "/usr/lib/libsns_imx335.so" 748c77b71bSopenharmony_cisensor_obj = "stSnsImx335Obj" 758c77b71bSopenharmony_cisensor_width = "2592";stSize.u32Width 768c77b71bSopenharmony_cisensor_height = "1944";stSize.u32Width 778c77b71bSopenharmony_cibas_width = "2592";VI_BAS_SCALE_ATTR_S.stBasSize.u32Width 788c77b71bSopenharmony_cibas_height = "1944";VI_BAS_SCALE_ATTR_S.stBasSize.u32Height 798c77b71bSopenharmony_ciwdr_mode = "0"; 0:none, 1:build in,2:qudra line, 3:2_1 line, 4:2_1 frame ;VI_WDR_ATTR_S.enWDRMode 808c77b71bSopenharmony_cipipecnt = "1" 818c77b71bSopenharmony_ci 828c77b71bSopenharmony_ci[vcap0.mipi] 838c77b71bSopenharmony_cienable = "1"; 848c77b71bSopenharmony_cicombo_dev_t = "0";combo_dev_t 858c77b71bSopenharmony_ciinput_mode_t = "0";0:INPUT_MODE_MIPI 868c77b71bSopenharmony_cimipi_data_rate_t = "0";0:MIPI_DATA_RATE_X1 878c77b71bSopenharmony_ciimg_rect_x = "0" 888c77b71bSopenharmony_ciimg_rect_y = "0" 898c77b71bSopenharmony_ciimg_rect_w = "2592" 908c77b71bSopenharmony_ciimg_rect_h = "1944" 918c77b71bSopenharmony_cidata_type_t = "2" ;2:DATA_TYPE_RAW_12BIT 928c77b71bSopenharmony_cimipi_wdr_mode_t = "0" 938c77b71bSopenharmony_cilane_id_num = "4" 948c77b71bSopenharmony_cilane_id_0 = "0" 958c77b71bSopenharmony_cilane_id_1 = "1" 968c77b71bSopenharmony_cilane_id_2 = "2" 978c77b71bSopenharmony_cilane_id_3 = "3" 988c77b71bSopenharmony_ci 998c77b71bSopenharmony_ci[vcap0.isp_pub] 1008c77b71bSopenharmony_cienable = "1"; 1018c77b71bSopenharmony_cistWndRect_x = "0"; 1028c77b71bSopenharmony_cistWndRect_y = "0"; 1038c77b71bSopenharmony_cistWndRect_w = "2592"; 1048c77b71bSopenharmony_cistWndRect_h = "1944"; 1058c77b71bSopenharmony_cioutImageSize_x = "2592"; 1068c77b71bSopenharmony_cioutImageSize_y = "1944"; 1078c77b71bSopenharmony_ciframeRate = "30" 1088c77b71bSopenharmony_cienBayer = "0";BAYER_RGGB 1098c77b71bSopenharmony_ciwdrMode = "0";WDR_MODE_NONE 1108c77b71bSopenharmony_cisnsMode = "0" 1118c77b71bSopenharmony_cibusId = "0"; 1128c77b71bSopenharmony_ci 1138c77b71bSopenharmony_ci[vcap0.pipe.0] 1148c77b71bSopenharmony_cichncnt = "1" 1158c77b71bSopenharmony_cienPipeBypassMode = "0"; 1168c77b71bSopenharmony_cibYuvSkip = "0"; 1178c77b71bSopenharmony_cibIspBypass = "0"; 1188c77b71bSopenharmony_ciu32MaxW = "2592"; 1198c77b71bSopenharmony_ciu32MaxH = "1944"; 1208c77b71bSopenharmony_cienPixFmt = "19"; 1218c77b71bSopenharmony_cienCompressMode = "0"; 1228c77b71bSopenharmony_cienBitWidth = "2"; 1238c77b71bSopenharmony_cibNrEn = "1"; 1248c77b71bSopenharmony_cienNrRefSource = "0"; 1258c77b71bSopenharmony_cibSharpenEn = "1"; 1268c77b71bSopenharmony_cisrc_framerate = "30";FRAME_RATE_CTRL_S 1278c77b71bSopenharmony_cidst_framerate = "30";FRAME_RATE_CTRL_S 1288c77b71bSopenharmony_cibDiscardProPic = "0"; 1298c77b71bSopenharmony_ci 1308c77b71bSopenharmony_ci[vcap0.pipe.0.chl.0] 1318c77b71bSopenharmony_ciout_width = "2592" 1328c77b71bSopenharmony_ciout_height = "1944" 1338c77b71bSopenharmony_cienPixelFormat = "26"; 1348c77b71bSopenharmony_cienDynamicRange = "0"; 1358c77b71bSopenharmony_cienVideoFormat = "0"; 1368c77b71bSopenharmony_cienCompressMode = "0"; 1378c77b71bSopenharmony_cibMirror = "0" 1388c77b71bSopenharmony_cibFlip = "0" 1398c77b71bSopenharmony_ciu32Depth = "0" 1408c77b71bSopenharmony_cisrc_framerate = "30";FRAME_RATE_CTRL_S 1418c77b71bSopenharmony_cidst_framerate = "30";FRAME_RATE_CTRL_S 1428c77b71bSopenharmony_ci;