[FFmpeg-devel] [PATCH 1/5] avcodec/nvdec: avoid needless copy of output frame
Philip Langdale
philipl at overt.org
Tue May 8 23:21:26 EEST 2018
On 2018-05-08 11:36, Timo Rothenpieler wrote:
> Replaces the data pointers with the mapped cuvid ones.
> Adds buffer_refs to the frame to ensure the needed contexts stay alive
> and the cuvid idx stays allocated.
> Adds another buffer_ref to unmap the frame when it's unreferenced
> itself.
> ---
> libavcodec/nvdec.c | 96 +++++++++++++++++++++++++++++++++++-----------
> 1 file changed, 73 insertions(+), 23 deletions(-)
This and the rest of the changeset look good to me.
--phil
More information about the ffmpeg-devel
mailing list