MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:

committed by
Diego Biurrun

parent
04c669ba98
commit
68b51e58ce
@@ -134,7 +134,7 @@ typedef struct ScanTable{
|
||||
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 @@ typedef struct MpegEncContext {
|
||||
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
|
||||
|
Reference in New Issue
Block a user