[FFmpeg-devel] [PATCH] ffmpeg:Accelerated hardware decode support on Jetson
Anton Khirnov
anton at khirnov.net
Mon Jun 1 16:31:42 EEST 2020
Hi,
the preferred way of adding new hardware-accelerated decoding wrappers
is implementing the hwcontext API in libavutil and the hwaccel hooks in
libavcodec decoders. Handles to hardware frames are exported to the
caller to avoid a possibly-unnecessary memory copy. See e.g.
vaapi_decode for an example.
Deviating from this pattern requires a sufficiently strong
justification.
Beyond that, we already have two NVidia hardware decoding APIs. Why is
there a need for a third one?
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list