MediaPlayer.CopyFrameToVideoSurface Methode

Definition

Überlädt

CopyFrameToVideoSurface(IDirect3DSurface)

Kopiert den aktuellen Videoframe aus dem MediaPlayer in das bereitgestellte IDirect3DSurface.

CopyFrameToVideoSurface(IDirect3DSurface, Rect)

Kopiert den aktuellen Videoframe aus dem MediaPlayer in das angegebene Zielrechteck innerhalb des bereitgestellten IDirect3DSurface.

CopyFrameToVideoSurface(IDirect3DSurface)

Kopiert den aktuellen Videoframe aus dem MediaPlayer in das bereitgestellte IDirect3DSurface.

public:
 virtual void CopyFrameToVideoSurface(IDirect3DSurface ^ destination) = CopyFrameToVideoSurface;
/// [Windows.Foundation.Metadata.Overload("CopyFrameToVideoSurface")]
void CopyFrameToVideoSurface(IDirect3DSurface const& destination);
[Windows.Foundation.Metadata.Overload("CopyFrameToVideoSurface")]
public void CopyFrameToVideoSurface(IDirect3DSurface destination);
function copyFrameToVideoSurface(destination)
Public Sub CopyFrameToVideoSurface (destination As IDirect3DSurface)

Parameter

destination
IDirect3DSurface

Das IDirect3DSurface , in das der Videoframe kopiert wird.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)

Hinweise

Informationen zur Verwendung von CopyFrameToVideoSurface zum Anwenden von GPU-Effekten auf Videoframes finden Sie im Abschnitt Verwenden von MediaPlayer im Frameservermodus unter Wiedergeben von Audio und Video mit MediaPlayer.

Weitere Informationen

Gilt für:

CopyFrameToVideoSurface(IDirect3DSurface, Rect)

Kopiert den aktuellen Videoframe aus dem MediaPlayer in das angegebene Zielrechteck innerhalb des bereitgestellten IDirect3DSurface.

public:
 virtual void CopyFrameToVideoSurface(IDirect3DSurface ^ destination, Rect targetRectangle) = CopyFrameToVideoSurface;
/// [Windows.Foundation.Metadata.Overload("CopyFrameToVideoSurfaceWithTargetRectangle")]
void CopyFrameToVideoSurface(IDirect3DSurface const& destination, Rect const& targetRectangle);
[Windows.Foundation.Metadata.Overload("CopyFrameToVideoSurfaceWithTargetRectangle")]
public void CopyFrameToVideoSurface(IDirect3DSurface destination, Rect targetRectangle);
function copyFrameToVideoSurface(destination, targetRectangle)
Public Sub CopyFrameToVideoSurface (destination As IDirect3DSurface, targetRectangle As Rect)

Parameter

destination
IDirect3DSurface

Das IDirect3DSurface , in das der Videoframe kopiert wird.

targetRectangle
Rect

Das Zielrechteck innerhalb der IDirect3DSurface , in das der Videoframe kopiert wird.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)

Hinweise

Informationen zur Verwendung von CopyFrameToVideoSurface zum Anwenden von GPU-Effekten auf Videoframes finden Sie im Abschnitt Verwenden von MediaPlayer im Frameservermodus unter Wiedergeben von Audio und Video mit MediaPlayer.

Weitere Informationen

Gilt für: