在CamX中,如何确认双摄帧同步是走的HW Frame Sync还是SW Frame Sync?
日志过滤关键词
在多摄场景下抓取Log,可以搜索如下关键字
logcat |grep -iE "SW frame sync|GetUsecaseConfiguration"
示例输出:
03-24 02:29:53.845 7693 8120 I CHIUSECASE: [CORE_CFG ] chimcxmflpolicy.cpp:1121 GetUsecaseConfiguration() Usecase configuration from policy swmaster 1 hwMaster 0 activeCameras 0x3 hwSyncEnabled 0 CRMSyncEnabled 1 FPSSyncEnabled 1 syncType 1 hwSyncMask 0x0 crmSyncMask 0x1 fpsSyncMask 0x1
03-24 02:29:53.934 7693 14118 I CamX : [CONFIG][SENSOR ] camxsensornode.cpp:1045 PostPipelineCreate() SW frame sync is enabled, m_swFrameSyncInterval=4
上面的Log表走的SW Frame Sync。