Merge branch 'Branch_S550_Fast_Emmc' of gitlab.sifar.tech:linux-em-group/s530-ntk into branch_s550_fast_emmc
This commit is contained in:
		
						commit
						7b6e5ea17f
					
				|  | @ -57,6 +57,8 @@ | |||
| static UINT32 g_FileSerialNum = 0; | ||||
| static BOOL g_bAllowRawEnc = TRUE; | ||||
| static UINT32 raw_enc_path = 0; | ||||
| static const UINT32 g_disp_skip_frame = 10; | ||||
| static UINT32 g_disp_skip_frame_cnt = 0; | ||||
| 
 | ||||
| extern DCF_HANDLE System_Get_DCF_Handle(void); | ||||
| extern CHAR System_Get_DCF_Disk_Drive(DCF_HANDLE handle); | ||||
|  | @ -516,6 +518,10 @@ static void MovieExe_DispCB(HD_VIDEO_FRAME *pEthcamSrc) | |||
| 	if(0 != System_GetState(SYS_STATE_SLEEPLEVEL)){ | ||||
| 		goto video_frame_release; | ||||
| 	} | ||||
| 
 | ||||
|     /* skip disp frame */ | ||||
|     if(g_disp_skip_frame_cnt++ < g_disp_skip_frame) | ||||
|         goto video_frame_release; | ||||
| #if (MOVIE_IME_CROP == ENABLE) | ||||
| 	static UINT32 skip_count = 0; | ||||
| 	//static VOS_TICK t1, t2;
 | ||||
|  | @ -1921,7 +1927,7 @@ INT32 MovieExe_OnOpen(VControl *pCtrl, UINT32 paramNum, UINT32 *paramArray) | |||
| 
 | ||||
| 
 | ||||
| 	GOIO_Turn_Onoff_IRCUT(1); | ||||
| 
 | ||||
|     g_disp_skip_frame_cnt = 0; | ||||
| 	Movie_CommPoolInit(); | ||||
| 	gMovie_InitCommonMemFinish=1; | ||||
| 	MovieExe_SetRecInfoByUISetting(); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 xiaojiazhu
						xiaojiazhu