diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /vidix/s3_regs.h | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'vidix/s3_regs.h')
-rw-r--r-- | vidix/s3_regs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vidix/s3_regs.h b/vidix/s3_regs.h index 4fd0e427cf..c696fae187 100644 --- a/vidix/s3_regs.h +++ b/vidix/s3_regs.h @@ -30,8 +30,8 @@ #define S3_SAVAGE_MOBILE_SERIES(chip) ((chip==S3_SAVAGE_MX) || (chip==S3_SUPERSAVAGE)) #define S3_SAVAGE_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE2000)) -/* - * Chip tags. These are used to group the adapters into +/* + * Chip tags. These are used to group the adapters into * related families. */ enum S3CHIPTAGS { @@ -54,7 +54,7 @@ enum S3CHIPTAGS { #define S3_NEWMMIO_REGSIZE 0x0010000 /* 64KB */ #define S3_NEWMMIO_REGSIZE_SAVAGE 0x0080000 /* 512KB */ -#define BASE_FREQ 14.31818 +#define BASE_FREQ 14.31818 /* * There are two different streams engines used in the S3 line. @@ -167,7 +167,7 @@ do { \ #define HSCALING_Shift 0 #define HSCALING_Mask (((1L << 16)-1) << HSCALING_Shift) #define HSCALING(w0,w1) ((((unsigned int)(((double)w0/(double)w1) * (1 << 15))) << HSCALING_Shift) & HSCALING_Mask) - + #define VSCALING_Shift 0 #define VSCALING_Mask (((1L << 20)-1) << VSCALING_Shift) #define VSCALING(h0,h1) ((((unsigned int) (((double)h0/(double)h1) * (1 << 15))) << VSCALING_Shift) & VSCALING_Mask) |