Mercurial > libavcodec.hg
comparison dsputil.c @ 4174:8535fcac43c1 libavcodec
rename inverse -> ff_inverse
author | mru |
---|---|
date | Sun, 12 Nov 2006 18:49:36 +0000 |
parents | 34fdffe98bd0 |
children | 23da44e8fd05 |
comparison
equal
deleted
inserted
replaced
4173:af40e7d99b8c | 4174:8535fcac43c1 |
---|---|
91 53, 61, 22, 30, 7, 15, 23, 31, | 91 53, 61, 22, 30, 7, 15, 23, 31, |
92 38, 46, 54, 62, 39, 47, 55, 63, | 92 38, 46, 54, 62, 39, 47, 55, 63, |
93 }; | 93 }; |
94 | 94 |
95 /* a*inverse[b]>>32 == a/b for all 0<=a<=65536 && 2<=b<=255 */ | 95 /* a*inverse[b]>>32 == a/b for all 0<=a<=65536 && 2<=b<=255 */ |
96 const uint32_t inverse[256]={ | 96 const uint32_t ff_inverse[256]={ |
97 0, 4294967295U,2147483648U,1431655766, 1073741824, 858993460, 715827883, 613566757, | 97 0, 4294967295U,2147483648U,1431655766, 1073741824, 858993460, 715827883, 613566757, |
98 536870912, 477218589, 429496730, 390451573, 357913942, 330382100, 306783379, 286331154, | 98 536870912, 477218589, 429496730, 390451573, 357913942, 330382100, 306783379, 286331154, |
99 268435456, 252645136, 238609295, 226050911, 214748365, 204522253, 195225787, 186737709, | 99 268435456, 252645136, 238609295, 226050911, 214748365, 204522253, 195225787, 186737709, |
100 178956971, 171798692, 165191050, 159072863, 153391690, 148102321, 143165577, 138547333, | 100 178956971, 171798692, 165191050, 159072863, 153391690, 148102321, 143165577, 138547333, |
101 134217728, 130150525, 126322568, 122713352, 119304648, 116080198, 113025456, 110127367, | 101 134217728, 130150525, 126322568, 122713352, 119304648, 116080198, 113025456, 110127367, |