Lines Matching refs:u32Window

946 static MS_BOOL _DMS_VDEC_Frame_AddRef(MS_U32 u32Window, MS_U16 u16BufID)  in _DMS_VDEC_Frame_AddRef()  argument
953 …VdecStreamId.u32Version = pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32Window][u16BufID].u32VDECStrea… in _DMS_VDEC_Frame_AddRef()
954 … VdecStreamId.u32Id = pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32Window][u16BufID].u32VDECStreamID; in _DMS_VDEC_Frame_AddRef()
955 VdecDispFrm.u32Idx = pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32Window][u16BufID].u32FrameIndex; in _DMS_VDEC_Frame_AddRef()
956 VdecDispFrm.u32PriData = pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32Window][u16BufID].u32PriData; in _DMS_VDEC_Frame_AddRef()
963 …%d, BufID %d, MApi_VDEC_EX_DisplayFrame return %d\n",__FUNCTION__, (int)u32Window,u16BufID, eResul… in _DMS_VDEC_Frame_AddRef()
967 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Window][u16BufID]++; in _DMS_VDEC_Frame_AddRef()
972 static MS_BOOL _DMS_VDEC_Frame_Release(MS_U32 u32Window, MS_U16 u16BufID) in _DMS_VDEC_Frame_Release() argument
977 if(pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Window][u16BufID] == 0) in _DMS_VDEC_Frame_Release()
979 …TF("[%s] window %d, BufID %d, Release an invalid buffer\n",__FUNCTION__, (int)u32Window, u16BufID); in _DMS_VDEC_Frame_Release()
982 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Window][u16BufID]--; in _DMS_VDEC_Frame_Release()
983 if(pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Window][u16BufID] == 0) in _DMS_VDEC_Frame_Release()
987 …VdecStreamId.u32Version = pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32Window][u16BufID].u32VDECStrea… in _DMS_VDEC_Frame_Release()
988 … VdecStreamId.u32Id = pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32Window][u16BufID].u32VDECStreamID; in _DMS_VDEC_Frame_Release()
989 … VdecDispFrm.u32Idx = pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32Window][u16BufID].u32FrameIndex; in _DMS_VDEC_Frame_Release()
990 … VdecDispFrm.u32PriData = pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32Window][u16BufID].u32PriData; in _DMS_VDEC_Frame_Release()
998 …%d, BufID %d, MApi_VDEC_EX_ReleaseFrame return %d\n",__FUNCTION__, (int)u32Window, u16BufID, eResu… in _DMS_VDEC_Frame_Release()
1275 static MS_BOOL _MDrv_DMS_SetWin(void* pInstance, MS_U32 u32Window, ST_DMS_SETWIN_INFO *pstDMS_SetWi… in _MDrv_DMS_SetWin() argument
1288 if (u32Window >= DMS_MAX_WINDOW_NUM) { in _MDrv_DMS_SetWin()
1293 memcpy(&pDMSResPri->stDrvDMS.stOutputWinInfo[u32Window].stCropWin , in _MDrv_DMS_SetWin()
1295 memcpy(&pDMSResPri->stDrvDMS.stOutputWinInfo[u32Window].stOutputWin, in _MDrv_DMS_SetWin()
1297 memcpy(&pDMSResPri->stDrvDMS.stDisplayWin[u32Window], in _MDrv_DMS_SetWin()
1325 if (pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32x < 0) { in _MDrv_DMS_SetWin()
1326 pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32x = 0; in _MDrv_DMS_SetWin()
1328 pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32x = in _MDrv_DMS_SetWin()
1329 ((pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32x * u32PanelWidth) in _MDrv_DMS_SetWin()
1333 pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32width = in _MDrv_DMS_SetWin()
1334 ((pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32width * u32PanelWidth) in _MDrv_DMS_SetWin()
1336 if (pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32width > u32PanelWidth) { in _MDrv_DMS_SetWin()
1337 pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32width = u32PanelWidth; in _MDrv_DMS_SetWin()
1340 if (pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32y < 0) { in _MDrv_DMS_SetWin()
1341 pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32y = 0; in _MDrv_DMS_SetWin()
1343 pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32y = in _MDrv_DMS_SetWin()
1344 ((pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32y * u32PanelHeight) in _MDrv_DMS_SetWin()
1348 pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32height = in _MDrv_DMS_SetWin()
1349 ((pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32height * u32PanelHeight) in _MDrv_DMS_SetWin()
1351 if (pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32height > u32PanelHeight) { in _MDrv_DMS_SetWin()
1352 pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32height = u32PanelHeight; in _MDrv_DMS_SetWin()
1356 (int)pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32x, in _MDrv_DMS_SetWin()
1357 (int)pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32y, in _MDrv_DMS_SetWin()
1358 (int)pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32width, in _MDrv_DMS_SetWin()
1359 (int)pDMSResPri->stDrvDMS.stDisplayWin[u32Window].u32height, in _MDrv_DMS_SetWin()
1360 (int)pDMSResPri->stDrvDMS.stOutputWinInfo[u32Window].stCropWin.u32x, in _MDrv_DMS_SetWin()
1361 (int)pDMSResPri->stDrvDMS.stOutputWinInfo[u32Window].stCropWin.u32y, in _MDrv_DMS_SetWin()
1362 (int)pDMSResPri->stDrvDMS.stOutputWinInfo[u32Window].stCropWin.u32width, in _MDrv_DMS_SetWin()
1363 (int)pDMSResPri->stDrvDMS.stOutputWinInfo[u32Window].stCropWin.u32height); in _MDrv_DMS_SetWin()
1366 pDMSResPri->stDrvDMS.bWindowInfoReady[u32Window] = TRUE; in _MDrv_DMS_SetWin()
1368 pDMSResPri->stDrvDMS.bWinChanged[u32Window] = TRUE; in _MDrv_DMS_SetWin()
1373 static MS_BOOL _MDrv_DMS_Final(void* pInstance, MS_U32 u32Window) in _MDrv_DMS_Final() argument
1379 if (u32Window >= DMS_MAX_WINDOW_NUM) { in _MDrv_DMS_Final()
1382 pDMSResPri->stDrvDMS.bWindowInfoReady[u32Window] = FALSE; in _MDrv_DMS_Final()
1383 pDMSResPri->stDrvDMS.bWinUsed[u32Window] = FALSE; in _MDrv_DMS_Final()
1385 memset(&gDMSCtrl[u32Window], 0, sizeof(DMS_DRV_CTRL)); in _MDrv_DMS_Final()
1387 if (u32Window) in _MDrv_DMS_Final()
1391 MsOS_DisableInterrupt(u32Window ? E_INT_IRQ_DCSUB : E_INT_IRQ_DC); in _MDrv_DMS_Final()
1392 MsOS_DetachInterrupt(u32Window ? E_INT_IRQ_DCSUB : E_INT_IRQ_DC); in _MDrv_DMS_Final()