]> git.sesse.net Git - ffmpeg/commit
avcodec/roqvideoenc: Reuse buffers instead of alloc+free for each frame
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 27 Feb 2021 15:10:09 +0000 (16:10 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 1 Mar 2021 05:07:28 +0000 (06:07 +0100)
commit9b776cd542b29dacab57424c28deb5a48cb24c42
tree52c7088dd773335a0b19d0fac609928deca8958a
parent1a4a5fb640dda45bd88097c2f9142cc19af29da9
avcodec/roqvideoenc: Reuse buffers instead of alloc+free for each frame

In case of the cel evaluators it even allows to perform the
initialization of the source coordinates only once instead of for each
frame.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/roqvideoenc.c