Lines Matching refs:pDMSResPri
204 #define DMS_GET_RES_PRI DMS_RESOURCE_PRIVATE* pDMSResPri = NULL;\
205 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri))
207 #define RES_DMS pDMSResPri->stDrvDMS
409 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _DMS_Update_DS_Table() local
410 UtopiaResourceGetPrivate(g_pDMSRes, (void**)(&pDMSResPri)); in _DMS_Update_DS_Table()
412 if (pDMSResPri->stDrvDMS.bWindowInfoReady[Overlay_ID]) { in _DMS_Update_DS_Table()
413 DispWin.u32x = pDMSResPri->stDrvDMS.stDisplayWin[Overlay_ID].u32x; in _DMS_Update_DS_Table()
414 DispWin.u32y = pDMSResPri->stDrvDMS.stDisplayWin[Overlay_ID].u32y; in _DMS_Update_DS_Table()
415 DispWin.u32width = pDMSResPri->stDrvDMS.stDisplayWin[Overlay_ID].u32width; in _DMS_Update_DS_Table()
416 DispWin.u32height = pDMSResPri->stDrvDMS.stDisplayWin[Overlay_ID].u32height; in _DMS_Update_DS_Table()
418 CropWin.u32x = pDMSResPri->stDrvDMS.stOutputWinInfo[Overlay_ID].stCropWin.u32x; in _DMS_Update_DS_Table()
419 CropWin.u32y = pDMSResPri->stDrvDMS.stOutputWinInfo[Overlay_ID].stCropWin.u32y; in _DMS_Update_DS_Table()
420 CropWin.u32width = pDMSResPri->stDrvDMS.stOutputWinInfo[Overlay_ID].stCropWin.u32width; in _DMS_Update_DS_Table()
421 CropWin.u32height = pDMSResPri->stDrvDMS.stOutputWinInfo[Overlay_ID].stCropWin.u32height; in _DMS_Update_DS_Table()
424 … memset(&pDMSResPri->stDrvDMS.stOutputWinInfo[Overlay_ID].stCropWin, 0, sizeof(ST_DMS_WINDOW)); in _DMS_Update_DS_Table()
451 pDMSResPri->stDrvDMS.bWinChanged[Overlay_ID] = FALSE; in _DMS_Update_DS_Table()
453 if (!pDMSResPri->stDrvDMS.bWindowInfoReady[Overlay_ID]) { in _DMS_Update_DS_Table()
948 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _DMS_VDEC_Frame_AddRef() local
949 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in _DMS_VDEC_Frame_AddRef()
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()
967 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Window][u16BufID]++; in _DMS_VDEC_Frame_AddRef()
974 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _DMS_VDEC_Frame_Release() local
975 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in _DMS_VDEC_Frame_Release()
977 if(pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Window][u16BufID] == 0) 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()
1054 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _Task_DMS_Mointor() local
1055 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in _Task_DMS_Mointor()
1058 …MCU_DISPQ_INFO *pSHM = (MCU_DISPQ_INFO *)MsOS_PA2KSEG1(pDMSResPri->stDrvDMS.phyVsyncbridgeAddr[u32… in _Task_DMS_Mointor()
1061 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][0], in _Task_DMS_Mointor()
1062 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][1], in _Task_DMS_Mointor()
1063 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][2], in _Task_DMS_Mointor()
1064 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][3], in _Task_DMS_Mointor()
1065 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][4], in _Task_DMS_Mointor()
1066 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][5], in _Task_DMS_Mointor()
1067 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][6], in _Task_DMS_Mointor()
1068 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][7], in _Task_DMS_Mointor()
1075 if (pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32Id][i]) { in _Task_DMS_Mointor()
1091 && pDMSResPri->stDrvDMS.bWinChanged[u32Id]) { in _Task_DMS_Mointor()
1165 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _MDrv_DMS_InvalidateAllQueue() local
1166 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in _MDrv_DMS_InvalidateAllQueue()
1175 pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u8WindowID][u8BufferID].bValid = FALSE; in _MDrv_DMS_InvalidateAllQueue()
1176 …pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u8WindowID][u8BufferID].u32FrameIndex = DMS_INVALID_FRAME_I… in _MDrv_DMS_InvalidateAllQueue()
1183 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _MDrv_DMS_ZOrder_Init() local
1184 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in _MDrv_DMS_ZOrder_Init()
1186 memset(pDMSResPri->stDrvDMS.WindowZOrder, 0, sizeof(MS_U8) * DMS_MAX_WINDOW_NUM); in _MDrv_DMS_ZOrder_Init()
1187 memset(pDMSResPri->stDrvDMS.WindowScore, 0, sizeof(MS_U8) * DMS_MAX_WINDOW_NUM); in _MDrv_DMS_ZOrder_Init()
1191 pDMSResPri->stDrvDMS.WindowZOrder[u8Window] = u8Window; in _MDrv_DMS_ZOrder_Init()
1199 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _MDrv_DMS_Setup_Memory() local
1200 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in _MDrv_DMS_Setup_Memory()
1226 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _MDrv_DMS_Init() local
1227 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in _MDrv_DMS_Init()
1228 if(pDMSResPri->bDrvInit == TRUE) in _MDrv_DMS_Init()
1262 …memset(pDMSResPri->stDrvDMS._stXC_DIPPushInfo, 0x0, sizeof(DMS_VDECFRAME_INFO)*DMS_DIP_QUEUEDEPTH); in _MDrv_DMS_Init()
1270 pDMSResPri->bDrvInit = TRUE; in _MDrv_DMS_Init()
1277 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _MDrv_DMS_SetWin() local
1278 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); 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()
1315 if (pstDMS_SetWin_Info->u32OnOutputLayer && pDMSResPri->stDrvDMS.stOutputLayer.u32width in _MDrv_DMS_SetWin()
1316 && pDMSResPri->stDrvDMS.stOutputLayer.u32height) { in _MDrv_DMS_SetWin()
1323 (int)pDMSResPri->stDrvDMS.stOutputLayer.u32width, in _MDrv_DMS_SetWin()
1324 (int)pDMSResPri->stDrvDMS.stOutputLayer.u32height); 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()
1330 / pDMSResPri->stDrvDMS.stOutputLayer.u32width); 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()
1335 / pDMSResPri->stDrvDMS.stOutputLayer.u32width); 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()
1345 / pDMSResPri->stDrvDMS.stOutputLayer.u32height); 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()
1350 / pDMSResPri->stDrvDMS.stOutputLayer.u32height); 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()
1375 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in _MDrv_DMS_Final() local
1376 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in _MDrv_DMS_Final()
1382 pDMSResPri->stDrvDMS.bWindowInfoReady[u32Window] = FALSE; in _MDrv_DMS_Final()
1383 pDMSResPri->stDrvDMS.bWinUsed[u32Window] = FALSE; in _MDrv_DMS_Final()
1410 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in MDrv_DMS_SetMemoryType() local
1411 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in MDrv_DMS_SetMemoryType()
1420 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in MDrv_DMS_CreateWindow() local
1421 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in MDrv_DMS_CreateWindow()
1431 pDMSResPri->stDrvDMS.bWinUsed[*pu32WindowID] = TRUE; in MDrv_DMS_CreateWindow()
1433 pDMSResPri->stDrvDMS.bWinUsed[*pu32WindowID] = TRUE; in MDrv_DMS_CreateWindow()
1454 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in MDrv_DMS_SetDigitalDecodeSignalInfo() local
1455 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in MDrv_DMS_SetDigitalDecodeSignalInfo()
1478 pDMSResPri->stDrvDMS.bWinUsed[u32WindowID] = TRUE; in MDrv_DMS_SetDigitalDecodeSignalInfo()
1487 pDMSResPri->stDrvDMS.phyVsyncbridgeAddr[u32WindowID] = phyVsyncbridgeAddr; in MDrv_DMS_SetDigitalDecodeSignalInfo()
1488 pDMSResPri->stDrvDMS.phyVsyncbridgeExtAddr[u32WindowID] = phyVsyncbridgeExtAddr; in MDrv_DMS_SetDigitalDecodeSignalInfo()
1494 pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32WindowID][u8BufID] = 0; in MDrv_DMS_SetDigitalDecodeSignalInfo()
1708 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in MDrv_DMS_Video_Flip() local
1709 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in MDrv_DMS_Video_Flip()
1710 …while (pDMSResPri->stDrvDMS._stXC_LocalFrameRefCount[u32WindowID][((u8WIndex + 1) % MAX_VSYNC_BRID… in MDrv_DMS_Video_Flip()
1967 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in MDrv_DMS_Video_Flip() local
1968 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in MDrv_DMS_Video_Flip()
1969 …pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32WindowID][u8WIndex].u32VDECStreamVersion = pstDispFrameF… in MDrv_DMS_Video_Flip()
1970 …pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32WindowID][u8WIndex].u32VDECStreamID = pstDispFrameFormat… in MDrv_DMS_Video_Flip()
1971 …pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32WindowID][u8WIndex].u32FrameIndex = pstDispFrameFormat->… in MDrv_DMS_Video_Flip()
1972 …pDMSResPri->stDrvDMS._stXC_DIPPushInfo[u32WindowID][u8WIndex].u32PriData = pstDispFrameFormat->stF… in MDrv_DMS_Video_Flip()
1973 … pDMSResPri->stDrvDMS.phyVsyncbridgeAddr[u32WindowID] = pstDispFrameFormat->phyVsyncBridgeAddr; in MDrv_DMS_Video_Flip()
1974 …pDMSResPri->stDrvDMS.phyVsyncbridgeExtAddr[u32WindowID] = pstDispFrameFormat->phyVsyncBridgeExtAdd… in MDrv_DMS_Video_Flip()
1991 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in MDrv_DMS_SetZOrder() local
1992 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in MDrv_DMS_SetZOrder()
2001 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in MDrv_DMS_Video_Freeze() local
2002 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in MDrv_DMS_Video_Freeze()
2011 DMS_RESOURCE_PRIVATE* pDMSResPri = NULL; in MDrv_DMS_Video_Mute() local
2012 UtopiaResourceGetPrivate(g_pDMSRes,(void**)(&pDMSResPri)); in MDrv_DMS_Video_Mute()