PFND3D11_1DDI_VIDEOPROCESSORBLT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D11_1DDI_VIDEOPROCESSORBLT Pfnd3d111DdiVideoprocessorblt;

HRESULT Pfnd3d111DdiVideoprocessorblt(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
  D3D11_1DDI_HVIDEOPROCESSOROUTPUTVIEW unnamedParam3,
  UINT unnamedParam4,
  UINT unnamedParam5,
  const D3D11_1DDI_VIDEO_PROCESSOR_STREAM *unnamedParam6
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d11_1ddi_videoprocessorblt)

PFND3D11_1DDI_VIDEOPROCESSORBLT callback function

Description

Performs a video processing operation on one or more input samples and writes the result to a Direct3D surface.

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hVideoProcessor [in]

A handle to the video processor object that was created through a call to the CreateVideoProcessor function.

unnamedParam3

hOutputView [in]

A handle to the resource for the output view of the video processor. This handle was created through a call to the CreateVideoProcessorOutputView function.

unnamedParam4

OutputFrame [in]

The zero-based index of the output video frame.

unnamedParam5

StreamCount [in]

The number of input streams to process in the array referenced by the pStream parameter.

Note The maximum value of this parameter is specified by the MaxStreamStates member of the D3D11_1DDI_VIDEO_PROCESSOR_CAPS structure. The maximum number of streams that can be enabled at one time is given in the MaxInputStreams member of that structure.

unnamedParam6

pStream [in]

A pointer to an array of D3D11_1DDI_VIDEO_PROCESSOR_STREAM structures that contain information about the input streams.

Return value

VideoProcessorBlt returns one of the following values:

Return code Description
S_OK The video processing operation completed successfully.
E_OUTOFMEMORY Memory was not available to complete the operation.

Remarks

The VideoProcessorBlt performs all of the video processing based on the stream states and bit-block transfer (bitblt) states that have been previously set.

The Microsoft Direct3D runtime performs the following data validation before it calls the driver's VideoProcessorBlt function:

If multiple input streams are enabled and the video processor is enabled to produce stereo output, it is possible that one of the input streams may be a mono sample.

Note This function does not honor a D3D11 predicate that may have been set.

See also

CreateVideoProcessor

CreateVideoProcessorOutputView

D3D11_1DDI_VIDEO_PROCESSOR_CAPS

D3D11_1DDI_VIDEO_PROCESSOR_STREAM

RECT

VideoProcessorSetOutputStereoMode

VideoProcessorSetStreamStereoFormat