comparison i386/mpegvideo_mmx_template.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 0b546eab515d
children fb4baeb88d0b
comparison
equal deleted inserted replaced
3088:03582724f3de 3089:072dbc669253
49 int qscale, int *overflow) 49 int qscale, int *overflow)
50 { 50 {
51 long last_non_zero_p1; 51 long last_non_zero_p1;
52 int level=0, q; //=0 is cuz gcc says uninitalized ... 52 int level=0, q; //=0 is cuz gcc says uninitalized ...
53 const uint16_t *qmat, *bias; 53 const uint16_t *qmat, *bias;
54 __align8 int16_t temp_block[64]; 54 DECLARE_ALIGNED_8(int16_t, temp_block[64]);
55 55
56 assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly? 56 assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly?
57 57
58 //s->fdct (block); 58 //s->fdct (block);
59 RENAMEl(ff_fdct) (block); //cant be anything else ... 59 RENAMEl(ff_fdct) (block); //cant be anything else ...