diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-04-14 16:16:33 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-04-17 10:24:59 -0400 |
commit | adf0912006b4f1597784dbfcc563d5c6d1c5667d (patch) | |
tree | 2c8e6e5518680c3861ba51e877c131ab1a74dd34 /src/radeon_video.h | |
parent | 8810fe92b5aed08888584c6914482586b59f71ab (diff) |
R6xx/R7xx: implement Xv attributes
- brightness, contrast, hue, etc.
- TODO: implement gamma
Diffstat (limited to 'src/radeon_video.h')
-rw-r--r-- | src/radeon_video.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_video.h b/src/radeon_video.h index be338715..0f8342a3 100644 --- a/src/radeon_video.h +++ b/src/radeon_video.h @@ -135,6 +135,12 @@ typedef struct tagREF_TRANSFORM float RefBCr; } REF_TRANSFORM; +#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) + xf86CrtcPtr radeon_xv_pick_best_crtc(ScrnInfoPtr pScrn, int x1, int x2, int y1, int y2); |