summaryrefslogtreecommitdiff
path: root/libavcodec/vp56.h
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2010-07-22 04:26:41 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2010-07-22 04:26:41 +0000
commit702e8d3376f3280d156af2c506b48a80e32b4ded (patch)
tree37849422905429ca30b0c032e8817816928903d5 /libavcodec/vp56.h
parentd229ae2b62d663ad2e9dcbfe1f20e0676b1eddee (diff)
downloadffmpeg-702e8d3376f3280d156af2c506b48a80e32b4ded.tar.gz
Much faster VP8 mv and mode prediction
Originally committed as revision 24412 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp56.h')
-rw-r--r--libavcodec/vp56.h11
1 files changed, 5 insertions, 6 deletions
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;