FFmpeg
Loading...
Searching...
No Matches
D3D12CommandContext Struct Reference

One command queue with its command list, a pool of command allocators and a private fence. More...

#include <d3d12_filter.h>

Data Fields

ID3D12Device * device
 
D3D12_COMMAND_LIST_TYPE type
 
ID3D12CommandQueue * queue
 
union { 
 
   ID3D12GraphicsCommandList *   graphics 
 
   ID3D12VideoProcessCommandList *   video_process 
 
} list 
 
ID3D12CommandAllocator * command_allocator
 
AVFifo * allocator_queue
 
ID3D12Fence * fence
 
UINT64 fence_value
 
HANDLE fence_event
 
int ready
 
int gpu_work_submitted
 

Detailed Description

One command queue with its command list, a pool of command allocators and a private fence.

Each submission signals the next private fence value; its command allocator and input references are recycled once the fence has passed that value.

Definition at line 118 of file d3d12_filter.h.

Field Documentation

◆ device

ID3D12Device* D3D12CommandContext::device

Definition at line 119 of file d3d12_filter.h.

◆ type

D3D12_COMMAND_LIST_TYPE D3D12CommandContext::type

Definition at line 120 of file d3d12_filter.h.

◆ queue

ID3D12CommandQueue* D3D12CommandContext::queue

Definition at line 121 of file d3d12_filter.h.

Referenced by d3d12_vpp_check_cmd().

◆ graphics

ID3D12GraphicsCommandList* D3D12CommandContext::graphics

Definition at line 125 of file d3d12_filter.h.

◆ video_process

ID3D12VideoProcessCommandList* D3D12CommandContext::video_process

Definition at line 126 of file d3d12_filter.h.

◆ [union]

union { ... } D3D12CommandContext::list

◆ command_allocator

ID3D12CommandAllocator* D3D12CommandContext::command_allocator

Definition at line 133 of file d3d12_filter.h.

◆ allocator_queue

AVFifo* D3D12CommandContext::allocator_queue

Definition at line 134 of file d3d12_filter.h.

◆ fence

ID3D12Fence* D3D12CommandContext::fence

Definition at line 136 of file d3d12_filter.h.

Referenced by ff_d3d12_cmd_wait_context().

◆ fence_value

UINT64 D3D12CommandContext::fence_value

Definition at line 138 of file d3d12_filter.h.

Referenced by ff_d3d12_cmd_wait_context().

◆ fence_event

HANDLE D3D12CommandContext::fence_event

Definition at line 139 of file d3d12_filter.h.

◆ ready

int D3D12CommandContext::ready

Definition at line 143 of file d3d12_filter.h.

Referenced by d3d12_vpp_check_cmd().

◆ gpu_work_submitted

int D3D12CommandContext::gpu_work_submitted

Definition at line 144 of file d3d12_filter.h.


The documentation for this struct was generated from the following file: