]> git.sesse.net Git - vlc/commit
Added YUV(planar)->RGB conversion support to opengl using a fragment program.
authorLaurent Aimar <fenrir@videolan.org>
Thu, 26 May 2011 20:47:44 +0000 (22:47 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 29 May 2011 09:09:43 +0000 (11:09 +0200)
commite262dbe2f54e56dc1c8f05fff861341fbbeb5123
treed2ffa94281f9b2e1a643ede8cc581254691132af
parent587d897111c53623c6b9f9e5051b921eb4c9305a
Added YUV(planar)->RGB conversion support to opengl using a fragment program.

All planar YUV are supported (only YV12, I420, I422, I444 were tested).

For now, the YUV is supposed to follow BT-709 when video height is higher
than 576, and BT-601 otherwise. The YUV range is supposed to be TV, and
the RGB one is supposed to be full range.

In the current state, the behaviour is unchanged on macosx (ie YUY2
is used instead), and when opengl ES is requested (RGB 16 bits).
modules/video_output/opengl.c