23#ifndef AVFILTER_D3D12_VPP_H
24#define AVFILTER_D3D12_VPP_H
56 const D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT *support);
63 const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC *output_desc,
64 const D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC *input_desc);
static const AVFilterPad inputs[]
static AVFormatContext * ctx
Main libavfilter public API header.
int ff_d3d12_vpp_init(AVFilterContext *ctx, D3D12VPPContext *vpp, ID3D12Device *device)
Create the video device and the video process command context on device, after releasing any previous...
int ff_d3d12_vpp_uninit(AVFilterContext *ctx, D3D12VPPContext *vpp)
Wait for the GPU to finish all submitted work, then release all D3D12 objects and clear vpp->configur...
int ff_d3d12_vpp_begin(AVFilterContext *ctx, D3D12VPPContext *vpp)
Start recording into vpp->cmd.list.video_process, see ff_d3d12_cmd_begin().
int ff_d3d12_vpp_submit(AVFilterContext *ctx, D3D12VPPContext *vpp, AVFrame *const *inputs, int nb_inputs, AVFrame *output, int *frames_in_use)
Execute the recorded commands, see ff_d3d12_cmd_submit().
int ff_d3d12_vpp_create_processor(AVFilterContext *ctx, D3D12VPPContext *vpp, const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC *output_desc, const D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC *input_desc)
Create the video processor and mark vpp as configured.
void ff_d3d12_vpp_report_output_support(AVFilterContext *ctx, D3D12VPPContext *vpp, const D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT *support)
Log, at debug level, which output formats the video processor supports for the input described in sup...
reference-counted frame API
An API-specific header for AV_HWDEVICE_TYPE_D3D12VA.
This structure describes decoded (raw) audio or video data.
One command queue with its command list, a pool of command allocators and a private fence.
Video processor state shared by the D3D12 filters.
ID3D12VideoDevice * video_device
ID3D12VideoProcessor * video_processor