h264/svq3: stop using draw_edges.
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 18 Feb 2013 01:01:26 +0000 (17:01 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Feb 2013 14:18:56 +0000 (15:18 +0100)
commit51513b98d62de2514d657acc95cb69f2e92aa212
tree085e7822bf9e8408dd80c96cdb80641fa2cae5b1
parentf894246304b372326ffa92cf06ebf9d15a7f0d9c
h264/svq3: stop using draw_edges.

Instead, only extend edges on-demand when the motion vector actually
crosses the visible decoded area using ff_emulated_edge_mc(). This
changes decoding time for cathedral from 8.722sec to 8.706sec, i.e.
0.2% faster overall. More generally (VP8 uses this also), low-motion
content gets significant speed improvements, whereas high-motion content
tends to decode in approximately the same time.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c
libavcodec/h264.h
libavcodec/svq3.c