diff vp56.h @ 12217:f6b229456bdf libavcodec

Much faster VP8 mv and mode prediction
author darkshikari
date Thu, 22 Jul 2010 04:26:41 +0000
parents 160eceee6c3d
children 0d81ba00151a
line wrap: on
line diff
--- a/vp56.h	Thu Jul 22 03:33:29 2010 +0000
+++ b/vp56.h	Thu Jul 22 04:26:41 2010 +0000
@@ -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 @@
     DCTELEM dc_coeff;
 } VP56RefDc;
 
-struct vp56_mv {
-    int16_t x;
-    int16_t y;
-};
-
 typedef struct {
     uint8_t type;
     VP56mv mv;