summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-14 16:16:33 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-17 10:24:59 -0400
commitadf0912006b4f1597784dbfcc563d5c6d1c5667d (patch)
tree2c8e6e5518680c3861ba51e877c131ab1a74dd34 /src/radeon_video.c
parent8810fe92b5aed08888584c6914482586b59f71ab (diff)
R6xx/R7xx: implement Xv attributes
- brightness, contrast, hue, etc. - TODO: implement gamma
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r--src/radeon_video.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 84791608..a14f44c9 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -1704,12 +1704,6 @@ RADEONSetPortAttribute(ScrnInfoPtr pScrn,
RADEON_SYNC(info, pScrn);
-#define RTFSaturation(a) (1.0 + ((a)*1.0)/1000.0)
-#define RTFBrightness(a) (((a)*1.0)/2000.0)
-#define RTFIntensity(a) (((a)*1.0)/2000.0)
-#define RTFContrast(a) (1.0 + ((a)*1.0)/1000.0)
-#define RTFHue(a) (((a)*3.1416)/1000.0)
-
if(attribute == xvAutopaintColorkey)
{
pPriv->autopaint_colorkey = ClipValue (value, 0, 1);