From 702e8d3376f3280d156af2c506b48a80e32b4ded Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Thu, 22 Jul 2010 04:26:41 +0000 Subject: Much faster VP8 mv and mode prediction Originally committed as revision 24412 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp56.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libavcodec/vp56.h') diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h index ce66c96de1..1e069dc4d5 100644 --- a/libavcodec/vp56.h +++ b/libavcodec/vp56.h @@ -32,7 +32,11 @@ #include "vp56dsp.h" typedef struct vp56_context VP56Context; -typedef struct vp56_mv VP56mv; + +typedef struct { + int16_t x; + int16_t y; +} DECLARE_ALIGNED(4, , VP56mv); typedef void (*VP56ParseVectorAdjustment)(VP56Context *s, VP56mv *vect); @@ -61,11 +65,6 @@ typedef struct { DCTELEM dc_coeff; } VP56RefDc; -struct vp56_mv { - int16_t x; - int16_t y; -}; - typedef struct { uint8_t type; VP56mv mv; -- cgit v1.2.3