VideoProcessBeginFrame routine

The VideoProcessBeginFrame function notifies the user-mode display driver that processing of a video frame can begin on the specified Microsoft DirectX Video Accelerator (VA) video processing device.

Syntax


PFND3DDDI_VIDEOPROCESSBEGINFRAME VideoProcessBeginFrame;

__checkReturn HRESULT APIENTRY VideoProcessBeginFrame(
  _In_ HANDLE hDevice,
  _In_ HANDLE hVideoProcessor
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

hVideoProcessor [in]

The handle to the DirectX VA video processing device that should start processing the video frame. The CreateVideoProcessDevice function created this handle.

Return value

VideoProcessBeginFrame returns one of the following values:

Return codeDescription
S_OK

Video frame processing successfully began.

E_OUTOFMEMORY

VideoProcessBeginFrame could not allocate the required memory for it to complete.

 

Remarks

The VideoProcessBeginFrame function notifies the user-mode display driver that its VideoProcessBlt function can be called on the specified video processing device.

Requirements

Target platform

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

CreateVideoProcessDevice
D3DDDI_DEVICEFUNCS
VideoProcessBlt

 

 

Send comments about this topic to Microsoft

Show: