]> git.sesse.net Git - ffmpeg/commit
mpegvideo_enc: Draw edges on input for non-multiple of 16 resolutions
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 16 Feb 2013 09:44:38 +0000 (10:44 +0100)
committerMartin Storsjö <martin@martin.st>
Fri, 23 Jan 2015 13:05:49 +0000 (15:05 +0200)
commit2a06c2a03e1205aaeede5af850b9271752ddd4cf
treed0bc23b12895ea0a954daeb70634e5dc8df1fa2b
parent9108967513fcaff3d55514a7bca4c9fbba128c71
mpegvideo_enc: Draw edges on input for non-multiple of 16 resolutions

This improves motion estimation and avoids using uninitialized data
for resolutions that aren't a multiple of 16.

Prior to d2a25c40, the edges used to be initialized so that encoding
was deterministic, but after that commit it started using uninitialized
data (for non multiple of 16 resolutions).

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/mpegvideo_enc.c