changeset 6678:c7cfaa38cafb

switch off nearest scaling ...
author pontscho
date Tue, 09 Jul 2002 10:14:55 +0000
parents 0b3d4b298056
children 5c4beb993674
files drivers/radeon/radeon_vid.c vidix/drivers/radeon_vid.c
diffstat 2 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/radeon/radeon_vid.c	Tue Jul 09 08:26:34 2002 +0000
+++ b/drivers/radeon/radeon_vid.c	Tue Jul 09 10:14:55 2002 +0000
@@ -763,11 +763,13 @@
     OUTREG(OV0_P23_H_ACCUM_INIT,	besr.p23_h_accum_init);
     OUTREG(OV0_P23_V_ACCUM_INIT,	besr.p23_v_accum_init);
 
+#ifdef RADEON
+    bes_flags = SCALER_ENABLE |
+                SCALER_SMART_SWITCH;
+//		SCALER_HORZ_PICK_NEAREST;
+#else
     bes_flags = SCALER_ENABLE |
                 SCALER_SMART_SWITCH |
-#ifdef RADEON
-		SCALER_HORZ_PICK_NEAREST;
-#else
 		SCALER_Y2R_TEMP |
 		SCALER_PIX_EXPAND;
 #endif
--- a/vidix/drivers/radeon_vid.c	Tue Jul 09 08:26:34 2002 +0000
+++ b/vidix/drivers/radeon_vid.c	Tue Jul 09 10:14:55 2002 +0000
@@ -1073,12 +1073,14 @@
     OUTREG(OV0_P23_H_ACCUM_INIT,	besr.p23_h_accum_init);
     OUTREG(OV0_P23_V_ACCUM_INIT,	besr.p23_v_accum_init);
 
+#ifdef RADEON
+    bes_flags = SCALER_ENABLE |
+                SCALER_SMART_SWITCH;
+//		SCALER_HORZ_PICK_NEAREST |
+//		SCALER_VERT_PICK_NEAREST |
+#endif
     bes_flags = SCALER_ENABLE |
                 SCALER_SMART_SWITCH |
-#ifdef RADEON
-		SCALER_HORZ_PICK_NEAREST |
-//		SCALER_VERT_PICK_NEAREST |
-#endif
 		SCALER_Y2R_TEMP |
 		SCALER_PIX_EXPAND;
     if(besr.double_buff) bes_flags |= SCALER_DOUBLE_BUFFER;