[FFmpeg-devel] [PATCH 2/2] avutil/hwcontext_d3d12va: added resource Flags support to command line
Dmitrii Ovchinnikov
ovchinnikov.dmitrii at gmail.com
Fri May 30 12:14:51 EEST 2025
Hi Jianhua,
The patch is designed for cases when a component doesn't allocate frames,
but only uses frames that come from outside (for example, from a decoder)
and has requirements for them. In cases where flags are configured this
way, we can avoid unnecessary surface copying, while the default behavior
remains unchanged.
For example, an AMF encoder with enabled PA wants frames to come from the
decoder with the D3D11_BIND_SHADER_RESOURCE flag (in the case of DirectX
11).
Some filters(especially shader based) may also have requirements for
necessary flags.
Sincerely, Ovchinnikov D.A.
More information about the ffmpeg-devel
mailing list