From 14c13faeb9f9b7717a25fcc1ca97d46cc6ee0031 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 15 Apr 2009 19:53:12 -0400 Subject: R5xx: add shader-based csc - native planar support - Xv attributes --- src/radeon_textured_video.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/radeon_textured_video.c') 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} }; -- cgit v1.2.3