UID | title | description | old-location | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | tech.root | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3d12umddi.PFND3D12DDI_VIDEO_GETCAPS |
PFND3D12DDI_VIDEO_GETCAPS (d3d12umddi.h) |
The pfnGetCaps callback function defines an entry point for video specific caps. |
display\pfnd3d12ddi_video_getcaps.htm |
02/16/2022 |
|
PFND3D12DDI_VIDEO_GETCAPS, PFND3D12DDI_VIDEO_GETCAPS callback, d3d12umddi/pfnGetCaps, display.pfnd3d12ddi_video_getcaps, pfnGetCaps, pfnGetCaps callback function [Display Devices] |
d3d12umddi.h |
D3d12umddi.h |
Windows |
Windows |
display |
|
|
|
|
|
The D3D runtime calls a client driver's PFND3D12DDI_VIDEO_GETCAPS callback function to query for video-related support provided by the driver for a specified type.
The handle of a device.
Pointer to a caller-allocated D3D12DDIARG_VIDEO_GETCAPS_0020 structure used to request a video-specific capability.
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The following table provides a few examples of the meaning/values of pData and DataSize for various D3D12DDICAPS_TYPE_VIDEO_0020 values. Note that pInfo points to NULL in all of these examples, so is not shown in the table.
D3D12DDICAPS_TYPE_XXX | pData | DataSize |
---|---|---|
VIDEO_0020_DECODE_SUPPORT | D3D12DDI_VIDEO_DECODE_SUPPORT_DATA_0020 * | sizeof(D3D12DDI_VIDEO_DECODE_SUPPORT_DATA_0020) |
VIDEO_0020_DECODE_PROFILES | D3D12DDI_VIDEO_DECODE_PROFILES_DATA_0020 * | sizeof(D3D12DDI_VIDEO_DECODE_PROFILES_DATA_0020) |
VIDEO_0020_PROCESS_SUPPORT | D3D12DDI_VIDEO_PROCESS_SUPPORT_DATA_0032 * | sizeof(D3D12DDI_VIDEO_PROCESS_SUPPORT_DATA_0032) |
VIDEO_0032_DECODER_HEAP_SIZE | D3D12DDI_VIDEO_DECODER_HEAP_SIZE_DATA_0072 * | sizeof(D3D12DDI_VIDEO_DECODER_HEAP_SIZE_DATA_0072) |
VIDEO_0053_MOTION_ESTIMATOR | D3D12DDI_VIDEO_MOTION_ESTIMATOR_DATA_0053 * | sizeof(D3D12DDI_VIDEO_MOTION_ESTIMATOR_DATA_0053) |
VIDEO_0080_ENCODER_CODEC | D3D12DDICAPS_VIDEO_ENCODER_CODEC_DATA_0080 | sizeof(D3D12DDICAPS_VIDEO_ENCODER_CODEC_DATA_0080) |