comparison mjpeg.c @ 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 1e63c12c2c71
children a0d2d5053c9d
comparison
equal deleted inserted replaced
3088:03582724f3de 3089:072dbc669253
871 int quant_index[4]; /* quant table index for each component */ 871 int quant_index[4]; /* quant table index for each component */
872 int last_dc[MAX_COMPONENTS]; /* last DEQUANTIZED dc (XXX: am I right to do that ?) */ 872 int last_dc[MAX_COMPONENTS]; /* last DEQUANTIZED dc (XXX: am I right to do that ?) */
873 AVFrame picture; /* picture structure */ 873 AVFrame picture; /* picture structure */
874 int linesize[MAX_COMPONENTS]; ///< linesize << interlaced 874 int linesize[MAX_COMPONENTS]; ///< linesize << interlaced
875 int8_t *qscale_table; 875 int8_t *qscale_table;
876 DCTELEM block[64] __align8; 876 DECLARE_ALIGNED_8(DCTELEM, block[64]);
877 ScanTable scantable; 877 ScanTable scantable;
878 void (*idct_put)(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/); 878 void (*idct_put)(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/);
879 879
880 int restart_interval; 880 int restart_interval;
881 int restart_count; 881 int restart_count;