Compartilhar via


PerceptionVideoFrameAllocator.CopyFromVideoFrame(VideoFrame) Método

Definição

Cria uma cópia profunda do vídeo FrameProvider com os bytes já preenchidos com o PerceptionFrame resultante.

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

Parâmetros

frame
VideoFrame

O quadro de entrada do qual copiar os dados de pixel.

Retornos

O PerceptionFrame preenchido resultante.

Atributos

Aplica-se a