summaryrefslogtreecommitdiffstats
path: root/vidix/drivers/mach64_vid.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-19 20:54:58 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-19 20:54:58 +0000
commit35a54e6204595f131f873f97fc8d31bfde2bb153 (patch)
treee21dd296acaf83d3abc6b77ed82989f982abc76c /vidix/drivers/mach64_vid.c
parent330060623385e7ca09c28db959747785df4eed1f (diff)
downloadmpv-35a54e6204595f131f873f97fc8d31bfde2bb153.tar.bz2
mpv-35a54e6204595f131f873f97fc8d31bfde2bb153.tar.xz
meaning of some bits figured out
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4761 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/drivers/mach64_vid.c')
-rw-r--r--vidix/drivers/mach64_vid.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/vidix/drivers/mach64_vid.c b/vidix/drivers/mach64_vid.c
index b2eb615086..3c3d652082 100644
--- a/vidix/drivers/mach64_vid.c
+++ b/vidix/drivers/mach64_vid.c
@@ -519,11 +519,22 @@ static void mach64_vid_display_video( void )
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)