[FFmpeg-devel] [PATCH] avutil/hwcontext: add flags field to AVHWFramesContext
danieloberhoff at googlemail.com
Tue May 8 09:45:09 EEST 2018
>> I want to add a mapped-frame/dummy mode to the CUDA frame allocator, where it does everything a normal hwframes ctx does, except allocating memory, because the backing memory comes mapped from the cuvid frame.
>> Which is a simple flag to set, but there is no way to tell it right now.
>> The structures in the struct you mentioned are private to libavutil, so I can't set them from a decoder.
Oh, so if i use/set this flag then the pointer i get in the AVFrame(s) are actually mapped from cuvid? I.e. zero-copy? How exactly could I use that?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Message signed with OpenPGP
More information about the ffmpeg-devel