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