There are another three cavs_vector variables, ff_cavs_dir_mv, ff_cavs_intra_mv and un_mv. They don't need align to 8.
Unified · Split
| @@ -146,7 +146,7 @@ enum cavs_mv_loc { · 145 unmodified lines | ||
| 146 | 146 | MV_BWD_X3 |
| 147 | 147 | }; |
| 148 | 148 | |
| 149 | −DECLARE_ALIGNED(8, typedef, struct) { | |
| 149 | +typedef struct cavs_vector { | |
| 150 | 150 | int16_t x; |
| 151 | 151 | int16_t y; |
| 152 | 152 | int16_t dist; |
| @@ -207,7 +207,7 @@ typedef struct AVSContext { · 54 unmodified lines | ||
| 207 | 207 | D is the macroblock to the top-left (0) |
| 208 | 208 | |
| 209 | 209 | the same is repeated for backward motion vectors */ |
| 210 | − cavs_vector mv[2*4*3]; | |
| 210 | + DECLARE_ALIGNED(8, cavs_vector, mv)[2*4*3]; | |
| 211 | 211 | cavs_vector *top_mv[2]; |
| 212 | 212 | cavs_vector *col_mv; |
| 213 | 213 | |