Mercurial > mplayer.hg
diff vidix/s3_regs.h @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | b5a46071062a |
children | b11dc6175323 |
line wrap: on
line diff
--- a/vidix/s3_regs.h Tue May 12 19:25:35 2009 +0000 +++ b/vidix/s3_regs.h Wed May 13 02:58:57 2009 +0000 @@ -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 @@ #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 @@ #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)