Mercurial > libavcodec.hg
comparison i386/simple_idct_mmx.c @ 1845:3054613980a8 libavcodec
attribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
author | michael |
---|---|
date | Sun, 29 Feb 2004 22:10:18 +0000 |
parents | 43ceb6e34b06 |
children | f65d87bfdd5a |
comparison
equal
deleted
inserted
replaced
1844:2de13087f46e | 1845:3054613980a8 |
---|---|
43 #define C7 4520 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 | 43 #define C7 4520 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 |
44 | 44 |
45 #define ROW_SHIFT 11 | 45 #define ROW_SHIFT 11 |
46 #define COL_SHIFT 20 // 6 | 46 #define COL_SHIFT 20 // 6 |
47 | 47 |
48 static const uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL; | 48 static const uint64_t attribute_used __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL; |
49 static const uint64_t __attribute__((aligned(8))) d40000= 0x0000000000040000ULL; | 49 static const uint64_t attribute_used __attribute__((aligned(8))) d40000= 0x0000000000040000ULL; |
50 | 50 |
51 static const int16_t __attribute__((aligned(8))) coeffs[]= { | 51 static const int16_t __attribute__((aligned(8))) coeffs[]= { |
52 1<<(ROW_SHIFT-1), 0, 1<<(ROW_SHIFT-1), 0, | 52 1<<(ROW_SHIFT-1), 0, 1<<(ROW_SHIFT-1), 0, |
53 // 1<<(COL_SHIFT-1), 0, 1<<(COL_SHIFT-1), 0, | 53 // 1<<(COL_SHIFT-1), 0, 1<<(COL_SHIFT-1), 0, |
54 // 0, 1<<(COL_SHIFT-1-16), 0, 1<<(COL_SHIFT-1-16), | 54 // 0, 1<<(COL_SHIFT-1-16), 0, 1<<(COL_SHIFT-1-16), |