请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TDA4VM 工具与软件:
您好!
我想保存图像。 在 cfg 文件中、当我设置 en-out_img_write=1时、 显示器上的图像会严重卡住、并且有许多丢弃的帧。
当我设置 en_out_LDC_WRITE=1时、图像完全卡住、不再更改、并且选项 x、s、p 不起作用;
但是、当我将它们全部设置为0时、应用程序运行正常。
您是否遇到过这种情况?
以下是 en_out_LDC_write = 1时的日志
SDK : 08_06,传感器输出 YUV422
root@j7-evm:/opt/vision_apps# vi app_multi_cam.cfg root@j7-evm:/opt/vision_apps# ./run_app_multi_cam.sh APP: Init ... !!! MEM: Init ... !!! MEM: Initialized DMA HEAP (fd=4) !!! MEM: Init ... Done !!! IPC: Init ... !!! IPC: Init ... Done !!! REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! 552.792165 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 552.792239 s: VX_ZONE_INIT:Enabled 552.792246 s: VX_ZONE_ERROR:Enabled 552.792252 s: VX_ZONE_WARNING:Enabled 552.792909 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! 552.794141 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!! 552.794378 s: ISS: Enumerating sensors ... !!! 553.194355 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3 553.194387 s: ISS: Enumerating sensors ... found 1 : SG2-IMX390C-5200-FPDLINK 553.194409 s: ISS: Enumerating sensors ... found 2 : AR0233-UB953_MARS 553.194414 s: ISS: Enumerating sensors ... found 3 : AR0820-UB953_LI 553.194420 s: ISS: Enumerating sensors ... found 4 : UB9xxx_RAW12_TESTPATTERN 553.194425 s: ISS: Enumerating sensors ... found 5 : UB96x_UYVY_TESTPATTERN 553.194429 s: ISS: Enumerating sensors ... found 6 : GW_AR0233_UYVY 7 sensor(s) found Supported sensor list: a : IMX390-UB953_D3 b : SG2-IMX390C-5200-FPDLINK c : AR0233-UB953_MARS d : AR0820-UB953_LI e : UB9xxx_RAW12_TESTPATTERN f : UB96x_UYVY_TESTPATTERN g : GW_AR0233_UYVY Select a sensor above or press '0' to autodetect the sensor b Sensor selected : SG2-IMX390C-5200-FPDLINK Querying SG2-IMX390C-5200-FPDLINK 555.624821 s: ISS: Querying sensor [SG2-IMX390C-5200-FPDLINK] ... !!! 555.625204 s: ISS: Querying sensor [SG2-IMX390C-5200-FPDLINK] ... Done !!! LDC Selection Yes(1)/No(0) 1 Max number of cameras supported by sensor SG2-IMX390C-5200-FPDLINK = 4 Please enter number of cameras to be enabled 4 WDR mode is not supported. Defaulting to linear Sensor DCC is enabled Sensor width = 1920 Sensor height = 1080 Sensor DCC ID = 6100 Sensor Supported Features = 0x00000100 Sensor Enabled Features = 0x00000120 YUV Input selected. VISS, AEWB and Mosaic nodes will be bypassed. Creating context done! Kernel loading done! 558.212615 s: ISS: Initializing sensor [SG2-IMX390C-5200-FPDLINK], doing IM_SENSOR_CMD_PWRON ... !!! 558.213011 s: ISS: Initializing sensor [SG2-IMX390C-5200-FPDLINK], doing IM_SENSOR_CMD_CONFIG ... !!! [MCU2_0] 558.856963 s: ===ub953_cfgScript chId=0 i2cAddrSer=74 [MCU2_0] 559.349967 s: ===ub953_cfgScript chId=1 i2cAddrSer=76 [MCU2_0] 559.842962 s: ===ub953_cfgScript chId=2 i2cAddrSer=78 [MCU2_0] 560.335962 s: ===ub953_cfgScript chId=3 i2cAddrSer=7a 560.697182 s: ISS: Initializing sensor [SG2-IMX390C-5200-FPDLINK] ... Done !!! Sensor init done! captureObj->params.numDataLanes = 4 captureObj->params.dataLanesMap[0] = 1 captureObj->params.dataLanesMap[1] = 2 captureObj->params.dataLanesMap[2] = 3 captureObj->params.dataLanesMap[3] = 4 LDC init done! Img Mosaic init done! Display init done! App Init Done! Graph create done! Capture graph done! dcc->config nonempty LDC graph done! Img Mosaic graph done! Display graph done! Pipeline params setup done! App Create Graph Done! Graph verify done! App Verify Graph Done! App Send Error Frame Done! app_pipeline_params_defaults returned 560.833119 s: ISS: Starting sensor [SG2-IMX390C-5200-FPDLINK] ... !!! 561.473178 s: ISS: Starting sensor [SG2-IMX390C-5200-FPDLINK] ... !!! appStartImageSensor returned with status: 0 ========================= Demo : Camera Demo ========================= s: Save CSIx, VISS and LDC outputs p: Print performance statistics x: Exit Enter Choice: ========================= Demo : Camera Demo ========================= s: Save CSIx, VISS and LDC outputs p: Print performance statistics x: Exit Enter Choice: [MCU2_0] 561.473821 s: VX_ZONE_WARNING:[tivxCaptureSetTimeout:786] CAPTURE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!! x x p