Skip to content

Latest commit

 

History

History
99 lines (67 loc) · 3.19 KB

ns-d3d12umddi-d3d12ddi_video_decoder_heap_size_data_0072.md

File metadata and controls

99 lines (67 loc) · 3.19 KB
UID title ms.date tech.root targetos description req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:d3d12umddi.D3D12DDI_VIDEO_DECODER_HEAP_SIZE_DATA_0072
D3D12DDI_VIDEO_DECODER_HEAP_SIZE_DATA_0072
03/24/2020
display
Windows
Retrieves the memory allocation size of a video decoder heap created with the given properties.
structure
d3d12umddi.h
Windows 10, version 2004
D3D12DDI_VIDEO_DECODER_HEAP_SIZE_DATA_0072
apiref
HeaderDef
d3d12umddi.h
D3D12DDI_VIDEO_DECODER_HEAP_SIZE_DATA_0072
D3D12DDI_VIDEO_DECODER_HEAP_SIZE_DATA_0072
d3d12umddi/D3D12DDI_VIDEO_DECODER_HEAP_SIZE_DATA_0072
c++

-description

Retrieves the memory allocation size of a video decoder heap created with the given properties.

-struct-fields

-field NodeMask

For a single GPU operation, set this to zero. If there are multiple GPU nodes, set a bit to identify the node (the device's physical adapter) to which the command queue applies. Each bit in the mask corresponds to a single node. Only 1 bit may be set.

-field Configuration

A D3D12DDI_VIDEO_DECODE_CONFIGURATION structure with the decode profile and bitstream encryption.

-field DecodeWidth

The decode width of the bitstream to be decoded.

-field DecodeHeight

The decode height of the bitstream to be decoded.

-field Format

The resource data format.

-field FrameRate

The frame rate of the input video stream.

-field BitRate

The bits per second data compression rate for the compressed video stream.

-field MaxDecodePictureBufferCount

The maximum number of decode picture buffers that this stream can have.

-field Protected

If TRUE, the decoder is created with a protected resource session and used with protected resources.

-field MemoryPoolL0Size

The L0 size of the heap object. Memory Pool L0 is the memory pool “closest” to the GPU. In the case of UMA adapters, this is the amount of system memory used. For discrete adapters, this is the amount of discrete memory used.

-field MemoryPoolL1Size

The L1 size of the heap object. Memory Pool L1 is the memory pool “second closest” to the GPU. In the case of UMA adapters, this value is zero. In the case of discrete adapters, this is the amount of system memory used.

-remarks

This structure is for the D3D12DDICAPS_TYPE_VIDEO_0032_DECODER_HEAP_SIZE capability check in D3D12DDICAPS_TYPE_VIDEO_0020.

See the D3D Video Protected Resource Support Specification for more information.

-see-also

D3D12DDI_VIDEO_DECODE_CONFIGURATION

D3D12DDICAPS_TYPE_VIDEO_0020