[Mplayer-cvslog] CVS: main/vidix/drivers mach64_vid.c,1.6,1.7

Michael Niedermayer michael at mplayer.dev.hu
Tue Feb 19 21:55:09 CET 2002


Update of /cvsroot/mplayer/main/vidix/drivers
In directory mplayer:/var/tmp.root/cvs-serv25244/vidix/drivers

Modified Files:
	mach64_vid.c 
Log Message:
meaning of some bits figured out 


Index: mach64_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/mach64_vid.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mach64_vid.c	19 Feb 2002 18:04:06 -0000	1.6
+++ mach64_vid.c	19 Feb 2002 20:54:58 -0000	1.7
@@ -519,11 +519,22 @@
     OUTREG(SCALER_BUF1_OFFSET_U,		besr.vid_buf4_base_adrs);
     OUTREG(SCALER_BUF1_OFFSET_V,		besr.vid_buf5_base_adrs);
     OUTREG(OVERLAY_SCALE_CNTL, 0xC4000003);
+// OVERLAY_SCALE_CNTL bits & what they seem to affect
+// bit 0 no effect
+// bit 1 yuv2rgb coeff related
+// bit 2 horizontal interpolation if 0
+// bit 3 vertical interpolation if 0
+// bit 4 chroma related
+// bit 5-6 gamma correction
+// bit 7 nothing visible if set
+// bit 8-27 no effect
+// bit 28-31 nothing interresting just crashed my system when i played with them  :(
+    
     mach64_wait_for_idle();
     vf = INREG(VIDEO_FORMAT);
 
 // Bits 16-19 seem to select the format
-// Bit 28 seems to toggle the chroma encoding
+// Bit 28 seems to toggle something affects luma & chroma
 // the remaining bits seem to have no effect
 
     switch(besr.fourcc)




More information about the MPlayer-cvslog mailing list