summaryrefslogtreecommitdiffstats
path: root/vidix/mach64_vid.c
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 15:18:48 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 15:18:48 +0000
commit232f7407ee7674db6d56ee1c6456f0aa7adf6629 (patch)
tree96371f031b3b9a8864f622dd62e7f6675be2508d /vidix/mach64_vid.c
parent2437bc0ca39daea9847548f4e5681f6a83921182 (diff)
downloadmpv-232f7407ee7674db6d56ee1c6456f0aa7adf6629.tar.bz2
mpv-232f7407ee7674db6d56ee1c6456f0aa7adf6629.tar.xz
removed useless code from vidix drivers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23066 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/mach64_vid.c')
-rw-r--r--vidix/mach64_vid.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/vidix/mach64_vid.c b/vidix/mach64_vid.c
index cb99a4cc62..a275fc9e57 100644
--- a/vidix/mach64_vid.c
+++ b/vidix/mach64_vid.c
@@ -770,14 +770,7 @@ static int mach64_vid_init_video( vidix_playback_t *config )
dest_h = config->dest.h;
besr.fourcc = config->fourcc;
ecp = (INPLL(PLL_VCLK_CNTL) & PLL_ECP_DIV) >> 4;
-#if 0
-{
-int i;
-for(i=0; i<32; i++){
- printf("%X ", INPLL(i));
-}
-}
-#endif
+
if(__verbose>0) printf("[mach64] ecp: %d\n", ecp);
v_inc = src_h * mach64_get_vert_stretch();
@@ -950,13 +943,6 @@ static int mach64_frame_sel(unsigned int frame)
off[i+3]= mach64_buffer_base[last_frame][i];
}
-#if 0 // delay routine so the individual frames can be ssen better
-{
-volatile int i=0;
-for(i=0; i<10000000; i++);
-}
-#endif
-
mach64_wait_for_idle();
mach64_fifo_wait(7);