FFmpeg
|
This struct is allocated as AVHWFramesContext.hwctx. More...
#include <hwcontext_d3d12va.h>
Data Fields | |
DXGI_FORMAT | format |
DXGI_FORMAT format. More... | |
D3D12_RESOURCE_FLAGS | resource_flags |
Options for working with resources. More... | |
D3D12_HEAP_FLAGS | heap_flags |
Options for working with heaps allocation when creating resources. More... | |
ID3D12Resource * | texture_array |
In texture array mode, the D3D12 uses the same texture array (resource)for all pictures. More... | |
AVD3D12VAFrameFlags | flags |
A combination of AVD3D12VAFrameFlags. More... | |
This struct is allocated as AVHWFramesContext.hwctx.
Definition at line 172 of file hwcontext_d3d12va.h.
DXGI_FORMAT AVD3D12VAFramesContext::format |
DXGI_FORMAT format.
MUST be compatible with the pixel format. If unset, will be automatically set.
Definition at line 177 of file hwcontext_d3d12va.h.
Referenced by d3d12va_create_decoder(), d3d12va_create_decoder_heap(), d3d12va_create_encoder(), d3d12va_create_helper_objects(), d3d12va_encode_hevc_init_sequence_params(), d3d12va_encode_issue(), d3d12va_encode_prepare_output_buffers(), d3d12va_frames_init(), d3d12va_pool_alloc(), d3d12va_texture_array_init(), and d3d12va_transfer_data().
D3D12_RESOURCE_FLAGS AVD3D12VAFramesContext::resource_flags |
Options for working with resources.
If unset, this will be D3D12_RESOURCE_FLAG_NONE.
Definition at line 185 of file hwcontext_d3d12va.h.
Referenced by d3d12va_encode_create_recon_frames(), d3d12va_frames_init(), d3d12va_pool_alloc(), and d3d12va_texture_array_init().
D3D12_HEAP_FLAGS AVD3D12VAFramesContext::heap_flags |
Options for working with heaps allocation when creating resources.
If unset, this will be D3D12_HEAP_FLAG_NONE.
Definition at line 193 of file hwcontext_d3d12va.h.
Referenced by d3d12va_frames_init(), d3d12va_pool_alloc(), and d3d12va_texture_array_init().
ID3D12Resource* AVD3D12VAFramesContext::texture_array |
In texture array mode, the D3D12 uses the same texture array (resource)for all pictures.
Definition at line 199 of file hwcontext_d3d12va.h.
Referenced by d3d12va_frames_uninit(), d3d12va_pool_alloc_texture_array(), and d3d12va_texture_array_init().
AVD3D12VAFrameFlags AVD3D12VAFramesContext::flags |
A combination of AVD3D12VAFrameFlags.
Unless AV_D3D12VA_FRAME_FLAG_NONE is set, autodetected flags will be OR'd based on the device and frame features during av_hwframe_ctx_init().
Definition at line 206 of file hwcontext_d3d12va.h.
Referenced by d3d12va_encode_create_recon_frames(), d3d12va_frames_init(), and d3d12va_pool_alloc().