PerceptionVideoFrameAllocator.CopyFromVideoFrame(VideoFrame) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立影片 FrameProvider 的深層複本,其中包含已填入所產生 PerceptionFrame 的位元組。
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
參數
- frame
- VideoFrame
要從中複製圖元資料的輸入框架。
傳回
產生的填滿 PerceptionFrame。
- 屬性