aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-04 16:10:24 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-04 16:14:30 +0100
commit9a082fec1af547f0e777a55186fdd7887d7dfa0d (patch)
treeee097b0d384b20f6f9fc9ebdf43c031c056baee4 /libavcodec/vp8.h
parentc18cfd1001e012135211630612be6079ba627ace (diff)
parente46ad30a808744ddf3855567e162292a4eaabac7 (diff)
downloadffmpeg-9a082fec1af547f0e777a55186fdd7887d7dfa0d.tar.gz
Merge commit 'e46ad30a808744ddf3855567e162292a4eaabac7'
* commit 'e46ad30a808744ddf3855567e162292a4eaabac7': vp8: use a fixed-size edge emu buffer Conflicts: libavcodec/vp8.c libavcodec/vp8.h See: face578d56c2d1375e40d5e2a28acc122132bc55 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp8.h')
-rw-r--r--libavcodec/vp8.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h
index c9a7906df0..2f00298826 100644
--- a/libavcodec/vp8.h
+++ b/libavcodec/vp8.h
@@ -122,7 +122,9 @@ typedef struct VP8ThreadData {
#endif
int thread_mb_pos; // (mb_y << 16) | (mb_x & 0xFFFF)
int wait_mb_pos; // What the current thread is waiting on.
- DECLARE_ALIGNED(16, uint8_t, edge_emu_buffer)[21*32];
+
+#define EDGE_EMU_LINESIZE 32
+ DECLARE_ALIGNED(16, uint8_t, edge_emu_buffer)[21 * EDGE_EMU_LINESIZE];
VP8FilterStrength *filter_strength;
} VP8ThreadData;