Commit f1505ce3 authored by Michael Niedermayer's avatar Michael Niedermayer

explain where the T table comes from

Originally committed as revision 8406 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 33a0dd37
...@@ -49,7 +49,7 @@ static const uint8_t S[4][4] = { ...@@ -49,7 +49,7 @@ static const uint8_t S[4][4] = {
{ 6, 10, 15, 21 } /* Round 4 */ { 6, 10, 15, 21 } /* Round 4 */
}; };
static const uint32_t T[64] = { static const uint32_t T[64] = { // T[i]= fabs(sin(i+1)<<32)
0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, /* Round 1 */ 0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, /* Round 1 */
0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501, 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501,
0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be, 0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment