Processing Video Frames

The Microsoft Direct3D runtime calls the user-mode display driver's VideoProcessBeginFrame and VideoProcessEndFrame functions to indicate a time period between these function calls that the user-mode display driver can process video frames. Before the user-mode display driver can process any video frames, the Microsoft Direct3D runtime must call the user-mode display driver's SetVideoProcessRenderTarget function to set the render target surface for video processing. However, the call to SetVideoProcessRenderTarget can occur only outside the begin-frame and end-frame time period.

After the render target surface for video processing is set, the user-mode display driver can receive calls to its VideoProcessBlt function to process video frames between the begin-frame and end-frame time period.