summaryrefslogtreecommitdiff
path: root/libavcodec/vp8.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-09-20 08:01:19 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2013-09-28 20:28:08 -0400
commitface578d56c2d1375e40d5e2a28acc122132bc55 (patch)
tree8a4fe63c8066b59ea41dd09285b4a82587a65030 /libavcodec/vp8.h
parentf574b4da567cc1c175ab5463fb5b3901cbaa5595 (diff)
Rewrite emu_edge functions to have separate src/dst_stride arguments.
This allows supporting files for which the image stride is smaller than the max. block size + number of subpel mc taps, e.g. a 64x64 VP9 file or a 16x16 VP8 file with -fflags +emu_edge.
Diffstat (limited to 'libavcodec/vp8.h')
-rw-r--r--libavcodec/vp8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h
index 6b56e65168..c9a7906df0 100644
--- a/libavcodec/vp8.h
+++ b/libavcodec/vp8.h
@@ -122,7 +122,7 @@ 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.
- uint8_t *edge_emu_buffer;
+ DECLARE_ALIGNED(16, uint8_t, edge_emu_buffer)[21*32];
VP8FilterStrength *filter_strength;
} VP8ThreadData;