diff --git a/tests/rotozoom.c b/tests/rotozoom.c index 25f0e024a4..505072c4f9 100644 --- a/tests/rotozoom.c +++ b/tests/rotozoom.c @@ -222,15 +222,7 @@ static void gen_image(int num, int w, int h) for ( i=0 ; i>16)&255) + (((y>>16)&255)<<8); - put_pixel(i, j, tab_r[dep], tab_g[dep], tab_b[dep]); - } -#endif } } } 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<>16; - } - - return out; -} -#endif - // 16.16 fixpoint log() static int64_t log16(uint64_t a){ int i;