summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-02-17 17:01:26 -0800
committerMartin Storsjö <martin@martin.st>2013-02-19 22:34:33 +0200
commitfae6fd5b873911cfcd7f7b3d72de6598af5e003a (patch)
tree36bc84ff86d5bff411ccf5e6323469a8c33cf10f /libavcodec/h264.h
parent7ebfb466aec2c4628fcd42a72b29034efcaba4bc (diff)
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>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 426f8b3491..6216cb64ba 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -350,9 +350,6 @@ typedef struct H264Context {
int mb_linesize; ///< may be equal to s->linesize or s->linesize * 2, for mbaff
int mb_uvlinesize;
- int emu_edge_width;
- int emu_edge_height;
-
unsigned current_sps_id; ///< id of the current SPS
SPS sps; ///< current sps