[Bug 23144] Add RGB formats to textured video.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 3 07:49:11 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=23144
--- Comment #6 from Da Fox <da_fox at mad.scientist.com> 2011-01-03 07:49:12 PST ---
My two patches add support for RGB video output with the textured-video Xv
output driver. Patch 1 (should) add the basic support similar to (and based
upon) the patches of Kusanagi, but for r3xx. Patch 2 extends the support with
hue/contrast/brightness/saturation/gamma correction support. Attachment 3 is
not a patch but a small tool I wrote to test various output formats. It's not
the greatest software ever but it works. Patches developed & tested on
Mobility Radeon 9600 M10 (RV350).
The following formats are supported:
FOURCC_RGBA32, e.g. A8R8G8B8
FOURCC_RGB16, e.g. R5G6B5
FOURCC_RGBT16, e.g. A1R5G5B5
FOURCC_RGB15, e.g. R5G5B5
FOURCC_BGR15, e.g. B5G5R5
FOURCC_BGR15 is especially useful since it appears to be the native pixel
format for Playstation 1, and possibly other (old?) game consoles. This means
that emulators can output directly without having to perform a costly
conversion step in software. I have some proof-of-concept code for Pcsx working
on my laptop.
FOURCC_RGB24 is notably missing because I could not find a way to output it in
hardware directly (I think there were some comments on IRC stating that it is
in fact not possible). Therefor I think it is best to leave the conversion to
the application instead.
Finally I noticed that there appears to be a bug with rgb32 output when using
certain image widths (I'll try to find an example later). I have not yet been
able to find what causes this. Any help would be appreciated.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the xorg-driver-ati
mailing list