1root { 2 module="sample"; 3 mpp_config { 4 vbConfig { 5 maxPoolCnt = 5; 6 pool0 { 7 image_width = 2592; 8 image_height = 1944; 9 pix_format = 19; 10 data_bitwidth = 0; 11 compress_mode = 0; 12 default_align = 8; 13 blk_count = 7; 14 } 15 pool1 { 16 image_width = 2592; 17 image_height = 1944; 18 pix_format = 26; 19 data_bitwidth = 0; 20 compress_mode = 0; 21 default_align = 8; 22 blk_count = 7; 23 } 24 pool2 { 25 image_width = 1920; 26 image_height = 1080; 27 pix_format = 26; 28 data_bitwidth = 0; 29 compress_mode = 0; 30 default_align = 8; 31 blk_count = 7; 32 } 33 pool3 { 34 image_width = 1280; 35 image_height = 960; 36 pix_format = 26; 37 data_bitwidth = 0; 38 compress_mode = 0; 39 default_align = 8; 40 blk_count = 7; 41 } 42 pool4 { 43 image_width = 640; 44 image_height = 480; 45 pix_format = 26; 46 data_bitwidth = 0; 47 compress_mode = 0; 48 default_align = 8; 49 blk_count = 7; 50 } 51 } 52 vcapDev { 53 sensocnt = 1; 54 sensor_type0 = 12; 55 sensor_mode = 0; 56 sensor_width = 2592; 57 sensor_height = 1944; 58 bas_width = 2592; 59 bas_height = 1944; 60 wdr_mode = 0; 61 data_type = 2; 62 componentmask0 = 4293918720; 63 componentmask1 = 0; 64 } 65 vcapMipi { 66 enable = 1; 67 combo_dev_t = 0; 68 input_mode_t = 0; 69 mipi_data_rate_t = 0; 70 img_rect_x = 0; 71 img_rect_y = 0; 72 img_rect_w = 2592; 73 img_rect_h = 1944; 74 data_type_t = 1; 75 mipi_wdr_mode_t = 0; 76 lane_id_num = 4; 77 lane_id_0 = 0; 78 lane_id_1 = 1; 79 lane_id_2 = 2; 80 lane_id_3 = 3; 81 } 82 vcapIspPub { 83 enable = 1; 84 stWndRect_x = 0; 85 stWndRect_y = 0; 86 stWndRect_w = 2592; 87 stWndRect_h = 1944; 88 outImageSize_x = 2592; 89 outImageSize_y = 1944; 90 frameRate = 30; 91 enBayer = 0; 92 wdrMode = 0; 93 snsMode = 0; 94 } 95 vcapPipe { 96 pipecnt = 2; 97 pipe0 { 98 chncnt = 1; 99 vivpssmode = 0; 100 enPipeBypassMode = 0; 101 bYuvSkip = 0; 102 bIspBypass = 0; 103 u32MaxW = 2592; 104 u32MaxH = 1944; 105 enPixFmt = 19; 106 enCompressMode = 0; 107 enBitWidth = 2; 108 bNrEn = 1; 109 enNrRefSource = 0; 110 bSharpenEn = 1; 111 src_framerate = 30; 112 dst_framerate = 30; 113 bDiscardProPic = 0; 114 chl0 { 115 out_width = 2592; 116 out_height = 1944; 117 enPixelFormat = 26; 118 enDynamicRange = 0; 119 enVideoFormat = 0; 120 enCompressMode = 0; 121 bMirror = 0; 122 bFlip = 0; 123 u32Depth = 0; 124 src_framerate = 30; 125 dst_framerate = 30; 126 } 127 } 128 pipe1 { 129 chncnt = 1; 130 vivpssmode = 0; 131 enPipeBypassMode = 0; 132 bYuvSkip = 0; 133 bIspBypass = 0; 134 u32MaxW = 2592; 135 u32MaxH = 1944; 136 enPixFmt = 19; 137 enCompressMode = 0; 138 enBitWidth = 2; 139 bNrEn = 1; 140 enNrRefSource = 0; 141 bSharpenEn = 1; 142 src_framerate = 30; 143 dst_framerate = 30; 144 bDiscardProPic = 0; 145 chl0 { 146 out_width = 2592; 147 out_height = 1944; 148 enPixelFormat = 26; 149 enDynamicRange = 0; 150 enVideoFormat = 0; 151 enCompressMode = 0; 152 bMirror = 0; 153 bFlip = 0; 154 u32Depth = 0; 155 src_framerate = 30; 156 dst_framerate = 30; 157 } 158 } 159 } 160 vpss0 { 161 vportcnt = 3; 162 max_width = 2592; 163 max_height = 1944; 164 src_framerate = 30; 165 dst_framerate = 30; 166 pix_format = 26; 167 vport0 { 168 enable = 1; 169 res_width = 2592; 170 res_height = 1944; 171 src_framerate = 30; 172 dst_framerate = 30; 173 video_format = 0; 174 pix_format = 26; 175 compressMode = 0; 176 depth = 0; 177 mirror = 0; 178 flip = 0; 179 } 180 vport1 { 181 enable = 1; 182 res_width = 1280; 183 res_height = 960; 184 src_framerate = 30; 185 dst_framerate = 30; 186 video_format = 0; 187 pix_format = 26; 188 compressMode = 0; 189 depth = 0; 190 mirror = 0; 191 flip = 0; 192 } 193 vport2 { 194 enable = 1; 195 res_width = 640; 196 res_height = 480; 197 src_framerate = 30; 198 dst_framerate = 30; 199 video_format = 0; 200 pix_format = 26; 201 compressMode = 0; 202 depth = 0; 203 mirror = 0; 204 flip = 0; 205 } 206 extvport0 { 207 enable = 0; 208 res_width = 160; 209 res_height = 120; 210 src_framerate = 30; 211 dst_framerate = 30; 212 video_format = 0; 213 pix_format = 26; 214 compressMode = 0; 215 depth = 0; 216 mirror = 0; 217 flip = 0; 218 } 219 } 220 venc { 221 venccnt = 4; 222 venc0 { 223 res_width = 1920; 224 res_height = 1080; 225 bufsize = 1258290; 226 gop = 30; 227 src_framerate = 30; 228 dst_framerate = 30; 229 h265bitrate = 10240; 230 h264bitrate = 12288; 231 stat_time = 2; 232 } 233 venc1 { 234 res_width = 640; 235 res_height = 360; 236 bufsize = 230400; 237 gop = 30; 238 src_framerate = 30; 239 dst_framerate = 30; 240 h265bitrate = 2048; 241 h264bitrate = 2048; 242 stat_time = 2; 243 } 244 venc2 { 245 res_width = 1920; 246 res_height = 1080; 247 bufsize = 1258290; 248 gop = 0; 249 src_framerate = 30; 250 dst_framerate = 30; 251 h265bitrate = 0; 252 h264bitrate = 0; 253 stat_time = 2; 254 } 255 venc3 { 256 res_width = 320; 257 res_height = 180; 258 bufsize = 57600; 259 gop = 0; 260 src_framerate = 30; 261 dst_framerate = 30; 262 h265bitrate = 0; 263 h264bitrate = 0; 264 stat_time = 2; 265 } 266 } 267 } 268} 269