Performs a video processing operation on one or more input samples and writes the result to a Direct3D surface.
HRESULT VideoProcessorBlt( [in] ID3D11VideoProcessor *pVideoProcessor, [in] ID3D11VideoProcessorOutputView *pView, [in] UINT OutputFrame, [in] UINT StreamCount, [in] const D3D11_VIDEO_PROCESSOR_STREAM *pStreams );
- pVideoProcessor [in]
- pView [in]
A pointer to the ID3D11VideoProcessorOutputView interface for the output surface. The output of the video processing operation will be written to this surface.
- OutputFrame [in]
The frame number of the output video frame, indexed from zero.
- StreamCount [in]
The number of input streams to process.
- pStreams [in]
A pointer to an array of D3D11_VIDEO_PROCESSOR_STREAM structures that contain information about the input streams. The caller allocates the array and fills in each structure. The number of elements in the array is given in the StreamCount parameter.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The maximum value of StreamCount is given in the MaxStreamStates member of the D3D11_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.
If the output stereo mode is TRUE:
- The output view must contain a texture array of two elements.
- At least one stereo stream must be specified.
- If multiple input streams are enabled, it is possible that one or more of the input streams may contain mono data.
- The output view must contain a single element.
- The stereo format cannot be D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO .
This function does not honor a D3D11 predicate that may have been set.
If the application uses D3D11 quries, this function may not be accounted for with D3D11_QUERY_EVENT and D3D11_QUERY_TIMESTAMP when using feature levels lower than 11. D3D11_QUERY_PIPELINE_STATISTICS will not include this function for any feature level.
Windows Phone 8: This API is supported.
Minimum supported client
|Windows 8 [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2012 [desktop apps | Windows Store apps]|
Build date: 11/16/2013