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.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to