Share via


ProcessVideoFrameContext 类

定义

提供用于在 ProcessFrame 方法中执行自定义视频效果操作的上下文。

public ref class ProcessVideoFrameContext sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProcessVideoFrameContext final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProcessVideoFrameContext
Public NotInheritable Class ProcessVideoFrameContext
继承
Object Platform::Object IInspectable ProcessVideoFrameContext
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

若要检索此类的实例,请实现 ProcessFrame 方法。

属性

InputFrame

获取视频效果操作的输入帧。

OutputFrame

获取视频效果操作的输出帧。

适用于