diff --git a/media/BUILD.gn b/media/BUILD.gn index 383623fd09310005f84a2770b6a9b0e5d1f21f14..01f99e1ac2988557b7e3dbc8de795ce0996aca54 100755 --- a/media/BUILD.gn +++ b/media/BUILD.gn @@ -12,18 +12,6 @@ # limitations under the License. import("//build/lite/config/component/lite_component.gni") -copy("camera_config") { - if (board_name == "hi3516dv300" || board_name == "hispark_taurus") { - sources = [ "cameradev_imx335.ini" ] - } else if ((board_name == "hi3518ev300" || board_name == "hispark_aries") && - ohos_build_compiler == "clang") { - sources = [ "cameradev_jxf23.ini" ] - } else { - sources = [ "cameradev_imx307.ini" ] - } - outputs = [ "$root_out_dir/data/cameradev.ini" ] -} - executable("camera_sample") { sources = [ "camera_sample.cpp" ] cflags = [ "-Wall" ] diff --git a/media/cameradev_imx307.ini b/media/cameradev_imx307.ini deleted file mode 100755 index a44a7202c52f8d205bce8cb155c7f2f63f959556..0000000000000000000000000000000000000000 --- a/media/cameradev_imx307.ini +++ /dev/null @@ -1,256 +0,0 @@ -; -; 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" - -[common.vcap.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.vcap.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 Configure ============= - -[vcap.dev] -sensocnt = "1" -sensor_type0 = "6" -sensor_mode = "0" -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 -data_type = "2"; 0:RAW_8BIT, 1:RAW_10BIT, 2:RAW_12BIT, 3: RAW_14BIT, 4:RAW_16BIT, 5:YUV420_8BIT_NORMAL, 6:YUV420_8BIT_LEGACY, 7: YUV422_8BIT, 8:DATA_TYPE_BUTT; -componentmask0 = "4293918720"; 0xFFF00000 ; au32ComponentMask -componentmask1 = "0" ; 0x00000000;au32ComponentMask -pipecnt = "2" - -[vcap.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" - -[vcap.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 = "0";BAYER_RGGB -wdrMode = "0";WDR_MODE_NONE -snsMode = "0";0 - -[vcap.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"; - -[vcap.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 - -[vcap.pipe.1] -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"; - -[vcap.pipe.1.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 -; ============= Vprocessor Configure ============= -[vpss.0] -vportcnt = "2" -max_width = "1920" -max_height = "1080" -src_framerate = "30" -dst_framerate = "30" -pix_format = "26" -[vpss.0.vport.0] -enable = "1" -res_width = "1920" -res_height = "1080" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.vport.1] -enable = "1" -res_width = "1280" -res_height = "720" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.vport.2] -enable = "1" -res_width = "720" -res_height = "576" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.extvport.0] -enable = "0" -res_width = "160" -res_height = "120" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -; ============= Vcoder Configure ============= -[venc] -venccnt ="4" -[venc.0] -res_width = "1920" -res_height = "1080" -bufsize = "1258290"; 1920*1080*3/4 bytes -gop = "30" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "10240"; kbps -h264bitrate = "12288" -stat_time = "2"; second -[venc.1] -res_width = "640" -res_height = "360" -bufsize = "230400"; 640*480*3/4 bytes -gop = "30" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "2048"; kbps -h264bitrate = "2048" -stat_time = "2"; second -[venc.2] -res_width = "1920" -res_height = "1080" -bufsize = "1258290"; -gop = "0" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "0"; kbps -h264bitrate = "0" -stat_time = "2"; second -[venc.3] -res_width = "320" -res_height = "180" -bufsize = "57600"; bytes -gop = "0" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "0"; Kbps -h264bitrate = "0" -stat_time = "2"; second diff --git a/media/cameradev_imx335.ini b/media/cameradev_imx335.ini deleted file mode 100755 index 314cdc4c650876e534b3eb78d8908b69e0b562bc..0000000000000000000000000000000000000000 --- a/media/cameradev_imx335.ini +++ /dev/null @@ -1,272 +0,0 @@ -; -; 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" - -[common.vcap.pipe.0] -vcappipe_hdl = "0" -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 -[common.vcap.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 = 5 -[vb.pool.0] -image_width = "2592" -image_height = "1944" -pix_format = "26" -data_bitwidth = "0" -compress_mode = "0" -default_align = "8" -blk_count = "3" -[vb.pool.1] -image_width = "1920" -image_height = "1080" -pix_format = "19" -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" -[vb.pool.3] -image_width = "1944" -image_height = "2592" -pix_format = "26" -data_bitwidth = "0" -compress_mode = "0" -default_align = "8" -blk_count = "16" -[vb.pool.4] -image_width = "720" -image_height = "480" -pix_format = "26" -data_bitwidth = "0" -compress_mode = "0" -default_align = "8" -blk_count = "3" -; ============= Vcapture Configure ============= - -[vcap.dev] -sensocnt = "1" -sensor_type0 = "12" -sensor_mode = "0" -sensor_width = "2592";stSize.u32Width -sensor_height = "1944";stSize.u32Width -bas_width = "2592";VI_BAS_SCALE_ATTR_S.stBasSize.u32Width -bas_height = "1944";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 -data_type = "2"; 0:RAW_8BIT, 1:RAW_10BIT, 2:RAW_12BIT, 3: RAW_14BIT, 4:RAW_16BIT, 5:YUV420_8BIT_NORMAL, 6:YUV420_8BIT_LEGACY, 7: YUV422_8BIT, 8:DATA_TYPE_BUTT; -componentmask0 = "4293918720"; 0xFFF00000 ; au32ComponentMask -componentmask1 = "0" ; 0x00000000;au32ComponentMask -pipecnt = "2" - -[vcap.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 = "2592" -img_rect_h = "1944" -data_type_t = "1" ;2:DATA_TYPE_RAW_12BIT -mipi_wdr_mode_t = "0" -lane_id_num = "4" -lane_id_0 = "0" -lane_id_1 = "1" -lane_id_2 = "2" -lane_id_3 = "3" - -[vcap.isp_pub] -enable = "1"; -stWndRect_x = "0"; -stWndRect_y = "0"; -stWndRect_w = "2592"; -stWndRect_h = "1944"; -outImageSize_x = "2592"; -outImageSize_y = "1944"; -frameRate = "30" -enBayer = "0";BAYER_RGGB -wdrMode = "0";WDR_MODE_NONE -snsMode = "0";0 - -[vcap.pipe.0] -chncnt = "1" -enPipeBypassMode = "0"; -bYuvSkip = "0"; -bIspBypass = "0"; -u32MaxW = "2592"; -u32MaxH = "1944"; -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"; - -[vcap.pipe.0.chl.0] -out_width = "2592" -out_height = "1944" -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 - -[vcap.pipe.1] -chncnt = "1" -enPipeBypassMode = "0"; -bYuvSkip = "0"; -bIspBypass = "0"; -u32MaxW = "2592"; -u32MaxH = "1944"; -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"; - -[vcap.pipe.1.chl.0] -out_width = "2592" -out_height = "1944" -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 -; ============= Vprocessor Configure ============= -[vpss.0] -vportcnt = "3" -max_width = "2592" -max_height = "1944" -src_framerate = "30" -dst_framerate = "30" -pix_format = "26" -[vpss.0.vport.0] -enable = "1" -res_width = "2592" -res_height = "1944" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.vport.1] -enable = "1" -res_width = "1920" -res_height = "1080" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.vport.2] -enable = "1" -res_width = "720" -res_height = "480" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.extvport.0] -enable = "0" -res_width = "160" -res_height = "120" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -; ============= Vcoder Configure ============= -[venc] -venccnt ="4" -[venc.0] -res_width = "1920" -res_height = "1080" -bufsize = "1258290"; 1920*1080*3/4 bytes -gop = "30" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "10240"; kbps -h264bitrate = "12288" -stat_time = "2"; second -[venc.1] -res_width = "640" -res_height = "360" -bufsize = "230400"; 640*480*3/4 bytes -gop = "30" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "2048"; kbps -h264bitrate = "2048" -stat_time = "2"; second -[venc.2] -res_width = "1920" -res_height = "1080" -bufsize = "1258290"; -gop = "0" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "0"; kbps -h264bitrate = "0" -stat_time = "2"; second -[venc.3] -res_width = "320" -res_height = "180" -bufsize = "57600"; bytes -gop = "0" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "0"; Kbps -h264bitrate = "0" -stat_time = "2"; second diff --git a/media/cameradev_jxf23.ini b/media/cameradev_jxf23.ini deleted file mode 100755 index d86238ad8de9e671c47d850ba469157ffe363c3b..0000000000000000000000000000000000000000 --- a/media/cameradev_jxf23.ini +++ /dev/null @@ -1,256 +0,0 @@ -; -; 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" - -[common.vcap.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.vcap.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 Configure ============= - -[vcap.dev] -sensocnt = "1" -sensor_type0 = "21" -sensor_mode = "0" -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 -data_type = "2"; 0:RAW_8BIT, 1:RAW_10BIT, 2:RAW_12BIT, 3: RAW_14BIT, 4:RAW_16BIT, 5:YUV420_8BIT_NORMAL, 6:YUV420_8BIT_LEGACY, 7: YUV422_8BIT, 8:DATA_TYPE_BUTT; -componentmask0 = "4293918720"; 0xFFF00000 ; au32ComponentMask -componentmask1 = "0" ; 0x00000000;au32ComponentMask -pipecnt = "2" - -[vcap.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" - -[vcap.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";0 - -[vcap.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"; - -[vcap.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 - -[vcap.pipe.1] -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"; - -[vcap.pipe.1.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 -; ============= Vprocessor Configure ============= -[vpss.0] -vportcnt = "2" -max_width = "1920" -max_height = "1080" -src_framerate = "30" -dst_framerate = "30" -pix_format = "26" -[vpss.0.vport.0] -enable = "1" -res_width = "1920" -res_height = "1080" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.vport.1] -enable = "1" -res_width = "1280" -res_height = "720" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.vport.2] -enable = "1" -res_width = "720" -res_height = "576" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -[vpss.0.extvport.0] -enable = "0" -res_width = "160" -res_height = "120" -src_framerate = "30" -dst_framerate = "30" -video_format = "0" -pix_format = "26" -compressMode = "0" -depth = "0" -mirror = "0" -flip = "0" -; ============= Vcoder Configure ============= -[venc] -venccnt ="4" -[venc.0] -res_width = "1920" -res_height = "1080" -bufsize = "1258290"; 1920*1080*3/4 bytes -gop = "30" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "10240"; kbps -h264bitrate = "12288" -stat_time = "2"; second -[venc.1] -res_width = "640" -res_height = "360" -bufsize = "230400"; 640*480*3/4 bytes -gop = "30" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "2048"; kbps -h264bitrate = "2048" -stat_time = "2"; second -[venc.2] -res_width = "1920" -res_height = "1080" -bufsize = "1258290"; -gop = "0" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "0"; kbps -h264bitrate = "0" -stat_time = "2"; second -[venc.3] -res_width = "320" -res_height = "180" -bufsize = "57600"; bytes -gop = "0" -src_framerate = "30" -dst_framerate = "30" -h265bitrate = "0"; Kbps -h264bitrate = "0" -stat_time = "2"; second