1.新p+V连拍时间设置
This commit is contained in:
parent
07dd4e5260
commit
5478299e7b
|
@ -1247,6 +1247,10 @@ static int MovieFast_fdt_get_tmp_buf(FDT_INFO *p_info, UINT32* addr, UINT32* siz
|
||||||
|
|
||||||
static INT32 MovieFast_Mode2_Get_Cont_Shot(UINT32* max_cnt, UINT32* duration)
|
static INT32 MovieFast_Mode2_Get_Cont_Shot(UINT32* max_cnt, UINT32* duration)
|
||||||
{
|
{
|
||||||
|
#if HUNTING_CAMERA_MCU == ENABLE
|
||||||
|
UIMenuStoreInfo *puiPara = sf_ui_para_get();
|
||||||
|
#endif
|
||||||
|
|
||||||
if(max_cnt == NULL || duration == NULL){
|
if(max_cnt == NULL || duration == NULL){
|
||||||
DBG_ERR("max_cnt & max_cnt can't be null!\n");
|
DBG_ERR("max_cnt & max_cnt can't be null!\n");
|
||||||
return E_SYS;
|
return E_SYS;
|
||||||
|
@ -1277,9 +1281,20 @@ static INT32 MovieFast_Mode2_Get_Cont_Shot(UINT32* max_cnt, UINT32* duration)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
*max_cnt = 3;
|
#if HUNTING_CAMERA_MCU == ENABLE
|
||||||
|
if(SF_MULTISHOT_INTEVEL_1S == puiPara->MultiShotIntevel)
|
||||||
*duration = 1000 / *max_cnt;
|
{
|
||||||
|
*duration = 1000;//The interval between consecutive shots of each photo is 1 second
|
||||||
|
}
|
||||||
|
else if(SF_MULTISHOT_INTEVEL_2S == puiPara->MultiShotIntevel) {
|
||||||
|
*duration = 2000;//The interval between consecutive shots of each photo is 2 second
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
*duration = 1000 / *max_cnt;//SF_MULTISHOT_INTEVEL_0S
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
*duration = 1000 / *max_cnt;
|
||||||
|
#endif
|
||||||
|
|
||||||
return E_OK;
|
return E_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user