PFND3D11_1DDI_VIDEODECODERENDFRAME回调函数 (d3d10umddi.h)

完成视频帧的 DirectX 视频加速(DXVA)解码作。

语法

PFND3D11_1DDI_VIDEODECODERENDFRAME Pfnd3d111DdiVideodecoderendframe;

void Pfnd3d111DdiVideodecoderendframe(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HDECODE unnamedParam2
)
{...}

参数

unnamedParam1

hDevice [in]

显示设备的句柄(图形上下文)。

unnamedParam2

hDecoder [in]

通过调用 CreateVideoDecoder 函数创建的视频解码器对象的句柄。

返回值

没有

言论

VideoDecoderEndFrame 完成Microsoft Direct3D 运行时调用 VideoDecoderBeginFrame时启动的解码作。 VideoDecoderEndFrame 向驱动程序发出信号,表明所有视频数据都已提交到视频帧。

要求

要求 价值
最低支持的客户端 Windows 8
支持的最低服务器 Windows Server 2012
目标平台 桌面
标头 d3d10umddi.h (包括 D3d10umddi.h)

另请参阅

CreateVideoDecoder

VideoDecoderBeginFrame