Mercurial > libavcodec.hg
comparison i386/mpegvideo_mmx_template.c @ 1565:1a9a63f59849 libavcodec
minor mmx2 optimization if the dct
author | michael |
---|---|
date | Thu, 23 Oct 2003 13:22:20 +0000 |
parents | d736e24bf303 |
children | 4c9165372ab3 |
comparison
equal
deleted
inserted
replaced
1564:b6b7d080f1a1 | 1565:1a9a63f59849 |
---|---|
41 __align8 int16_t temp_block[64]; | 41 __align8 int16_t temp_block[64]; |
42 | 42 |
43 assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly? | 43 assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly? |
44 | 44 |
45 //s->fdct (block); | 45 //s->fdct (block); |
46 ff_fdct_mmx (block); //cant be anything else ... | 46 RENAMEl(ff_fdct) (block); //cant be anything else ... |
47 | 47 |
48 if (s->mb_intra) { | 48 if (s->mb_intra) { |
49 int dummy; | 49 int dummy; |
50 if (n < 4) | 50 if (n < 4) |
51 q = s->y_dc_scale; | 51 q = s->y_dc_scale; |