[FFmpeg-devel] [RFC] [PATCH 1/5] hwcontext: add a new AVHWFramesContext.opaque field
Lynne
dev at lynne.ee
Tue Jun 13 07:18:18 EEST 2023
This is a public field, settable before frames context initialization,
and propagated to any derived contexts.
API users can use it to store state and determine which context
is one of theirs.
This also allows decoders which create their own contexts to store
some state which would be freed only at context destruction.
Request for comments.
Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hwcontext-add-a-new-AVHWFramesContext.opaque-field.patch
Type: text/x-diff
Size: 2158 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230613/8371a0c5/attachment.patch>
More information about the ffmpeg-devel
mailing list