Lines Matching defs:pNewVidPnPresentPathInfo

1195     D3DKMDT_VIDPN_PRESENT_PATH *pNewVidPnPresentPathInfo;
1196 Status = pVidPnTopologyInterface->pfnCreateNewPathInfo(hVidPnTopology, &pNewVidPnPresentPathInfo);
1203 pNewVidPnPresentPathInfo->VidPnSourceId = VidPnSourceId;
1204 pNewVidPnPresentPathInfo->VidPnTargetId = VidPnTargetId;
1205 pNewVidPnPresentPathInfo->ImportanceOrdinal = enmImportance;
1206 pNewVidPnPresentPathInfo->ContentTransformation.Scaling = D3DKMDT_VPPS_IDENTITY;
1207 memset(&pNewVidPnPresentPathInfo->ContentTransformation.ScalingSupport,
1208 0, sizeof (pNewVidPnPresentPathInfo->ContentTransformation.ScalingSupport));
1209 pNewVidPnPresentPathInfo->ContentTransformation.ScalingSupport.Identity = 1;
1210 pNewVidPnPresentPathInfo->ContentTransformation.ScalingSupport.Centered = 0;
1211 pNewVidPnPresentPathInfo->ContentTransformation.ScalingSupport.Stretched = 0;
1212 pNewVidPnPresentPathInfo->ContentTransformation.Rotation = D3DKMDT_VPPR_IDENTITY;
1213 pNewVidPnPresentPathInfo->ContentTransformation.RotationSupport.Identity = 1;
1214 pNewVidPnPresentPathInfo->ContentTransformation.RotationSupport.Rotate180 = 0;
1215 pNewVidPnPresentPathInfo->ContentTransformation.RotationSupport.Rotate270 = 0;
1216 pNewVidPnPresentPathInfo->ContentTransformation.RotationSupport.Rotate90 = 0;
1217 pNewVidPnPresentPathInfo->VisibleFromActiveTLOffset.cx = 0;
1218 pNewVidPnPresentPathInfo->VisibleFromActiveTLOffset.cy = 0;
1219 pNewVidPnPresentPathInfo->VisibleFromActiveBROffset.cx = 0;
1220 pNewVidPnPresentPathInfo->VisibleFromActiveBROffset.cy = 0;
1221 pNewVidPnPresentPathInfo->VidPnTargetColorBasis = D3DKMDT_CB_SRGB; /* @todo: how does it matters? */
1222 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.FirstChannel = 8;
1223 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.SecondChannel = 8;
1224 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.ThirdChannel = 8;
1225 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.FourthChannel = 0;
1226 pNewVidPnPresentPathInfo->Content = D3DKMDT_VPPC_GRAPHICS;
1227 pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionType = D3DKMDT_VPPMT_UNINITIALIZED;
1228 // pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionType = D3DKMDT_VPPMT_NOPROTECTION;
1229 pNewVidPnPresentPathInfo->CopyProtection.APSTriggerBits = 0;
1230 memset(&pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionSupport, 0, sizeof (pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionSupport));
1231 // pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionSupport.NoProtection = 1;
1232 memset (&pNewVidPnPresentPathInfo->GammaRamp, 0, sizeof (pNewVidPnPresentPathInfo->GammaRamp));
1233 // pNewVidPnPresentPathInfo->GammaRamp.Type = D3DDDI_GAMMARAMP_DEFAULT;
1234 // pNewVidPnPresentPathInfo->GammaRamp.DataSize = 0;
1235 Status = pVidPnTopologyInterface->pfnAddPath(hVidPnTopology, pNewVidPnPresentPathInfo);
1239 NTSTATUS tmpStatus = pVidPnTopologyInterface->pfnReleasePathInfo(hVidPnTopology, pNewVidPnPresentPathInfo);
1497 static BOOLEAN vboxVidPnIsPathSupported(PVBOXMP_DEVEXT pDevExt, const D3DKMDT_VIDPN_PRESENT_PATH *pNewVidPnPresentPathInfo)
1499 if (!pDevExt->fComplexTopologiesEnabled && pNewVidPnPresentPathInfo->VidPnSourceId != pNewVidPnPresentPathInfo->VidPnTargetId)
1501 LOG(("unsupported source(%d)->target(%d) pair", pNewVidPnPresentPathInfo->VidPnSourceId, pNewVidPnPresentPathInfo->VidPnTargetId));
1507 pNewVidPnPresentPathInfo->ImportanceOrdinal
1510 if (pNewVidPnPresentPathInfo->ContentTransformation.Scaling != D3DKMDT_VPPS_UNPINNED
1511 && pNewVidPnPresentPathInfo->ContentTransformation.Scaling != D3DKMDT_VPPS_IDENTITY
1512 && pNewVidPnPresentPathInfo->ContentTransformation.Scaling != D3DKMDT_VPPS_NOTSPECIFIED)
1514 WARN(("unsupported Scaling (%d)", pNewVidPnPresentPathInfo->ContentTransformation.Scaling));
1518 if ( !pNewVidPnPresentPathInfo->ContentTransformation.ScalingSupport.Identity
1519 || pNewVidPnPresentPathInfo->ContentTransformation.ScalingSupport.Centered
1520 || pNewVidPnPresentPathInfo->ContentTransformation.ScalingSupport.Stretched)
1526 if (pNewVidPnPresentPathInfo->ContentTransformation.Rotation != D3DKMDT_VPPR_UNPINNED
1527 && pNewVidPnPresentPathInfo->ContentTransformation.Rotation != D3DKMDT_VPPR_IDENTITY
1528 && pNewVidPnPresentPathInfo->ContentTransformation.Rotation != D3DKMDT_VPPR_NOTSPECIFIED)
1530 WARN(("unsupported rotation (%d)", pNewVidPnPresentPathInfo->ContentTransformation.Rotation));
1534 if ( !pNewVidPnPresentPathInfo->ContentTransformation.RotationSupport.Identity
1535 || pNewVidPnPresentPathInfo->ContentTransformation.RotationSupport.Rotate90
1536 || pNewVidPnPresentPathInfo->ContentTransformation.RotationSupport.Rotate180
1537 || pNewVidPnPresentPathInfo->ContentTransformation.RotationSupport.Rotate270)
1543 if (pNewVidPnPresentPathInfo->VisibleFromActiveTLOffset.cx
1544 || pNewVidPnPresentPathInfo->VisibleFromActiveTLOffset.cy)
1547 pNewVidPnPresentPathInfo->VisibleFromActiveTLOffset.cx,
1548 pNewVidPnPresentPathInfo->VisibleFromActiveTLOffset.cy));
1552 if (pNewVidPnPresentPathInfo->VisibleFromActiveBROffset.cx
1553 || pNewVidPnPresentPathInfo->VisibleFromActiveBROffset.cy)
1556 pNewVidPnPresentPathInfo->VisibleFromActiveBROffset.cx,
1557 pNewVidPnPresentPathInfo->VisibleFromActiveBROffset.cy));
1561 if (pNewVidPnPresentPathInfo->VidPnTargetColorBasis != D3DKMDT_CB_SRGB
1562 && pNewVidPnPresentPathInfo->VidPnTargetColorBasis != D3DKMDT_CB_UNINITIALIZED)
1564 WARN(("unsupported VidPnTargetColorBasis (%d)", pNewVidPnPresentPathInfo->VidPnTargetColorBasis));
1569 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.FirstChannel;
1570 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.SecondChannel;
1571 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.ThirdChannel;
1574 if (pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.FourthChannel)
1576 WARN(("Non-zero FourthChannel (%d)", pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.FourthChannel));
1581 pNewVidPnPresentPathInfo->Content
1584 if (pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionType != D3DKMDT_VPPMT_NOPROTECTION
1585 && pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionType != D3DKMDT_VPPMT_UNINITIALIZED)
1587 WARN(("Copy protection not supported CopyProtectionType(%d)", pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionType));
1591 if (pNewVidPnPresentPathInfo->CopyProtection.APSTriggerBits)
1593 WARN(("Copy protection not supported APSTriggerBits(%d)", pNewVidPnPresentPathInfo->CopyProtection.APSTriggerBits));
1599 if (memcmp(&tstCPSupport, &pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionSupport, sizeof(tstCPSupport)))
1601 WARN(("Copy protection support (0x%x)", *((UINT*)&pNewVidPnPresentPathInfo->CopyProtection.CopyProtectionSupport)));
1605 if (pNewVidPnPresentPathInfo->GammaRamp.Type != D3DDDI_GAMMARAMP_DEFAULT
1606 && pNewVidPnPresentPathInfo->GammaRamp.Type != D3DDDI_GAMMARAMP_UNINITIALIZED)
1608 WARN(("Unsupported GammaRamp.Type (%d)", pNewVidPnPresentPathInfo->GammaRamp.Type));
1612 if (pNewVidPnPresentPathInfo->GammaRamp.DataSize != 0)
1614 WARN(("Warning: non-zero GammaRamp.DataSize (%d), treating as supported", pNewVidPnPresentPathInfo->GammaRamp.DataSize));
2101 const D3DKMDT_VIDPN_PRESENT_PATH *pNewVidPnPresentPathInfo = NULL;
2102 NTSTATUS Status = pVidPnTopologyInterface->pfnAcquireFirstPathInfo(hVidPnTopology, &pNewVidPnPresentPathInfo);
2108 Status = pVidPnTopologyInterface->pfnAcquireNextPathInfo(hVidPnTopology, pNewVidPnPresentPathInfo, &pNextVidPnPresentPathInfo);
2110 if (!pfnCallback(hVidPnTopology, pVidPnTopologyInterface, pNewVidPnPresentPathInfo, pContext))
2124 pNewVidPnPresentPathInfo = pNextVidPnPresentPathInfo;
2133 pNewVidPnPresentPathInfo = NULL;