FFmpeg
|
This structure is used to provide the necessary configurations and data to the FFmpeg Direct3D 12 HWAccel implementation for video decoder. More...
#include <d3d12va_decode.h>
Data Fields | |
AVBufferRef * | decoder_ref |
ID3D12VideoDecoder * | decoder |
D3D12 video decoder. More... | |
ID3D12VideoDecoderHeap * | decoder_heap |
D3D12 video decoder heap. More... | |
D3D12_VIDEO_DECODE_CONFIGURATION | cfg |
D3D12 configuration used to create the decoder. More... | |
AVFifo * | objects_queue |
A cached queue for reusing the D3D12 command allocators and upload buffers. More... | |
ID3D12CommandQueue * | command_queue |
D3D12 command queue. More... | |
ID3D12VideoDecodeCommandList * | command_list |
D3D12 video decode command list. More... | |
ID3D12Resource ** | ref_resources |
The array of resources used for reference frames. More... | |
UINT * | ref_subresources |
The array of subresources used for reference frames. More... | |
UINT | max_num_ref |
Maximum number of reference frames. More... | |
UINT | used_mask |
Used mask used to record reference frames indices. More... | |
UINT | bitstream_size |
Bitstream size for each frame. More... | |
AVD3D12VASyncContext | sync_ctx |
The sync context used to sync command queue. More... | |
AVD3D12VADeviceContext * | device_ctx |
A pointer to AVD3D12VADeviceContext used to create D3D12 objects. More... | |
enum AVPixelFormat | pix_fmt |
Pixel format. More... | |
unsigned | report_id |
Private to the FFmpeg AVHWAccel implementation. More... | |
This structure is used to provide the necessary configurations and data to the FFmpeg Direct3D 12 HWAccel implementation for video decoder.
Definition at line 37 of file d3d12va_decode.h.
AVBufferRef* D3D12VADecodeContext::decoder_ref |
Definition at line 38 of file d3d12va_decode.h.
ID3D12VideoDecoder* D3D12VADecodeContext::decoder |
D3D12 video decoder.
Definition at line 43 of file d3d12va_decode.h.
ID3D12VideoDecoderHeap* D3D12VADecodeContext::decoder_heap |
D3D12 video decoder heap.
Definition at line 48 of file d3d12va_decode.h.
D3D12_VIDEO_DECODE_CONFIGURATION D3D12VADecodeContext::cfg |
D3D12 configuration used to create the decoder.
Specified by decoders
Definition at line 55 of file d3d12va_decode.h.
AVFifo* D3D12VADecodeContext::objects_queue |
A cached queue for reusing the D3D12 command allocators and upload buffers.
Definition at line 62 of file d3d12va_decode.h.
ID3D12CommandQueue* D3D12VADecodeContext::command_queue |
D3D12 command queue.
Definition at line 67 of file d3d12va_decode.h.
ID3D12VideoDecodeCommandList* D3D12VADecodeContext::command_list |
D3D12 video decode command list.
Definition at line 72 of file d3d12va_decode.h.
ID3D12Resource** D3D12VADecodeContext::ref_resources |
The array of resources used for reference frames.
The ref_resources.length is the same as D3D12VADecodeContext.max_num_ref
Definition at line 79 of file d3d12va_decode.h.
UINT* D3D12VADecodeContext::ref_subresources |
The array of subresources used for reference frames.
The ref_subresources.length is the same as D3D12VADecodeContext.max_num_ref
Definition at line 86 of file d3d12va_decode.h.
UINT D3D12VADecodeContext::max_num_ref |
Maximum number of reference frames.
Definition at line 91 of file d3d12va_decode.h.
UINT D3D12VADecodeContext::used_mask |
Used mask used to record reference frames indices.
Definition at line 96 of file d3d12va_decode.h.
UINT D3D12VADecodeContext::bitstream_size |
Bitstream size for each frame.
Definition at line 101 of file d3d12va_decode.h.
AVD3D12VASyncContext D3D12VADecodeContext::sync_ctx |
The sync context used to sync command queue.
Definition at line 106 of file d3d12va_decode.h.
AVD3D12VADeviceContext* D3D12VADecodeContext::device_ctx |
A pointer to AVD3D12VADeviceContext used to create D3D12 objects.
Definition at line 111 of file d3d12va_decode.h.
enum AVPixelFormat D3D12VADecodeContext::pix_fmt |
Pixel format.
Definition at line 116 of file d3d12va_decode.h.
unsigned D3D12VADecodeContext::report_id |
Private to the FFmpeg AVHWAccel implementation.
Definition at line 121 of file d3d12va_decode.h.