[FFmpeg-devel] [PATCH] avutil/hwcontext: add flags field to AVHWFramesContext

Timo Rothenpieler timo at rothenpieler.org
Mon May 7 23:52:07 EEST 2018

> Nack.  Implementation-specific details go in the implementation-specific structure (AVHWFramesContext.hwctx).
> What are you actually thining of using this for?  If you want to add flags which are in common between multiple different implementations then maybe it would be suitable to put it here, but something implementation-specific really shouldn't be.

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180507/93d0783f/attachment.bin>

More information about the ffmpeg-devel mailing list