diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-05-27 17:36:02 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-05-27 17:36:02 +0400 |
commit | dd4ca8914344cb14ef6529a2637e156726f8847d (patch) | |
tree | e4c42861fc634b19a4bcfa17dc1458a7827b28db /tests/tiny_psnr.c | |
parent | 197b07f360cc692fcfd36007af9a3190c9928b96 (diff) |
Fix seek_test compilation for out-of-tree builds.
Originally committed as revision 9135 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/tiny_psnr.c')
-rw-r--r-- | tests/tiny_psnr.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c index 91225f2b3e..af37803b6c 100644 --- a/tests/tiny_psnr.c +++ b/tests/tiny_psnr.c @@ -49,19 +49,7 @@ uint64_t exp16_table[21]={ 195360063, 582360139072LL, }; -#if 1 -// 16.16 fixpoint exp() -static unsigned int exp16(unsigned int a){ - int i; - int out= 1<<16; - - for(i=19;i>=0;i--){ - if(a&(1<<i)) - out= (out*exp16_table[i] + (1<<15))>>16; - } - return out; -} // 16.16 fixpoint log() static int64_t log16(uint64_t a){ int i; @@ -80,7 +68,6 @@ static int64_t log16(uint64_t a){ return out; } -#endif static uint64_t int_sqrt(uint64_t a) { uint64_t ret=0; |