IMFVideoProcessorControl3::EnableSphericalVideoProcessing 方法 (mfidl.h)

启用球面视频呈现(360 视频)。

Syntax

HRESULT EnableSphericalVideoProcessing(
  [in] BOOL                           fEnable,
  [in] MFVideoSphericalFormat         eFormat,
  [in] MFVideoSphericalProjectionMode eProjectionMode
);

参数

[in] fEnable

指定是否启用呈现的 BOOL

[in] eFormat

MFVideoSphericalFormat 枚举的成员,指定要呈现的球形视频的类型。

[in] eProjectionMode

MFVideoSphericalProjectionMode 枚举的成员,指定应如何投影视频。

返回值

如果此方法成功,则返回 S_OK。 否则,它将返回 HRESULT 错误代码。

要求

Requirement 价值
最低支持的客户端 Windows 10 版本 1803
支持的最低服务器 Windows Server 版本 1803
Header mfidl.h