]> git.sesse.net Git - ffmpeg/commit
avfilter/vf_yadif_cuda: Remove unnecessary stream synchronisation
authorPhilip Langdale <philipl@overt.org>
Sat, 30 Mar 2019 15:50:44 +0000 (08:50 -0700)
committerPhilip Langdale <philipl@overt.org>
Sat, 30 Mar 2019 15:55:15 +0000 (08:55 -0700)
commitc0b6e4cb6d6d41dbf2684891ed9dd43d9ddfb804
tree722e174b56314df720724395771b01488e0a888a
parent5282cbae61ccf75dbfbeac5b963812aac90ec8cb
avfilter/vf_yadif_cuda: Remove unnecessary stream synchronisation

I put this call in by habit, rather than because there was any
actual need. The filter is simply processing frames one after
the other and has no need to synchronise.

malakudi on the devtalk forums noticed a slowdown when using nvenc
with temporal/spatial aq and that the slowdown went away if the
sync call was removed. I also verified that in the basic encoding
case there's an observable speedup.

I also verified that we aren't doing unnecessary sync calls in any
other filter.
libavfilter/vf_yadif_cuda.c