summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-02-17 17:01:26 -0800
committerMichael Niedermayer <michaelni@gmx.at>2013-02-18 15:18:56 +0100
commit51513b98d62de2514d657acc95cb69f2e92aa212 (patch)
tree085e7822bf9e8408dd80c96cdb80641fa2cae5b1 /libavcodec/h264.h
parentf894246304b372326ffa92cf06ebf9d15a7f0d9c (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: Michael Niedermayer <michaelni@gmx.at>
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 29965e5c88..cb693619b6 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -354,9 +354,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