采用多路Camera 功能 app_multi_cam,由于摄像头是具有内置ISP功能,不需要采用TDA4内置VISS功能,如何实现?
Shine:
请参考下面的FAQ看是否有帮助?
e2e.ti.com/…/faq-how-to-run-multi-cam-usecase-for-yuv-sensors
,
Wilber xiao:
不是一个问题,他这个是支持YUV的格式, 我这边是要去除TDA4 VISS模块的处理,摄像头采集的图像不处理。
,
Shine:
去除VISS模块处理了。
When it is enabled, it configures capture node for YUV format and bypasses VISS and AEWB nodes.
,
Wilber xiao:
更新完patch 发现出现异常log VX_ZONE_ERROR,同时LCD无输出
=========================5430.app_multi_cam.rar
WDR mode is supported Expsoure control is supported Gain control is supported Sensor DCC is enabled Sensor width = 2560Sensor height = 720Sensor DCC ID = 143Sensor Supported Features = 0x00000378Sensor Enabled Features = 0x00000158Creating context done!Kernel loading done! 86.257884 s: ISS: Initializing sensor [AR0143-AP0101-MAX96705], doing IM_SENSOR_CMD_PWRON … !!![MCU2_0] 86.257980 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON [MCU2_0] 86.258077 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x3 [MCU2_0] 86.258199 s: init i2c ok [MCU2_0] 86.258244 s: AR0143_PowerOn : chMask = 0x3 [MCU2_0] 86.258276 s: max96722 setting start!!!!!!!!!!!!!!!!!!! 86.499122 s: ISS: Initializing sensor [AR0143-AP0101-MAX96705], doing IM_SENSOR_CMD_CONFIG … !!![MCU2_0] 86.499227 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG [MCU2_0] 86.499277 s: Application requested features = 0x158 [MCU2_0] [MCU2_0] 86.499310 s: Configuring camera # 0 [MCU2_0] 86.499356 s: max96705 config start!!!!!!!!!!!!!!!!!!![MCU2_0] 86.579002 s: max96705 reg07 is 0x84[MCU2_0] 86.588972 s: Configuring camera # 1 [MCU2_0] 86.589042 s: max96705 config start!!!!!!!!!!!!!!!!!!![MCU2_0] 86.669006 s: max96705 reg07 is 0x84 86.679097 s: ISS: Initializing sensor [AR0143-AP0101-MAX96705] … 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 Capture init done!Img Mosaic init done11!Display init done!App Init Done! Graph create done!Adding Capture write node on graph .. Capture write node added! Capture graph done!Img Mosaic graph done!Display graph done!Pipeline params setup done!App Create Graph Done! [MCU2_0] 86.678971 s: IM_SENSOR_CMD_CONFIG returning status = 0 Grapy verify done!App Verify Graph Done! App Send Error Frame Done! 86.792150 s: ISS: Starting sensor [AR0143-AP0101-MAX96705] … !!![MCU1_0] 1126659104.524185 s: REMOTE_SERVICE: ERROR: Unable to find handler for service [com.ti.perf_stats][MCU2_0] 86.792445 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON [MCU2_0] 86.792515 s: IM_SENSOR_CMD_STREAM_ON: channel_mask = 0x3[MCU2_0] 86.792563 s: Starting camera # 0 [MCU2_0] 86.792610 s: Entering IssSensor_Start [MCU2_0] 86.792654 s: max96722 streaming on!!!!!!!!!!![MCU2_0] 86.811970 s: Starting camera # 1 [MCU2_0] 86.812035 s: Entering IssSensor_Start [MCU2_0] 86.812072 s: max96722 streaming on!!!!!!!!!!! 86.832042 s: ISS: Starting sensor [AR0143-AP0101-MAX96705] … !!!
========================= 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] 86.904489 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 86.904568 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 86.937780 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 86.937863 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 86.971095 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 86.971175 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.004379 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.004455 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.037700 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.037780 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.055424 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.055500 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.088708 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.088784 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.122096 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.122170 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.155429 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.155506 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.188755 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.188832 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.222147 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.222226 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.255543 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.288783 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.288859 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.322211 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.322291 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.355525 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.355601 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.388822 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.388900 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.422198 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.422276 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.455598 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.488859 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.488937 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.522273 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.522350 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.555648 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.588900 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.589066 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.622309 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.622385 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.655600 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.655676 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.688933 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.689093 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.722311 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.722391 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.755706 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.789045 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.789125 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.822373 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.822449 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.855663 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.855742 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.889127 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.922426 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.922503 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.955712 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.955787 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 87.989132 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 87.989209 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.022428 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.022505 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.055729 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.055805 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.089200 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.122479 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.122558 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.155790 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.155866 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.189287 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.222514 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.222589 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.255818 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.255898 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.289234 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.289308 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.322604 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.355871 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.355945 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.389269 s: VX_ZONE_ERROR:[tivxKernelImgMosaicMscDrvSubmit:902] Failed to Submit Request[MCU2_0] 88.389346 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1[MCU2_0] 88.422647 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:370] Kernel process function for [com.ti.img_proc.img.mosaic] returned error code: -1
,
Shine:
请问用的是EVM板还是自己的板子?是哪个版本的SDK?
,
Wilber xiao:
自己的板子 采用的是SDK7.0, 已经调试通了单路的YUV422 的demo,采用的app_multi_cam 打入patch出现以上tivxKernelImgMosaicMscDrvSubmit错误
,
Shine:
如果用的是SDK7.1以上的版本,不需要打补丁,在app_single_cam里有YUV capture sources的例程。