OSDN Git Service

h264/svq3: Stop using draw_edges
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 18 Feb 2013 01:01:26 +0000 (17:01 -0800)
committerMartin Storsjö <martin@martin.st>
Tue, 19 Feb 2013 20:34:33 +0000 (22:34 +0200)
commitfae6fd5b873911cfcd7f7b3d72de6598af5e003a
tree36bc84ff86d5bff411ccf5e6323469a8c33cf10f
parent7ebfb466aec2c4628fcd42a72b29034efcaba4bc
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: Martin Storsjö <martin@martin.st>
libavcodec/h264.c
libavcodec/h264.h
libavcodec/svq3.c