; ; Copyright (c) 2020 Huawei Device Co., Ltd. ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. ; ; ============= VideoMode Specified Configure ============= [common] mediamode = "HI_PARAM_MEDIAMODE_1080P_30" sensorcnt = "1" [common.vcap0.pipe.0] vcappipe_hdl = "0" vivpssmode = "3"; 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 [common.vcap0.pipe.1] vcappipe_hdl = "3" vivpssmode = "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 ; ============= VB Configure ============= [vb] max_poolcnt = 2 [vb.pool.0] image_width = "1920" image_height = "1080" pix_format = "26" data_bitwidth = "0" compress_mode = "0" default_align = "8" blk_count = "3" [vb.pool.1] image_width = "1280" image_height = "720" pix_format = "26" data_bitwidth = "0" compress_mode = "0" default_align = "8" blk_count = "3" [vb.pool.2] image_width = "1280" image_height = "720" pix_format = "26" data_bitwidth = "0" compress_mode = "1" default_align = "8" blk_count = "3" ; ============= Vcapture 0 Configure ============= [vcap0.dev] sensor_type = "0"; 0 WIDE_ANGLE 1 FISH_EYE 2 TRUE_DEAPTH sensor_lib = "/usr/lib/libsns_f23.so" sensor_obj = "stSnsSoiF23Obj" sensor_width = "1920";stSize.u32Width sensor_height = "1080";stSize.u32Width bas_width = "1920";VI_BAS_SCALE_ATTR_S.stBasSize.u32Width bas_height = "1080";VI_BAS_SCALE_ATTR_S.stBasSize.u32Height wdr_mode = "0"; 0:none, 1:build in,2:qudra line, 3:2_1 line, 4:2_1 frame ;VI_WDR_ATTR_S.enWDRMode pipecnt = "1" [vcap0.mipi] enable = "1"; combo_dev_t = "0";combo_dev_t input_mode_t = "0";0:INPUT_MODE_MIPI mipi_data_rate_t = "0";0:MIPI_DATA_RATE_X1 img_rect_x = "0" img_rect_y = "0" img_rect_w = "1920" img_rect_h = "1080" data_type_t = "1" ;2:DATA_TYPE_RAW_12BIT mipi_wdr_mode_t = "0" lane_id_num = "2" lane_id_0 = "0" lane_id_1 = "2" lane_id_2 = "-1" lane_id_3 = "-1" [vcap0.isp_pub] enable = "1"; stWndRect_x = "0"; stWndRect_y = "0"; stWndRect_w = "1920"; stWndRect_h = "1080"; outImageSize_x = "1920"; outImageSize_y = "1080"; frameRate = "30" enBayer = "3";BAYER_BGGR wdrMode = "0";WDR_MODE_NONE snsMode = "0" busId = "0"; [vcap0.pipe.0] chncnt = "1" enPipeBypassMode = "0"; bYuvSkip = "0"; bIspBypass = "0"; u32MaxW = "1920"; u32MaxH = "1080"; enPixFmt = "19"; enCompressMode = "0"; enBitWidth = "2"; bNrEn = "1"; enNrRefSource = "0"; bSharpenEn = "1"; src_framerate = "30";FRAME_RATE_CTRL_S dst_framerate = "30";FRAME_RATE_CTRL_S bDiscardProPic = "0"; [vcap0.pipe.0.chl.0] out_width = "1920" out_height = "1080" enPixelFormat = "26"; enDynamicRange = "0"; enVideoFormat = "0"; enCompressMode = "0"; bMirror = "0" bFlip = "0" u32Depth = "0" src_framerate = "30";FRAME_RATE_CTRL_S dst_framerate = "30";FRAME_RATE_CTRL_S ;