1;
2; Copyright (c) 2020 Huawei Device Co., Ltd.
3; Licensed under the Apache License, Version 2.0 (the "License");
4; you may not use this file except in compliance with the License.
5; You may obtain a copy of the License at
6;
7;     http://www.apache.org/licenses/LICENSE-2.0
8;
9; Unless required by applicable law or agreed to in writing, software
10; distributed under the License is distributed on an "AS IS" BASIS,
11; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12; See the License for the specific language governing permissions and
13; limitations under the License.
14;
15; ============= VideoMode Specified Configure =============
16[common]
17mediamode          = "HI_PARAM_MEDIAMODE_1080P_30"
18sensorcnt           = "1"
19[common.vcap0.pipe.0]
20vcappipe_hdl       = "0"
21vivpssmode         = "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
22[common.vcap0.pipe.1]
23vcappipe_hdl       = "3"
24vivpssmode         = "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
25
26; ============= VB Configure =============
27[vb]
28max_poolcnt        = 2
29[vb.pool.0]
30image_width        = "1920"
31image_height       = "1080"
32pix_format         = "26"
33data_bitwidth      = "0"
34compress_mode      = "0"
35default_align      = "8"
36blk_count          = "3"
37[vb.pool.1]
38image_width        = "1280"
39image_height       = "720"
40pix_format         = "26"
41data_bitwidth      = "0"
42compress_mode      = "0"
43default_align      = "8"
44blk_count          = "3"
45[vb.pool.2]
46image_width        = "1280"
47image_height       = "720"
48pix_format         = "26"
49data_bitwidth      = "0"
50compress_mode      = "1"
51default_align      = "8"
52blk_count          = "3"
53; ============= Vcapture 0 Configure =============
54
55[vcap0.dev]
56sensor_type        = "0"; 0 WIDE_ANGLE  1 FISH_EYE 2 TRUE_DEAPTH
57sensor_lib         = "/usr/lib/libsns_f23.so"
58sensor_obj         = "stSnsSoiF23Obj"
59sensor_width       = "1920";stSize.u32Width
60sensor_height      = "1080";stSize.u32Width
61bas_width          = "1920";VI_BAS_SCALE_ATTR_S.stBasSize.u32Width
62bas_height         = "1080";VI_BAS_SCALE_ATTR_S.stBasSize.u32Height
63wdr_mode           = "0"; 0:none, 1:build in,2:qudra line, 3:2_1 line, 4:2_1 frame ;VI_WDR_ATTR_S.enWDRMode
64pipecnt            = "1"
65
66[vcap0.mipi]
67enable             = "1";
68combo_dev_t        = "0";combo_dev_t
69input_mode_t       = "0";0:INPUT_MODE_MIPI
70mipi_data_rate_t   = "0";0:MIPI_DATA_RATE_X1
71img_rect_x         = "0"
72img_rect_y         = "0"
73img_rect_w         = "1920"
74img_rect_h         = "1080"
75data_type_t        = "1"    ;2:DATA_TYPE_RAW_12BIT
76mipi_wdr_mode_t    = "0"
77lane_id_num        = "2"
78lane_id_0          = "0"
79lane_id_1          = "2"
80lane_id_2          = "-1"
81lane_id_3          = "-1"
82
83[vcap0.isp_pub]
84enable             = "1";
85stWndRect_x        = "0";
86stWndRect_y        = "0";
87stWndRect_w        = "1920";
88stWndRect_h        = "1080";
89outImageSize_x     = "1920";
90outImageSize_y     = "1080";
91frameRate          = "30"
92enBayer            = "3";BAYER_BGGR
93wdrMode            = "0";WDR_MODE_NONE
94snsMode            = "0"
95busId              = "0";
96
97[vcap0.pipe.0]
98chncnt             = "1"
99enPipeBypassMode   = "0";
100bYuvSkip           = "0";
101bIspBypass         = "0";
102u32MaxW            = "1920";
103u32MaxH            = "1080";
104enPixFmt           = "19";
105enCompressMode     = "0";
106enBitWidth         = "2";
107bNrEn              = "1";
108enNrRefSource      = "0";
109bSharpenEn         = "1";
110src_framerate      = "30";FRAME_RATE_CTRL_S
111dst_framerate      = "30";FRAME_RATE_CTRL_S
112bDiscardProPic     = "0";
113
114[vcap0.pipe.0.chl.0]
115out_width          = "1920"
116out_height         = "1080"
117enPixelFormat      = "26";
118enDynamicRange     = "0";
119enVideoFormat      = "0";
120enCompressMode     = "0";
121bMirror            = "0"
122bFlip              = "0"
123u32Depth           = "0"
124src_framerate      = "30";FRAME_RATE_CTRL_S
125dst_framerate      = "30";FRAME_RATE_CTRL_S
126;