diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2018-05-07 18:23:38 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2018-05-10 00:34:21 +0200 |
commit | baabd3c2adb0fd1234fd7756e0b1861233753a1e (patch) | |
tree | 2debf20cc88c36064e46a35d97f4650d485c5814 /libavutil/time.h | |
parent | 2e700b082c81384a28fa24274b29dbfc982876fe (diff) | |
download | ffmpeg-baabd3c2adb0fd1234fd7756e0b1861233753a1e.tar.gz |
avcodec/nvdec: avoid needless copy of output frame
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.
Diffstat (limited to 'libavutil/time.h')
0 files changed, 0 insertions, 0 deletions