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