| Summary: | [intel] better gamma value setting on 945GM video overlay | ||
|---|---|---|---|
| Product: | xorg | Reporter: | Anton Khirnov <anton> |
| Component: | Driver/intel | Assignee: | Wang Zhenyu <zhenyu.z.wang> |
| Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
| Severity: | normal | ||
| Priority: | medium | CC: | nian.wu |
| Version: | unspecified | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Anton Khirnov
2008-03-06 12:19:14 UTC
overlay has several XV_GAMMA attributes for change. That should be your need. I know about them, but there are just too many settings and there's no docs about them so I don't know what values should I use. yeah, sorry for that. We just expose the hardware attributes directly in software without explain, which is bad and better to be fixed obvious for normal gamma change. Docs on those 6 GAMMA points are intel specs, you can find them at http://www.x.org/docs/intel/. You may look for OGAMC definition in Display Register chapter. So they're 6 break points in color space for gamma correction, end-to-end is fixed at 0 and 255. 6 points apply to values at 8,16,32,64,128,192. Each register is 32bit for 8bit each RGB or VYU. You may see from i830_video.c that we just set linear values by default. Change topic a little. I just pushed a fix which would improve the default colorspace conversion factors for overlay, particularly around black. You may want to retest. We're still a little bit wrong, but it may be impossible to be right pre-965 overlay (textured should of course be correct) Wow, I'm impressed. As far as I can see, it's indistinguishable from textured video now, so this bug can probably be closed. Thanks for fixing it. Thanks to verify. Close this. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.