diff mpegvideo.h @ 3089:072dbc669253 libavcodec

MSVC-compatible __align8/__align16 declaration patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr
author diego
date Sun, 05 Feb 2006 13:35:17 +0000
parents befacb1cb573
children 5fc631919a98
line wrap: on
line diff
--- a/mpegvideo.h	Sun Feb 05 10:16:20 2006 +0000
+++ b/mpegvideo.h	Sun Feb 05 13:35:17 2006 +0000
@@ -134,7 +134,7 @@
     uint8_t raster_end[64];
 #ifdef ARCH_POWERPC
                 /** Used by dct_quantise_alitvec to find last-non-zero */
-    uint8_t __align8 inverse[64];
+    DECLARE_ALIGNED_8(uint8_t, inverse[64]);
 #endif
 } ScanTable;
 
@@ -494,7 +494,7 @@
     uint16_t (*q_inter_matrix16)[2][64];
     int block_last_index[12];  ///< last non zero coefficient in block
     /* scantables */
-    ScanTable __align8 intra_scantable;
+    DECLARE_ALIGNED_8(ScanTable, intra_scantable);
     ScanTable intra_h_scantable;
     ScanTable intra_v_scantable;
     ScanTable inter_scantable; ///< if inter == intra then intra should be used to reduce tha cache usage