[MPlayer-dev-eng] [PATCH] VDPAU: add BT.709 support

Lauri Mylläri lauri.myllari at gmail.com
Mon Oct 5 18:03:14 CEST 2009


Hello!

The attached patch adds support for BT.709 color space to vo_vdpau. My
understanding is that BT.709 should be used for all HD content (unless
otherwise flagged). At the moment BT.601 is always assumed, resulting
in slightly distorted colors for HD. (Please see
http://members.cox.net/trbarry/BT709ToBT601.2.jpg for an example.)

This patch keeps the current behaviour, but allows the user to select
BT.709 manually or let it be decided based on the content resolution.
The heuristic is maybe too simple but gives better results for me than
always using BT.601.

Any assistance in improving this would be welcome.

--lauri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-vo_vdpau-rec709.patch
Type: text/x-patch
Size: 4467 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091005/9db57bb1/attachment.bin>


More information about the MPlayer-dev-eng mailing list