On 25.10.2011 20:57, Maarten Lankhorst wrote:
On 10/25/2011 08:00 PM, Younes Manton wrote:
On Tue, Oct 25, 2011 at 1:35 PM, Maarten Lankhorst
<m.b.lankho...@gmail.com>  wrote:
....
Is there a reason not to use/add to the code in vl_csc.c in this case?
It supports 601 and 709, wider gamut, and and it takes procamp into
account. It calculates a 4x4 matrix, but you can just drop the 4th row
for VDPAU.
Good suggestion, the main reason is that I was not aware of its existence. 
Oops. :)
If you need an example about how to use it you could take a look at src/gallium/state_trackers/xorg/xvmc/attributes.c. But I'm still not 100% sure if the implementation there is correct.

Christian.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to