[FFmpeg-cvslog] tests: Remove disabled code.
Diego Biurrun
git at videolan.org
Sat Apr 30 02:02:20 CEST 2011
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Apr 26 14:26:23 2011 +0200| [03acaa4a43432d76d048986076f3aa725b64ab3d] | committer: Diego Biurrun
tests: Remove disabled code.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=03acaa4a43432d76d048986076f3aa725b64ab3d
---
tests/rotozoom.c | 8 --------
tests/tiny_psnr.c | 15 ---------------
2 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index 25f0e02..505072c 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<w ; i++ ) {
x += c;
y -= s;
-#if 1
put_pixel(i, j, ipol(tab_r, x, y), ipol(tab_g, x, y), ipol(tab_b, x, y));
-#else
- {
- unsigned dep;
- dep = ((x>>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 efa5e01..2bdb439 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;
More information about the ffmpeg-cvslog
mailing list