Revision 68b51e58 libavcodec/h264.c

View differences:

libavcodec/h264.c
199 199
     * non zero coeff count cache.
200 200
     * is 64 if not available.
201 201
     */
202
    uint8_t non_zero_count_cache[6*8] __align8;
202
    DECLARE_ALIGNED_8(uint8_t, non_zero_count_cache[6*8]);
203 203
    uint8_t (*non_zero_count)[16];
204 204

  
205 205
    /**
206 206
     * Motion vector cache.
207 207
     */
208
    int16_t mv_cache[2][5*8][2] __align8;
209
    int8_t ref_cache[2][5*8] __align8;
208
    DECLARE_ALIGNED_8(int16_t, mv_cache[2][5*8][2]);
209
    DECLARE_ALIGNED_8(int8_t, ref_cache[2][5*8]);
210 210
#define LIST_NOT_USED -1 //FIXME rename?
211 211
#define PART_NOT_AVAILABLE -2
212 212

  
......
335 335
    GetBitContext *intra_gb_ptr;
336 336
    GetBitContext *inter_gb_ptr;
337 337

  
338
    DCTELEM mb[16*24] __align8;
338
    DECLARE_ALIGNED_8(DCTELEM, mb[16*24]);
339 339

  
340 340
    /**
341 341
     * Cabac
......
352 352
    uint8_t     *chroma_pred_mode_table;
353 353
    int         last_qscale_diff;
354 354
    int16_t     (*mvd_table[2])[2];
355
    int16_t     mvd_cache[2][5*8][2] __align8;
355
    DECLARE_ALIGNED_8(int16_t, mvd_cache[2][5*8][2]);
356 356
    uint8_t     *direct_table;
357 357
    uint8_t     direct_cache[5*8];
358 358

  

Also available in: Unified diff