Lines Matching refs:pSHM
1058 …MCU_DISPQ_INFO *pSHM = (MCU_DISPQ_INFO *)MsOS_PA2KSEG1(pDMSResPri->stDrvDMS.phyVsyncbridgeAddr[u32… in _Task_DMS_Mointor() local
1069 pSHM->u8McuDispQWPtr, in _Task_DMS_Mointor()
1070 pSHM->u8McuDispQRPtr); in _Task_DMS_Mointor()
1077 if(pSHM->u8McuDispQRPtr != i && pSHM->McuDispQueue[i].u8Tog_Time == 0) { in _Task_DMS_Mointor()
1081 pSHM->u8McuDispQWPtr, pSHM->u8McuDispQRPtr, i, in _Task_DMS_Mointor()
1082 pSHM->McuDispQueue[i].u16DispCnt); in _Task_DMS_Mointor()
1088 if (pSHM->u8McuDispSwitch in _Task_DMS_Mointor()
1089 && (pSHM->u8McuDispQWPtr == pSHM->u8McuDispQRPtr) in _Task_DMS_Mointor()
1090 && !pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u8Tog_Time in _Task_DMS_Mointor()
1096 … pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u16CropLeft = gDMSCtrl[u32Id].stCurrentCropWin.u32x; in _Task_DMS_Mointor()
1097 … pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u16CropTop = gDMSCtrl[u32Id].stCurrentCropWin.u32y; in _Task_DMS_Mointor()
1098 …pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u16CropRight = pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u… in _Task_DMS_Mointor()
1101 …pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u16CropBottom = pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].… in _Task_DMS_Mointor()
1105 if (pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u8Interlace) { in _Task_DMS_Mointor()
1108 pSHM->u8ToggleMethod = 1; in _Task_DMS_Mointor()
1109 pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u8Tog_Time = u8WRBankMappingNum; in _Task_DMS_Mointor()
1110 pSHM->u8ToggledTime = u8WRBankMappingNum; in _Task_DMS_Mointor()
1113 … pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u8DSIndex = gDMSCtrl[u32Id].ds_curr_index.u8DSIndex; in _Task_DMS_Mointor()
1117 pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u8DSIndex, (int)u32Id); in _Task_DMS_Mointor()
1593 MCU_DISPQ_INFO *pSHM = 0; in MDrv_DMS_Video_Flip() local
1595 pSHM = (MCU_DISPQ_INFO *)MsOS_PA2KSEG1(pstDispFrameFormat->phyVsyncBridgeAddr + in MDrv_DMS_Video_Flip()
1598 pSHM = (MCU_DISPQ_INFO *)MsOS_PA2KSEG1(pstDispFrameFormat->phyVsyncBridgeAddr); in MDrv_DMS_Video_Flip()
1634 if (pSHM) { in MDrv_DMS_Video_Flip()
1636 MS_U8 u8WIndex = pSHM->u8McuDispQWPtr; in MDrv_DMS_Video_Flip()
1667 if (pSHM->u8McuDispSwitch == 0) { in MDrv_DMS_Video_Flip()
1671 memset(pSHM, 0, sizeof(MCU_DISPQ_INFO)); in MDrv_DMS_Video_Flip()
1682 pSHM->u2MirrorMode = gDMSCtrl[u32WindowID].u8MirrorMode; in MDrv_DMS_Video_Flip()
1706 pSHM->McuDispQueue[pSHM->u8McuDispQWPtr].u8Tog_Time); in MDrv_DMS_Video_Flip()
1726 pSHM->McuDispQueue[u8WIndex].u32LumaAddr0 = lumaAddr; in MDrv_DMS_Video_Flip()
1727 pSHM->McuDispQueue[u8WIndex].u32ChromaAddr0 = chromAddr; in MDrv_DMS_Video_Flip()
1731 pSHM->McuDispQueue[u8WIndex].u16Width = (u16Width + 1) & ~1; in MDrv_DMS_Video_Flip()
1732 pSHM->McuDispQueue[u8WIndex].u16Height = u16Height; in MDrv_DMS_Video_Flip()
1734 … pSHM->McuDispQueue[u8WIndex].u16Width = (pstDispFrameFormat->stFrames[0].u32Width + 1) & ~1; in MDrv_DMS_Video_Flip()
1735 pSHM->McuDispQueue[u8WIndex].u16Height = pstDispFrameFormat->stFrames[0].u32Height; in MDrv_DMS_Video_Flip()
1738 … pSHM->McuDispQueue[u8WIndex].u16Pitch = pstDispFrameFormat->stFrames[0].stHWFormat.u32LumaPitch; in MDrv_DMS_Video_Flip()
1740 pSHM->McuDispQueue[u8WIndex].u8Interlace = pstDispFrameFormat->u8Interlace; in MDrv_DMS_Video_Flip()
1756 pSHM->McuDispQueue[u8WIndex].u8FieldCtrl = pstDispFrameFormat->u8FieldCtrl; in MDrv_DMS_Video_Flip()
1759 pSHM->McuDispQueue[u8WIndex].u8ColorFormat = 1; //422 in MDrv_DMS_Video_Flip()
1762 pSHM->McuDispQueue[u8WIndex].u8ColorFormat = 2; //420 10 bits in MDrv_DMS_Video_Flip()
1763 …pSHM->McuDispQueue[u8WIndex].u16Pitch1 = pstDispFrameFormat->stFrames[0].stHWFormat.u32LumaPitch2B… in MDrv_DMS_Video_Flip()
1764 … pSHM->McuDispQueue[u8WIndex].u8RangeMapY = pstDispFrameFormat->stFrames[0].u8LumaBitdepth; in MDrv_DMS_Video_Flip()
1765 … pSHM->McuDispQueue[u8WIndex].u8RangeMapUV = pstDispFrameFormat->stFrames[0].u8ChromaBitdepth; in MDrv_DMS_Video_Flip()
1766 …pSHM->McuDispQueue[u8WIndex].u32LumaAddr1 = pstDispFrameFormat->stFrames[0].stHWFormat.phyLumaAddr… in MDrv_DMS_Video_Flip()
1767 …pSHM->McuDispQueue[u8WIndex].u32ChromaAddr1 = pstDispFrameFormat->stFrames[0].stHWFormat.phyChroma… in MDrv_DMS_Video_Flip()
1769 pSHM->McuDispQueue[u8WIndex].u8ColorFormat = 0; //420 in MDrv_DMS_Video_Flip()
1780 … pSHM->McuDispQueue[u8WIndex].u8RangeMapY = pstDispFrameFormat->stFrames[0].u8LumaBitdepth; in MDrv_DMS_Video_Flip()
1781 … pSHM->McuDispQueue[u8WIndex].u8RangeMapUV = pstDispFrameFormat->stFrames[0].u8ChromaBitdepth; in MDrv_DMS_Video_Flip()
1785 pSHM->McuDispQueue[u8WIndex].u8FrameNum = 2; in MDrv_DMS_Video_Flip()
1788 pSHM->McuDispQueue[u8WIndex].u32LumaAddr0 = lumaAddr2; in MDrv_DMS_Video_Flip()
1789 pSHM->McuDispQueue[u8WIndex].u32ChromaAddr0 = chromAddr2; in MDrv_DMS_Video_Flip()
1790 pSHM->McuDispQueue[u8WIndex].u32LumaAddr1 = lumaAddr; in MDrv_DMS_Video_Flip()
1791 pSHM->McuDispQueue[u8WIndex].u32ChromaAddr1 = chromAddr; in MDrv_DMS_Video_Flip()
1793 pSHM->McuDispQueue[u8WIndex].u32LumaAddr1 = lumaAddr2; in MDrv_DMS_Video_Flip()
1794 pSHM->McuDispQueue[u8WIndex].u32ChromaAddr1 = chromAddr2; in MDrv_DMS_Video_Flip()
1799 pSHM->McuDispQueue[u8WIndex].u8TB_toggle = 0; in MDrv_DMS_Video_Flip()
1800 pSHM->McuDispQueue[u8WIndex].u8Tog_Time = 1; in MDrv_DMS_Video_Flip()
1803 …pSHM->McuDispQueue[u8WIndex].u8TB_toggle = pstDispFrameFormat->u8BottomFieldFirst ? 1 : 0; //0,… in MDrv_DMS_Video_Flip()
1804 pSHM->McuDispQueue[u8WIndex].u8Tog_Time = pstDispFrameFormat->u8ToggleTime; in MDrv_DMS_Video_Flip()
1809 pSHM->McuDispQueue[u8WIndex].u8Tog_Time = 2; in MDrv_DMS_Video_Flip()
1812 pSHM->McuDispQueue[u8WIndex].u8TB_toggle = 0; in MDrv_DMS_Video_Flip()
1813 pSHM->McuDispQueue[u8WIndex].u8Tog_Time = 1; in MDrv_DMS_Video_Flip()
1816 pSHM->McuDispQueue[u8WIndex].u1BottomFieldFirst = pstDispFrameFormat->u8BottomFieldFirst; in MDrv_DMS_Video_Flip()
1819 …_phy_to_miu_offset(pSHM->McuDispQueue[u8WIndex].u2Luma0Miu, phyTemp, pstDispFrameFormat->stFrames[… in MDrv_DMS_Video_Flip()
1820 …_phy_to_miu_offset(pSHM->McuDispQueue[u8WIndex].u2Chroma0Miu, phyTemp, pstDispFrameFormat->stFrame… in MDrv_DMS_Video_Flip()
1821 …_phy_to_miu_offset(pSHM->McuDispQueue[u8WIndex].u2Luma1Miu, phyTemp, pstDispFrameFormat->stFrames[… in MDrv_DMS_Video_Flip()
1822 …_phy_to_miu_offset(pSHM->McuDispQueue[u8WIndex].u2Chroma1Miu, phyTemp, pstDispFrameFormat->stFrame… in MDrv_DMS_Video_Flip()
1825 pSHM->u5FRCMode = gDMSCtrl[u32WindowID].u8FrcMode; in MDrv_DMS_Video_Flip()
1891 if (!pSHM->u8McuDispSwitch in MDrv_DMS_Video_Flip()
1899 !pSHM->u8McuDispSwitch || gDMSCtrl[u32WindowID].u8SizeChange in MDrv_DMS_Video_Flip()
1914 pSHM->McuDispQueue[u8WIndex].u1DSIndex1Valid = 1; in MDrv_DMS_Video_Flip()
1918 pSHM->McuDispQueue[u8WIndex].u8DSIndex = gDMSCtrl[u32WindowID].ds_curr_index.u8DSIndex; in MDrv_DMS_Video_Flip()
1923 pSHM->McuDispQueue[u8WIndex].u16CropLeft = gDMSCtrl[u32WindowID].stCurrentCropWin.u32x; in MDrv_DMS_Video_Flip()
1924 pSHM->McuDispQueue[u8WIndex].u16CropTop = gDMSCtrl[u32WindowID].stCurrentCropWin.u32y; in MDrv_DMS_Video_Flip()
1925 pSHM->McuDispQueue[u8WIndex].u16CropRight = pSHM->McuDispQueue[u8WIndex].u16Width in MDrv_DMS_Video_Flip()
1928 pSHM->McuDispQueue[u8WIndex].u16CropBottom = pSHM->McuDispQueue[u8WIndex].u16Height in MDrv_DMS_Video_Flip()
1933 … if (pSHM->u8McuDispSwitch && ((MsOS_GetSystemTime() - gDMSCtrl[u32WindowID].u32LastTime) > 500)) { in MDrv_DMS_Video_Flip()
1938 pSHM->u8McuDispQWPtr = u8WIndex; in MDrv_DMS_Video_Flip()
1942 if (pSHM->u8McuDispSwitch == 0) { in MDrv_DMS_Video_Flip()
1943 pSHM->u8DispQueNum = MAX_VSYNC_BRIDGE_DISPQ_NUM; in MDrv_DMS_Video_Flip()
1947 pSHM->u8McuDispSwitch = 1; in MDrv_DMS_Video_Flip()