summaryrefslogtreecommitdiff
path: root/tests/tiny_psnr.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-26 14:26:23 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-29 18:08:46 +0200
commit03acaa4a43432d76d048986076f3aa725b64ab3d (patch)
tree747d1da68856df2b5f229050080c7689b8042688 /tests/tiny_psnr.c
parent045dd4b9287551443e655b313417fd776f52aab0 (diff)
tests: Remove disabled code.
Diffstat (limited to 'tests/tiny_psnr.c')
-rw-r--r--tests/tiny_psnr.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c
index efa5e01a99..2bdb4391cf 100644
--- a/tests/tiny_psnr.c
+++ b/tests/tiny_psnr.c
@@ -52,21 +52,6 @@ uint64_t exp16_table[21]={
582360139072LL,
};
-#if 0
-// 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;
-}
-#endif
-
// 16.16 fixpoint log()
static int64_t log16(uint64_t a){
int i;