diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-04-15 19:53:12 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-04-17 10:25:00 -0400 |
commit | 14c13faeb9f9b7717a25fcc1ca97d46cc6ee0031 (patch) | |
tree | 4ba12fd31d7061c55519aae3014172efa7cd8761 /src/radeon_textured_video.c | |
parent | 832efc7b90f5eb2da99512fcb902ab4838d2dcd1 (diff) |
R5xx: add shader-based csc
- native planar support
- Xv attributes
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r-- | src/radeon_textured_video.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index 3626e8d7..532b6004 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -368,7 +368,7 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, } pPriv->planar_hw = pPriv->planar_state; - if (pPriv->bicubic_enabled || (IS_R600_3D || IS_R500_3D)) + if (pPriv->bicubic_enabled || IS_R600_3D) pPriv->planar_hw = 0; if (info->ChipFamily < CHIP_FAMILY_R300) @@ -697,12 +697,18 @@ static XF86AttributeRec Attributes_r300[NUM_ATTRIBUTES_R300+1] = {0, 0, 0, NULL} }; -#define NUM_ATTRIBUTES_R500 2 +#define NUM_ATTRIBUTES_R500 8 static XF86AttributeRec Attributes_r500[NUM_ATTRIBUTES_R500+1] = { {XvSettable | XvGettable, 0, 2, "XV_BICUBIC"}, {XvSettable | XvGettable, 0, 1, "XV_VSYNC"}, + {XvSettable | XvGettable, 0, 1, "XV_HWPLANAR"}, + {XvSettable | XvGettable, -1000, 1000, "XV_BRIGHTNESS"}, + {XvSettable | XvGettable, -1000, 1000, "XV_CONTRAST"}, + {XvSettable | XvGettable, -1000, 1000, "XV_SATURATION"}, + {XvSettable | XvGettable, -1000, 1000, "XV_HUE"}, + {XvSettable | XvGettable, 0, 1, "XV_COLORSPACE"}, {0, 0, 0, NULL} }; |