Condividi tramite


PerceptionVideoFrameAllocator.CopyFromVideoFrame(VideoFrame) Metodo

Definizione

Crea una copia completa del video FrameProvider con i byte già compilati con il PerceptionFrame risultante.

public:
 virtual PerceptionFrame ^ CopyFromVideoFrame(VideoFrame ^ frame) = CopyFromVideoFrame;
PerceptionFrame CopyFromVideoFrame(VideoFrame const& frame);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionVideoFrameAllocator may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
PerceptionFrame CopyFromVideoFrame(VideoFrame const& frame);
public PerceptionFrame CopyFromVideoFrame(VideoFrame frame);
[Windows.Foundation.Metadata.Deprecated("PerceptionVideoFrameAllocator may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public PerceptionFrame CopyFromVideoFrame(VideoFrame frame);
function copyFromVideoFrame(frame)
Public Function CopyFromVideoFrame (frame As VideoFrame) As PerceptionFrame

Parametri

frame
VideoFrame

Frame di input da cui copiare i dati pixel.

Restituisce

Oggetto PerceptionFrame riempito risultante.

Attributi

Si applica a